Re: Amsmath problem

Liste des GroupesRevenir à ct tex 
Sujet : Re: Amsmath problem
De : news (at) *nospam* marckus-kraft.de (Marckus)
Groupes : comp.text.tex
Date : 23. Jun 2024, 17:29:40
Autres entêtes
Message-ID : <ldr0rlF71g4U1@mid.individual.net>
References : 1
User-Agent : Mozilla Thunderbird
Hi!
If I compile your example I get the same error message too.
 > Bla bla $\mathrm{AuCl_4^−}$ and $\mathrm{TOA^+}$
Whilst disassembling your lines, I get an error code for the -:
Unicode character − (U+2212) not set up for use with LaTeX.
Does this help you?
Cheers
Marckus
Am 23.06.2024 um 16:49 schrieb db:
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?
 

Date Sujet#  Auteur
23 Jun 24 * Amsmath problem4db
23 Jun 24 +- Re: Amsmath problem1Marckus
23 Jun 24 +- Re: Amsmath problem1Denis Bitouzé
25 Jun 24 `- Re: Amsmath problem1Mauro Orlandini

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal