Code: Select all
\documentclass{article}
\usepackage[version=3]{mhchem}
\begin{document}
\ce{^{$k$}_{$l$}S}
\end{document}
Code: Select all
\documentclass{article}
\usepackage[version=3]{mhchem}
\begin{document}
\ce{^{$k$}_{$l$}S}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
The error message is (like all error messages) written to the log file. You can open it in an editor and have a look.complexbuttons wrote:I cannot troubleshoot why\ch
doesn't work, because the error message is too long to fit in the notification window, and it has no scrollbar. The preamble has\usepackage{chemmacros}
.
1+1
from working. Now the 1+1
and even \prescript
do work. I managed to get the big character as non-italics! Thank you very much!Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis