diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-15 22:03:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-15 22:03:42 +0000 |
commit | 0ee0025f07d63b22f3b16b17f8942c29c30188e9 (patch) | |
tree | 533cf7335fb3ac284adbfb3495b0448c3e4ccd27 | |
parent | 0e46b4717d3ffa2ce513849fa423657aa9a6564b (diff) |
chemsec (15mar18)
git-svn-id: svn://tug.org/texlive/trunk@46972 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/README.md | 19 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/chemsec.pdf | bin | 0 -> 251241 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/example1.tex | 47 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/example2.tex | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/example3.tex | 49 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/example4.tex | 49 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemsec/example5.tex | 49 |
7 files changed, 245 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/chemsec/README.md b/Master/texmf-dist/doc/latex/chemsec/README.md index 5cfbb7e5008..09d3d6f8885 100644 --- a/Master/texmf-dist/doc/latex/chemsec/README.md +++ b/Master/texmf-dist/doc/latex/chemsec/README.md @@ -12,17 +12,28 @@ To generate style file run latex chemsec.ins The style file in this directory should always be identical -to the file generated by "latex chemsec.ins" +to the file generated by `latex chemsec.ins` # Examples -To run an example change to test directory and run +Several examples accompany the CTAN package in the `chemsec` +directory. You can compile these by processing the files twice +using a latex program. + + <latex command> example1 + <latex command> example1 + +If you obtain the package from the GitHub repository you can run +the examples by changing to the `test` subdirectory and using the +supplied makefile. For example to process the `example1.tex` file +use: make clean example1 - make example1 +or + make LATEX=latex clean example1 -to process the example1.tex file. +if you want to use a latex program other than `pdflatex`. ## Note diff --git a/Master/texmf-dist/doc/latex/chemsec/chemsec.pdf b/Master/texmf-dist/doc/latex/chemsec/chemsec.pdf Binary files differnew file mode 100644 index 00000000000..839a177d788 --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemsec/chemsec.pdf 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} diff --git a/Master/texmf-dist/doc/latex/chemsec/example2.tex b/Master/texmf-dist/doc/latex/chemsec/example2.tex new file mode 100644 index 00000000000..3b0a2c9ad4a --- /dev/null +++ b/Master/texmf-dist/doc/latex/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} diff --git a/Master/texmf-dist/doc/latex/chemsec/example3.tex b/Master/texmf-dist/doc/latex/chemsec/example3.tex new file mode 100644 index 00000000000..7348e6b8648 --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemsec/example3.tex @@ -0,0 +1,49 @@ +% !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 \ChemFCite*{meoh} to form +\ChemFCite*{act!me} in comparison to the reaction of \ChemCite*{accl} with +other alcohols. +\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} diff --git a/Master/texmf-dist/doc/latex/chemsec/example4.tex b/Master/texmf-dist/doc/latex/chemsec/example4.tex new file mode 100644 index 00000000000..0970b2bd8f4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemsec/example4.tex @@ -0,0 +1,49 @@ +% !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{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 \ChemFCite*{meoh} to form +\ChemFCite*{act!me} in comparison to the reaction of \ChemCite*{accl} with +other alcohols. +\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} diff --git a/Master/texmf-dist/doc/latex/chemsec/example5.tex b/Master/texmf-dist/doc/latex/chemsec/example5.tex new file mode 100644 index 00000000000..e9b568861df --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemsec/example5.tex @@ -0,0 +1,49 @@ +% !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{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}{-Me} +\DefineChemical{act!et}{ethyl acetate}{-Et} +\DefineChemical{act!tbu}{{\textit{t}}-butyl acetate}{-tBu} +\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 \ChemFCite*{meoh} to form +\ChemFCite*{act!me} in comparison to the reaction of \ChemCite*{accl} with +other alcohols. +\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} |