Debian Codegraph @

texmf-dist/doc/latex/chemsec/example2.tex

raw
1 % !TEX TS-program = pdflatex
2 % !TEX encoding = UTF-8 Unicode
3
4 % This is a simple template for a LaTeX document using the "article" class.
5 % See "book", "report", "letter" for other types of document.
6
7 \documentclass[11pt]{article} % use larger type; default would be 10pt
8
9 \usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
10
11 \usepackage[debug]{chemsec}
12
13 \title{Brief Article}
14 \author{The Author}
15 %\date{} % Activate to display a given date or no date (if empty),
16 % otherwise the current date is printed
17
18 \begin{document}
19
20 \maketitle
21
22 \DefineChemical{act}{acetic acid ester}{}
23 \DefineChemical{meoh}{methanol}{}
24 \DefineChemical{etoh}{ethanol}{}
25 \DefineChemical{accl}{acyl chlroide}{}
26 \DefineChemical{tbuoh}{2,2-dimethylpropanol}{}
27
28 \begin{abstract}
29 We discuss the reaction of \ChemFCite*{accl} with various alcohols to form \ChemFCite*{act}.
30 \end{abstract}
31
32 \section{Introduction}
33
34 Reacting \ChemCite{meoh} and \ChemCite{accl} together gives the expected \ChemFCite{act}.
35
36 \end{document}