Sujet : Re: Amsmath problem
De : dbitouze (at) *nospam* wanadoo.fr (Denis Bitouzé)
Groupes : comp.text.texDate : 23. Jun 2024, 19:55:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87le2vmquc.fsf@example.com>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13)
Le 23/06/24 à 14h49, db a écrit :
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}
The following, relying on `chemformula`, works nicely with an up to
date TeX Live 2024:
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{chemformula}
\begin{document}
Bla bla \ch{AuCl4^−} and \ch{TOA^+}.
\end{document}
--8<---------------cut here---------------end--------------->8---
-- Denis