Debian Codegraph @

texmf-dist/doc/latex/chemsec/example1.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!me}{methyl acetate}{}
23 \DefineChemical{act!et}{ethyl acetate}{}
24 \DefineChemical{act!tbu}{{\textit{t}}-butyl acetate}{}
25 \DefineChemical{act}{acetic acid ester}{}
26 \DefineChemical{meoh}{methanol}{}
27 \DefineChemical{etoh}{ethanol}{}
28 \DefineChemical{accl}{acyl chlroide}{}
29 \DefineChemical{tbuoh}{2,2-dimethylpropanol}{}
30
31 \begin{abstract}
32 We discuss the reaction of \ChemFCite*{accl} with various alcohols to form \ChemFCite*{act}.
33 \end{abstract}
34
35 \section{Introduction}
36
37 Reacting \ChemCite{meoh} and \ChemCite{accl} together gives the expected \ChemFCite{act!me}.
38 Similarly \ChemCite{etoh} and \ChemCite{accl} together gives \ChemFCite{act!et}; \ChemCite{tbuoh}
39 and \ChemCite{accl} gives \ChemFCite{act!tbu}. What is different between these reactions is the
40 yield of the product.
41
42 \subsection{A subsection}
43
44 More text.
45
46
47 \end{document}