Electrochemical cells should be typeset
- According to the "Green Book" from IUPAC with vertical bars, dashed vertical bars and double dashed vertical bars. (first picture)
- According to Atkins, Physical Chemistry with vertical bar, three vertical dots and double vertical bar. (second picture)
How do i properly typeset those symbols? The single bar I can directly input from the keyboard like "|". For the double, do i just make two bars like "||" or is there a more suitable symbol? How do i get (double) dashed vertical bars and three vertical dots? In text mode or math mode?
\documentclass[11pt,a4paper]{scrartcl}
\usepackage[ngerman,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{array, lipsum, epstopdf, amssymb}
\usepackage{textcomp} %symbols e.g. °C
\usepackage{textgreek} %greek letters in text mode
\usepackage{siunitx}
\usepackage{chemmacros}
\chemsetup{modules={all}}
\begin{document}
Cu(s) | CuSO4(aq) || KCl(aq) || ZnSO4(aq) | Zn(s)
\end{document}
\vdots
. You might want to lower it to match the vertical bar by using\raisebox{-2pt}{\vdots}
, or possibly compress the dots by importing (e.g.) theMnSymbol
package. There is a math symbol\|
for a double vertical bar, which gives bars slightly closer together than||
, but if you're also doubling the vertical dots or dashes those will probably give something more similar to||
.