File: test-chemformula.tex

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (27 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\documentclass{article}
\usepackage{chemformula}

\begin{document}

\ch{M -> M^{n+} + ne^{-}}
\ch{A + B ->[a] C}

\ch[options]{input}
\ch[decimal-marker={,}]{3.5}
\ch[frac-style=xfrac]{3/2}

\ch{ "escaped text" }
\ch{ 'escaped text' }
\ch{"\ldots\," Na + "\ldots\," Cl2 -> "\ldots\," NaCl}

\ch{ $escaped math$ }
\ch{ \(escaped math\) }
\ch{$2n$ Na + $n$ Cl2 -> $2n$ NaCl}

\begin{equation}
  \ch{M -> M^{n+} + ne^{-}}
\end{equation}

\footnote{For these citations, see Stephen's quotation.}

\end{document}