summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex')
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex36
1 files changed, 35 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex b/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
index f08d1764bc0..9bb056af395 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
@@ -1,6 +1,10 @@
\documentclass[parskip=full]{scrartcl}
\usepackage{chemmacros}
+\chemsetup[chemformula]{
+ format=\color{blue}
+}
+
\newcommand*\cmd[2]{}
\begin{document}
@@ -188,4 +192,34 @@ $ A^{\ch{SO4^2-}}$
\ch{"->"}
-\end{document} \ No newline at end of file
+\bigskip
+
+\chlewis{0:90|180.270}{O}
+\quad
+\chlewis{45,135}{O}
+\quad
+\chlewis{0o}{Na}
+
+
+\chlewis[lewis-default=.]{23,68,113,158,203,248,293,338}{X}
+\quad
+\chlewis{0,90,180,270}{X}
+\quad
+\chlewis[lewis-distance=1.25ex]{0,90,180,270}{X}
+\quad
+\chlewis[lewis-distance=.75ex,radical-radius=.5pt]{0,90,180,270}{X}
+\quad
+\chlewis[
+ radical-radius=.5pt,
+ lewis-default=.
+]{23,68,113,158,203,248,293,338}{X}
+
+
+\ch{
+ !($1s^22s^1$)( "\chlewis{180.}{Li}" ) +
+ !($1s^22s^22p^5$)( "\chlewis{0.,90,180,270}{F}" )
+ ->
+ !($1s^2$)( Li+ ) + !($1s^22s^22p^6$)( "\chlewis{0,90,180,270}{F}" {}- )
+}
+
+\end{document}