November 28, 2024, 01:53:22 PM
Forum Rules: Read This Before Posting


Topic: Using LaTeX in the forum  (Read 21692 times)

0 Members and 1 Guest are viewing this topic.

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Using LaTeX in the forum
« on: January 20, 2008, 07: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

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5298
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Using LaTeX in the forum
« Reply #1 on: January 20, 2008, 07: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.
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Using LaTeX in the forum
« Reply #2 on: January 20, 2008, 07:42:21 PM »
I assume not many people search for formulas or reaction equations, nevertheless it's a disadvantage of LaTeX.

Offline Arkcon

  • Retired Staff
  • Sr. Member
  • *
  • Posts: 7367
  • Mole Snacks: +533/-147
Re: Using LaTeX in the forum
« Reply #3 on: January 20, 2008, 09: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.
Hey, I'm not judging.  I just like to shoot straight.  I'm a man of science.

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5298
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Using LaTeX in the forum
« Reply #4 on: January 20, 2008, 11: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 06, 2008, 03:42:39 AM by Mitch »
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Arkcon

  • Retired Staff
  • Sr. Member
  • *
  • Posts: 7367
  • Mole Snacks: +533/-147
Re: Using LaTeX in the forum
« Reply #5 on: January 21, 2008, 07: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.
Hey, I'm not judging.  I just like to shoot straight.  I'm a man of science.

Sponsored Links