summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemsec/example2.tex
blob: 3b0a2c9ad4aafe52f8a87fa64c5feba795cdda65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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}