summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/chemsec/example1.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-15 22:03:42 +0000
committerKarl Berry <karl@freefriends.org>2018-03-15 22:03:42 +0000
commit0ee0025f07d63b22f3b16b17f8942c29c30188e9 (patch)
tree533cf7335fb3ac284adbfb3495b0448c3e4ccd27 /Master/texmf-dist/doc/latex/chemsec/example1.tex
parent0e46b4717d3ffa2ce513849fa423657aa9a6564b (diff)
chemsec (15mar18)
git-svn-id: svn://tug.org/texlive/trunk@46972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemsec/example1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/chemsec/example1.tex47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/chemsec/example1.tex b/Master/texmf-dist/doc/latex/chemsec/example1.tex
new file mode 100644
index 00000000000..6319a2a5361
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/chemsec/example1.tex
@@ -0,0 +1,47 @@
+% !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!me}{methyl acetate}{}
+\DefineChemical{act!et}{ethyl acetate}{}
+\DefineChemical{act!tbu}{{\textit{t}}-butyl acetate}{}
+\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!me}.
+Similarly \ChemCite{etoh} and \ChemCite{accl} together gives \ChemFCite{act!et}; \ChemCite{tbuoh}
+and \ChemCite{accl} gives \ChemFCite{act!tbu}. What is different between these reactions is the
+yield of the product.
+
+\subsection{A subsection}
+
+More text.
+
+
+\end{document}