Deutsch   English   Français   Italiano  
<v59cld$crhi$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: db <dieterhansbritz@gmail.com>
Newsgroups: comp.text.tex
Subject: Amsmath problem
Date: Sun, 23 Jun 2024 14:49:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <v59cld$crhi$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Jun 2024 16:49:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0e9439e6ef4bb4d98b621c64b593641a";
	logging-data="421426"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+o3q08wTy6JR6qqxo2rwCh3gC2I4zcTc0="
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:84XBM+1mwaJQN3ZPx7mNqXALk4c=
Bytes: 1782

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?

-- 
db