summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemsec/example2.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/chemsec/example2.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/chemsec/example2.tex')
-rw-r--r--macros/latex/contrib/chemsec/example2.tex36
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/latex/contrib/chemsec/example2.tex b/macros/latex/contrib/chemsec/example2.tex
new file mode 100644
index 0000000000..3b0a2c9ad4
--- /dev/null
+++ b/macros/latex/contrib/chemsec/example2.tex
@@ -0,0 +1,36 @@
+% !TEX TS-program = pdflatex
+% !TEX encoding = UTF-8 Unicode
+
+% This is a simple template for a LaTeX document using the "article" class.
+% See "book", "report", "letter" for other types of document.
+
+\documentclass[11pt]{article} % use larger type; default would be 10pt
+
+\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
+
+\usepackage[debug]{chemsec}
+
+\title{Brief Article}
+\author{The Author}
+%\date{} % Activate to display a given date or no date (if empty),
+ % otherwise the current date is printed
+
+\begin{document}
+
+\maketitle
+
+\DefineChemical{act}{acetic acid ester}{}
+\DefineChemical{meoh}{methanol}{}
+\DefineChemical{etoh}{ethanol}{}
+\DefineChemical{accl}{acyl chlroide}{}
+\DefineChemical{tbuoh}{2,2-dimethylpropanol}{}
+
+\begin{abstract}
+We discuss the reaction of \ChemFCite*{accl} with various alcohols to form \ChemFCite*{act}.
+\end{abstract}
+
+\section{Introduction}
+
+Reacting \ChemCite{meoh} and \ChemCite{accl} together gives the expected \ChemFCite{act}.
+
+\end{document}