\documentclass[DIV=9, pagesize=auto]{scrartcl} \usepackage{fixltx2e} \usepackage{etex} \usepackage{lmodern} \usepackage{mflogo} \usepackage{wasysym} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{array} \usepackage{microtype} \usepackage[unicode=true]{hyperref} \newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} \newcommand*{\pkg}[1]{\textsf{#1}} \newcommand*{\cs}[1]{\texttt{\textbackslash#1}} \makeatletter \newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} \makeatother \addtokomafont{title}{\rmfamily} \title{The \pkg{chemarrow} package} \subtitle{New arrow heads for chemical reaction schemes} \author{Thomas Schroeder\\\mail{schroeder@ictw.chemie.uni-karlsruhe.de}} \date{4 February 2001} \begin{document} \maketitle \tableofcontents \section{What's the name of the game?} \LaTeX\ can be used to typeset many kinds of different documents, but typesetting chemical reactions is esthetically not very pleasing because \LaTeX's own arrows \cmd{\rightarrow}, \cmd{\leftarrow} and \cmd{\rightleftharpoons} which you might use for this purpose are too short and the arrow heads are not like the ``standard'' ones you will find in books or journals on chemistry. The macro \texttt{chemarrow.sty} in conjunction with the font \texttt{arrow.mf} is supposed to make the typesetting of chemical reaction schemes in \LaTeX\ easier and especially nicer looking. \section{Dateien} \begin{tabular}{@{}>{\ttfamily}l>{\raggedright\arraybackslash}p{85mm}@{}} arrow.mf & \MF\ source code of the \pkg{arrow} font \\ arrow.tfm & \texttt{.tfm} Datei of \pkg{arrow} for the use with \TeX \\ chemarrow.sty & macro for the typesetting of arrows in chemical reaction schemes \\ Readme.txt & English Readme \\ testchem.tex & test file for \texttt{chemarrow.sty} and \texttt{arrow.mf} \\ Liesmich.txt & German Readme \\ Type 1/arrow Mac.sit.hqx & type~1 version of \pkg{arrow} for Macintosh \\ Type 1/arrow PC.zip & type~1 version of \pkg{arrow} for PC/Unix \\ Type 1/arrow.mp & \MP\ source code of \pkg{arrow} \end{tabular} \medskip There is no need to copy the FontLab file \texttt{arrow.vfb} included in both of the type~1 archives, I just put it there in case you want to enhance my designs \smiley \section{Usage} The examples in the file \texttt{testchem.tex} should be sufficient for the understanding of how \texttt{chemarrow.sty} works, and there's also a short description in \texttt{chemarrow.sty} of all the newly defined commands. To use the package, \texttt{arrow.tfm} must be copied to a directory where \LaTeX\ will be searching for \texttt{.tfm} files, \texttt{arrow.mf} must be copied to a directory where \MF\ will be searching for \MF\ sources. The required \texttt{.pk} files should be produced automatically by a \textsc{dvi} previewer or a printer driver. There are also type~1 fonts of \texttt{arrow.mf} in Mac and PC/Unix format so that you can produce PDF documents easily. To use the type~1 font it must be copied to a directory where \TeX\ and friends will be searching for type~1 fonts, the best place would of course be where the Computer Modern type~1 fonts reside. If dvips is supposed to use the type~1 font instead of the \texttt{.pk} font you must add this line to \texttt{psfonts.map}: % \begin{itemize} \item for Macintosh:\\ \verb+arrow arrow