December 25, 2024, 09:41:05 PM
Forum Rules: Read This Before Posting


Topic: Why doesn't this forum support the mchem latex package?  (Read 5170 times)

0 Members and 1 Guest are viewing this topic.

Offline krackers

  • New Member
  • **
  • Posts: 5
  • Mole Snacks: +0/-0
Why doesn't this forum support the mchem latex package?
« on: July 24, 2014, 01:10:27 AM »
I'm not sure if I'm doing anything wrong but I don't see there is support for the mchem latex package. Using it would allow for much easier typsetting of chemical notations.

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5298
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Why doesn't this forum support the mchem latex package?
« Reply #1 on: July 25, 2014, 01:00:21 AM »
Not sure what technical challenges that may necessitate. We'll look into it.
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 Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Posts: 27886
  • Mole Snacks: +1816/-412
  • Gender: Male
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Why doesn't this forum support the mchem latex package?
« Reply #2 on: July 28, 2014, 02:09:53 PM »
I am not sure about mchem, but you can try mhchem, just add \require{mhchem}:

Code: [Select]
\require{mhchem}\ce{C6H5-CHO}\\
\ce{$A$ ->[\ce{+H2O}] $B$}\\
\ce{SO4^2- + Ba^2+ -> BaSO4 v}

yields

[tex]\require{mhchem}\ce{C6H5-CHO}\\
\ce{$A$ ->[\ce{+H2O}] $B$}\\
\ce{SO4^2- + Ba^2+ -> BaSO4 v}[/tex]

For some reason I can't make it work globally >:(, will try again later. Edit: OK, I am an idiot, I forgot to add a comma, should work now.

However, I prefer equations and formulae formatted just with standard UBBC tags - we already have plenty of these and it is never a good idea to mix different styles of entering the same kind of data in the database. For example it will make automatic tagging of posts (that we may want to implement one day) much more difficult if the formulae were entered sometimes with UBBC tags and sometimes with LaTeX.
« Last Edit: July 28, 2014, 02:21:25 PM by Borek »
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info

Sponsored Links