Chemical Forums

Please login or register.

Login with username, password and session length

Sponsored links

Pages: [1]   Go Down

Author Topic: Using LaTeX in the forum  (Read 16652 times)

0 Members and 1 Guest are viewing this topic.

Kryolith

  • Full Member
  • ****
  • Mole Snacks: +19/-4
  • Offline Offline
  • Gender: Male
  • Posts: 270
Using LaTeX in the forum
« on: January 20, 2008, 01:28:32 PM »

Hi,

unfortunately most users don't even use the sub and sup tags to format their chemical formulas. In my humble opinion this should be a form of netiquette in a scientific forum. However there are users, who do use these functions.

Though it is not (yet) possible to implement mathematical formulas, equilibrium arrows, greek symbols etc. directly, one can use mimeTeX (derived from LaTeX) on an external server.

You have to implement the following code:
Code: [Select]
[img]http://www.forkosh.dreamhost.com/mimetex.cgi?...[/img]"..." is a place holder for the LaTeX code that will be displayed.

Example: Boudouard equilibrium
Code: [Select]
[img]http://www.forkosh.dreamhost.com/mimetex.cgi?{CO_2 + C \ \rightleftharpoons \ 2 \ CO \ \quad \Delta H = +172 \ \frac{kJ}{mol}}[/img]renders


Here is a tutorial: http://www.forkosh.com/mimetextutorial.html
More tutorials can be found at http://www.tug.org/begin.html#doc

Happy "TeXing"  :)

Kryolith
Logged

Mitch

  • In Vivo Chemist
  • Administrator
  • Sr. Member
  • *
  • Mole Snacks: +354/-81
  • Offline Offline
  • Gender: Male
  • Posts: 5037
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Using LaTeX in the forum
« Reply #1 on: January 20, 2008, 01:38:44 PM »

That is a nice shortcut way to do LaTex on the forum, thanks. We've tried integrating Latex before, but something wasn't syncing right. Also, Google can't read Latex correctly, so we take an SEO hit from using it.

But, whatever anyone likes is fine by me.
Logged
Most Common Suggestions I Make on the Forums.
1. Always start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Kryolith

  • Full Member
  • ****
  • Mole Snacks: +19/-4
  • Offline Offline
  • Gender: Male
  • Posts: 270
Re: Using LaTeX in the forum
« Reply #2 on: January 20, 2008, 01:42:21 PM »

I assume not many people search for formulas or reaction equations, nevertheless it's a disadvantage of LaTeX.
Logged

Arkcon

  • Global Moderator
  • Sr. Member
  • ***
  • Mole Snacks: +353/-113
  • Offline Offline
  • Posts: 4993
Re: Using LaTeX in the forum
« Reply #3 on: January 20, 2008, 03:34:23 PM »

Here's a crazy thought, the forum software has a row of emoticons.   Maybe they could be replaced or augmented with double arrows, and other useful chemical symbols, so this forum picks up an even more serious chemistry tone.
Logged
That all depends on how reasonable we're all willing to be.  I just want my friends back, except for Cartman, you can keep him.

Mitch

  • In Vivo Chemist
  • Administrator
  • Sr. Member
  • *
  • Mole Snacks: +354/-81
  • Offline Offline
  • Gender: Male
  • Posts: 5037
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Using LaTeX in the forum
« Reply #4 on: January 20, 2008, 05:15:04 PM »

Here's a crazy thought, the forum software has a row of emoticons.   Maybe they could be replaced or augmented with double arrows, and other useful chemical symbols, so this forum picks up an even more serious chemistry tone.
That is a creative idea. What icons would everyone like?

$$ y = mx + b /$$
« Last Edit: September 05, 2008, 09:42:39 PM by Mitch »
Logged
Most Common Suggestions I Make on the Forums.
1. Always start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Arkcon

  • Global Moderator
  • Sr. Member
  • ***
  • Mole Snacks: +353/-113
  • Offline Offline
  • Posts: 4993
Re: Using LaTeX in the forum
« Reply #5 on: January 21, 2008, 01:59:07 AM »

Hmmm... well, for starters:

--->
<---

and maybe delta H, like in Kryolith's example above.  I'd also like:

->
<---

and it's inverse.  Of course, if I had a need to use dozens of them at once, I'd definitely use LaTeX.
Logged
That all depends on how reasonable we're all willing to be.  I just want my friends back, except for Cartman, you can keep him.
Pages: [1]   Go Up
 

Mitch Andre Garcia's Chemical Forums 2003-Present.

Page created in 0.074 seconds with 24 queries.