Mercedes Benzene Posted February 29, 2008 Report Posted February 29, 2008 When posting chemical equations, formulae, etc. the staff at Hypograhy suggest that you utilize our LaTeX chemistry package for your convenience, and for the consistency of the threads in the chemistry forum. Use the ce tag: [ce]C6H12O6[/ce] Anything between those two will be translated with TeX. The following examples of script will be rendered when in-between the tags: C6H12O6 renders as [ce]C6H12O6[/ce] CrO4^{-2} renders as [ce]CrO4^{-2}[/ce] ^{235}_{92}U renders as [ce]^{235}_{92}U[/ce] Reaction arrows: [ce]->[/ce], [ce]<-[/ce], [ce]<=>[/ce] can be rendered with ->, <-, and <=> respectively. These are the basics, but, the standard TeX commands may also be used within the [ce] tags. So please see our LaTeX thread here for more details: http://hypography.com/forums/physics-mathematics/12086-latex-update-read-before-posting.html?highlight=latex Also, as always, placing your curser over rendered LaTeX will reveal the original script. Feel free to use this thread for practice! Mercedes Benzene Quote
InfiniteNow Posted February 29, 2008 Report Posted February 29, 2008 Nice job, MB! For those who didn't catch the fact that MB put the end tags first in his example (since it would have rendered if he'd put them in the proper order), I have edited his quote to show exactly what he meant: The following examples of script will be rendered when in-between the tags: [ce]C6H12O6[/ce] renders as [ce]C6H12O6[/ce] [ce]CrO4^{-2}[/ce] renders as [ce]CrO4^{-2}[/ce] [ce]^{235}_{92}U[/ce] renders as [ce]^{235}_{92}U[/ce] To MB: You can do what I did, showing the tags exactly as they're supposed to appear, by surrounding the [ce] tags in [noparse] tags. :thumbs_up Quote
Mercedes Benzene Posted February 29, 2008 Author Report Posted February 29, 2008 Ahhh. Thank you very much Infinite. :rolleyes: Quote
GeneralMotors Posted April 4, 2008 Report Posted April 4, 2008 Is the latex package you use free? cause i might want to use that for my website :) I currently use of Math latex, but don't have a chemistry based one Quote
alexander Posted April 4, 2008 Report Posted April 4, 2008 it's a package for latex, you know how you define packages to use in a general latex file, well, the chem package is just one of those packages... you can probably find it, it's called mhchem i believe. Quote
gregdevid Posted March 17, 2009 Report Posted March 17, 2009 Hi All, Chemistry packages for using with the document typesetting system LaTeX. Includes packages for reactions, molecular formulae, R and S codes, chemistry journals, symmetry elements and even to draw chemical structures. Quote
alexander Posted March 17, 2009 Report Posted March 17, 2009 ok let me outline what the chemistry package here can do:lets see simple stuffamounts[ce]{1/2NO3}[/ce]isotopes[ce]{^{227}_{90}Th+}[/ce]symbols[ce]{KCr(SO4)2*2.6H20}[/ce][ce]{RNO2^{-.}}[/ce][ce]{$\mu\hyphen$Cl}[/ce]bonds[ce]{A$\sbond$B$\dbond$C$\tbond$D}[/ce](note i just found a problem with the version of the package we are running, there will be an update to it, working on setting it up later on today, i will post when i figure it all out) Quote
alexander Posted March 17, 2009 Report Posted March 17, 2009 Version 3 is now on... there are some changes with bond (it now accepts values) also check these out (chemistry people may find it sexy :) ) lets see cool arrows with super and subscripts[ce]CO2 + C ->[\alpha][\beta] 2CO[/ce] This is a shortcut for calling ce with reaction arrows:[ce]$A$ ->C[+H2O] $B$[/ce] v now makes a down arrow :)[ce]SO4^2- + Ba^2+ -> BaSO4 v[/ce] [ce]Zn^2+<=>[\ce{+ 2OH-}][\ce{+ 2H+}]$\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$<=>C[+2OH-][{+ 2H+}]$\underset{\text{Hydroxozikat}}{\cf{[Zn(OH)4]^2-}}$[/ce] [ce]Hg^2+ ->[\ce{I-}]$\underset{\mathrm{red}}{\ce{HgI2}}$->C[i-]$\underset{\mathrm{red}}{\ce{[Hg^{II}I4]^2-}}$[/ce] [ce]$x\,$ Na(NH4)HPO4 ->[\Delta] (NaPO3)_{x} + $x\,$ NH3^ + $x\,$ H2O[/ce] only restriction i found is inability to call math functions within sub or super scripts like this: (NaPO3)_{$x$} one line stuff is mostly working... now i need to figure out alignment ;) Quote
alexander Posted March 17, 2009 Report Posted March 17, 2009 oh and something to do with the dvi converter, it does not properly convert dashed lines in chem for some reasons, so things like \bond{~=} do not look quite right [ce]A\bond{~=}B[/ce] Quote
Mercedes Benzene Posted March 19, 2009 Author Report Posted March 19, 2009 Those are some VERY sexy changes indeed Alexander. I can't wait to start using them! A Note On: Delicious chemical updates.MB Quote
tekayo Posted December 2, 2009 Report Posted December 2, 2009 really usefull for me, thanks a lot. Quote
bestwork1989 Posted October 16, 2020 Report Posted October 16, 2020 On 4/5/2008 at 2:29 AM, alexander said: it's a package for latex, you know how you define packages to use in a general latex file, well, the chem package is just one of those packages... you can probably find it, it's called mhchem i believe. hi you are talking about package for latex. i think you can get all the details on google. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.