% \iffalse %% File: bpchem.dtx Copyright (C) 2001 %% Bjoern Pedersen %% This file may be distributed and used freely under %% the Latex Project Public License %% %% % %<*dtx> \ProvidesFile{bpchem.dtx}[2004/11/25 v1.06 Chemical input helper] % %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{bpchem}[2004/11/25 v1.06 Chemical input helper] %\RequirePackage{xspace} %\ProvidesFile{bpchem.drv} % \fi %\iffalse %<*driver> \documentclass{ltxdoc} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{bpchem} \RecordChanges \begin{document} \DocInput{bpchem.dtx} \end{document} % %\fi % \changes{v1.05}{2004/11/06}{ % changed email % } % \changes{v1.03}{2002/11/01}{ % re-added lost email-address % } % \GetFileInfo{bpchem.dtx} % \title{The \textsf{bpchem} package\thanks{This file % has version number \fileversion, last % revised \filedate.}} % \author{Bj{\o}rn Pedersen\\ \texttt{Bjoern.Pedersen@frm2.tum.de}} % \date{\filedate} % \maketitle % \section{Introduction} %This package has been written to alleviate the task of writing %publications containing lots of chemistry. It provides methods for %typesetting chemical names, sum formulae and isotopes. It provides the %possibility to break very long names even over several lines. % %This package also provides a way to automatically enumerate your %chemical compounds, allowing for one-level subgrouping. % %What this package does not provide: Methods to draw chemical %compounds. Although there exist some packages,which where designed for %this purpose (e.g. xymtex, PPChTex) they are quite limited once you %get to complex organic, or metal organic compounds. I recommend using %an external drawing program, possibly in conjunction with psfrag, in %these cases. % %\section{Package options} % Currently this package supports only one option: % % \verb|cbgreek| % % this option causes the definitions of some macros to be changed to % use the cbgreek fonts. As they are not available on all systems, % and only in mf format, the default is to use the math fonts for % greek symbols. % %\section{User commands in this package} %\subsection{Setting chemical sum formulae: BPChem{}} %\DescribeMacro{\BPChem} %Within this macro you can use \verb|\_| and \verb|\^| for correct %chemical sub- and superscripts. %Example: %\begin{verbatim} %\BPChem{C\_2H\_5OH} or \BPChem{SO\_4\^{2-}} %\end{verbatim} %\begin{minipage}{10cm} %\BPChem{C\_2H\_5OH} or \BPChem{SO\_4\^{2-}} %\end{minipage} %\subsection{Setting long chemical names: IUPAC{}} %\DescribeMacro{\IUPAC} %in addition to sub/superscripts as above, \verb|\-| is a hyphen which %allows further breakpoints,\verb!\|! is an (invisible) Multibreakpoint. % %This environment is especially useful for your long IUPAC-compound names. % %Example: %\begin{verbatim} %\IUPAC{Tetra\|cyclo[2.2.2.1\^{1,4}]\- %un\|decane-2\-dodecyl\-5\-(hepta\|decyl\|iso\|dodecyl\|thio\|ester)} %\end{verbatim} %\begin{minipage}{15em} %\IUPAC{Tetra\|cyclo[2.2.2.1\^{1,4}]\-^^A %un\|decane-2\-dodecyl\-5\-(hepta\|decyl\|iso\|dodecyl\|thio\|ester)} %\end{minipage} % %\subsection{Enumerating and referencing chemical compounds: CNlabel\{ % \PrintChanges % \CheckSum{365} % \Finale