# Tag Info

12

Pershaps, the chemfig package may help you though it relies on tikz? Here is the first reaction: \documentclass{minimal} \usepackage{chemfig} \begin{document} text before \schemestart \setlewis{4pt}{}{red}\Lewis{0:,\chemfig{@{a}\textcolor{red}{A}}}\hskip4pt\chemfig{@{b}\textcolor{black!40!green}{B}}% \arrow \Lewis{0.,A}% \+\Lewis{4.,B}% ...

11

Yes chemifg is a great tool. But as well as almost every code to picture system the syntax is not trival. Please consider the following example. You can easily see, that chemfig syntax follows a logical and human readable syntax, but will become extremely complex for larger structures. And so far as i can see chemfig is the easiest system for chemical ...

9

Perhaps you are trying to place a box around the last equation. One way to do that is to use Aboxed from the mathtools package: \documentclass{article} \usepackage{mathtools} \usepackage{mhchem} \begin{document} \begin{align*} \ce{K_w} &= \ce{[H3O+][OH^-]} \\ -\log \ce{K_w} &= -\log ( \ce{[H3O+][OH^-]} ) \\ -\log \ce{K_w} &= - ( ...

9

can also be put into a macro if it is used multiple times with different elements. \documentclass{article} \usepackage{pst-node} \usepackage[version=3]{mhchem} \usepackage{chemexec} \begin{document} \huge \ce{\rnode{left1}{2\ox{0}{Na}} + \rnode{left2}{\ox{0}{Cl}_2} -> \rnode{right1}{2\ox{+1}{Na}^+} + \rnode{right2}{2\ox{-1}{Cl}^-}} ...

9

The problem is that bookmarks can't handle things like math, colors, or font changes. You can use \texorpdfstring; the first argument will be used in the document and the second one will be used in the bookmarks: \documentclass{article} \usepackage{mhchem} \usepackage{hyperref} \begin{document} \section{\texorpdfstring{\ce{IrO2}}{Ir02}} \end{document}

8


8

The textcase package provides a version of uppercase that is more careful about these things \documentclass{minimal} \usepackage[paperwidth=70mm, paperheight=20mm, left=10pt, top=20pt]{geometry}% \usepackage{textcase} \usepackage[version=3]{mhchem} \begin{document} \MakeTextUppercase{Preparation of \NoCaseChange{\ce{Mn3Ga}}.} \end{document}

8

Techically, ( and ) are not letters, so they won't participate to hyphenation. You can make them acceptable with the following trick, which should have no adverse effect with normal input: \lccode$$=\( \lccode$$=\) \hyphenation{poly(ethylene-glycol)} A different strategy could be to define a macro: \newcommand{\Q}[1]{(\nobreak\hspace{0pt}#1)} ...

7

The short answer is 'no' at the present time. Products such as ISISDraw/Accelrys Draw or ChemDraw produce binary files, which cannot be read directly by TeX. So any conversion would either require a separate tool or reading a text file format, such as ChemDraw's XML format. By far the most popular file format for journal submission is ChemDraw's .cdx ...

7

The argument of mhchem's \ce already is a "hidden math mode". \ce{\bfseries B} will give ! LaTeX Error: Command \bfseries invalid in math mode. Try \ensuremath instead: \documentclass[12pt,letterpaper]{article} \usepackage{amssymb,mathtools} \usepackage[version=3]{mhchem} \newcommand{\tphoton}{\ensuremath{\gamma}} \begin{document} \ce{\tphoton} ...

7


Only top voted, non community-wiki answers of a minimum length are eligible