Bla bla $\mathrm{AuCl_4^−}$ and $\mathrm{TOA^+}$
I wrote this mini-example:
\documentclass[12pt,fleqn,A4,danish]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[text={14cm,20cm},centering]{geometry}
\begin{document}
\title{Amsmath problem}
\author{}
\date{}
\maketitle
Bla bla $\mathrm{AuCl_4^−}$ and $\mathrm{TOA^+}$
\end{document}
and get this result:
...
! Missing { inserted.
<to be read again>
\begingroup
l.10 bla bla $\mathrm{AuCl_4^−}
$ and $\mathrm{TOA^+}$
?
On a suggestion of a friend I tried ${\mathrm{AuCl_4^−}}$
with the same result. I also tried his suggestion
to use mhchem, i.e.
\ce{[AuCl4]^-}
and this didn't work either (yes, I did add
\usepackage{mhchem} )
This is supposed to work, and does on my
friend's machine. Could this be a defective
texlive, or am I really doing something
wrong?
I wrote this mini-example:
\documentclass[12pt,fleqn,A4,danish]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[text={14cm,20cm},centering]{geometry}
\begin{document}
\title{Amsmath problem}
\author{}
\date{}
\maketitle
Bla bla $\mathrm{AuCl_4^−}$ and $\mathrm{TOA^+}$
\end{document}
\maketitle Bla bla $\mathrm{AuCl_4^−}$ and $\mathrm{TOA^+}$
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 482 |
Nodes: | 16 (2 / 14) |
Uptime: | 45:20:35 |
Calls: | 9,566 |
Files: | 13,656 |
Messages: | 6,142,098 |