Re: formula mhchem nel comando section

#98912
Up
0
Down
::


Ecco un esempio con il mio preambolo che non compila
Grazie ancora per l’aiuto

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode

\documentclass[12pt, a4paper,twoside,pdfa]{toptesi}\errorcontextlines=9
\usepackage{topfront,graphicx}
\usepackage{fontspec}
\usepackage{libertine}
\usepackage{polyglossia}
\usepackage{pict2e}
\usepackage{booktabs,caption,multirow}
\usepackage{amsmath,amssymb}
\usepackage{siunitx}
\usepackage{caption}
\captionsetup{tableposition=top,figureposition=bottom,font=small,format=hang, labelfont={bf}}
\setmainlanguage{italian}% o altra lingua
\setotherlanguage[variant=ancient]{greek}
\newfontfamily{\greekfont}{GFS Didot}
\usepackage{comment}
\usepackage{microtype}
\usepackage{setspace}
\usepackage{hyperref}
\usepackage{chemfig}
\usepackage[version=3]{mhchem}

\begin{document}
questa è la formula dell’acqua: \ce {H2O}
\section {Procedura per la preparazione di \ce {H2O}}
questa è la procedura

\end{document}

Go to top