| 1 |
% \iffalse meta-comment |
| 2 |
%<*internal> |
| 3 |
\iffalse |
| 4 |
%</internal> |
| 5 |
%<*readme> |
| 6 |
The chemstyle bundle - Schemes and style for chemistry |
| 7 |
====================================================== |
| 8 |
|
| 9 |
The `chemstyle` bundle provides two packages: `chemstyle` and |
| 10 |
`chemscheme`. Both are intended to help chemists create floating |
| 11 |
graphics and match published styles. |
| 12 |
|
| 13 |
The `chemscheme` package consists of two parts, both related to |
| 14 |
chemical schemes. The package adds a `scheme` float type to the |
| 15 |
LaTeX default types figure and table. The `scheme` float type |
| 16 |
acts in the same way as those defined by the LaTeX kernel, but |
| 17 |
is intended for chemical schemes. The package also provides a |
| 18 |
method for adding automatic chemical numbering to schemes. |
| 19 |
|
| 20 |
The `chemstyle` package provides a "one-stop shop" for setting up |
| 21 |
formatting of LaTeX documents following the editorial policies |
| 22 |
of various chemical journals. It provides a number of handy |
| 23 |
chemistry-related commands, and loads several support packages |
| 24 |
to aid the chemist. |
| 25 |
|
| 26 |
Installation |
| 27 |
------------ |
| 28 |
|
| 29 |
The package is supplied in `.dtx` format and as a pre-extracted |
| 30 |
`.zip` file, `chemstyle.tds.zip`. The later is most convenient |
| 31 |
for most users: simply unzip this in your local `texmf` |
| 32 |
directory. If you want to unpack the `.dtx` yourself, running |
| 33 |
`tex chemstyle.dtx` will extract the package whereas `latex |
| 34 |
chemstyle.dtx` will extract it and also typeset the |
| 35 |
documentation. |
| 36 |
|
| 37 |
Typesetting the documentation requires a number of packages in |
| 38 |
addition to those needed to use the package. This is mainly |
| 39 |
because of the number of demonstration items included in the |
| 40 |
text. To compile the documentation without error, you will |
| 41 |
need the packages: |
| 42 |
- `booktabs` |
| 43 |
- `csquotes` |
| 44 |
- `helvet` |
| 45 |
- `mathpazo` |
| 46 |
- `mhchem` |
| 47 |
- `microtype` |
| 48 |
- `listings` |
| 49 |
- `lmodern` |
| 50 |
%</readme> |
| 51 |
%<*internal> |
| 52 |
\fi |
| 53 |
\def\nameofplainTeX{plain} |
| 54 |
\ifx\fmtname\nameofplainTeX\else |
| 55 |
\expandafter\begingroup |
| 56 |
\fi |
| 57 |
%</internal> |
| 58 |
%<*install> |
| 59 |
\input docstrip.tex |
| 60 |
\keepsilent |
| 61 |
\askforoverwritefalse |
| 62 |
\preamble |
| 63 |
---------------------------------------------------------------- |
| 64 |
The chemstyle bundle --- Schemes and style for chemistry |
| 65 |
E-mail: [email protected] |
| 66 |
Released under the LaTeX Project Public License v1.3c or later |
| 67 |
See http://www.latex-project.org/lppl.txt |
| 68 |
---------------------------------------------------------------- |
| 69 |
|
| 70 |
\endpreamble |
| 71 |
\postamble |
| 72 |
|
| 73 |
Copyright (C) 2006-2011,2013 by |
| 74 |
Joseph Wright <[email protected]> |
| 75 |
|
| 76 |
It may be distributed and/or modified under the conditions of |
| 77 |
the LaTeX Project Public License (LPPL), either version 1.3c of |
| 78 |
this license or (at your option) any later version. The latest |
| 79 |
version of this license is in the file: |
| 80 |
|
| 81 |
http://www.latex-project.org/lppl.txt |
| 82 |
|
| 83 |
This work is "maintained" (as per LPPL maintenance status) by |
| 84 |
Joseph Wright. |
| 85 |
|
| 86 |
This work consists of the file chemstyle.dtx and |
| 87 |
chemstyle.cdx, |
| 88 |
and the derived files chemstyle.pdf, |
| 89 |
chemstyle.ins, |
| 90 |
chemstyle.sty, |
| 91 |
chemscheme.sty, |
| 92 |
and a number of .cfg files. |
| 93 |
|
| 94 |
\endpostamble |
| 95 |
\usedir{tex/latex/chemstyle} |
| 96 |
\generate{ |
| 97 |
\file{chemstyle.sty}{\from{chemstyle.dtx}{package}} |
| 98 |
\file{chemscheme.sty}{\from{chemstyle.dtx}{chemscheme}} |
| 99 |
} |
| 100 |
\usedir{tex/latex/chemstyle/config} |
| 101 |
\generate{ |
| 102 |
\file{angew.chemstyle.cfg}{\from{chemstyle.dtx}{angew}} |
| 103 |
\file{ic.chemstyle.cfg}{\from{chemstyle.dtx}{ic}} |
| 104 |
\file{jacs.chemstyle.cfg}{\from{chemstyle.dtx}{jacs}} |
| 105 |
\file{jomc.chemstyle.cfg}{\from{chemstyle.dtx}{jomc}} |
| 106 |
\file{rsc.chemstyle.cfg}{\from{chemstyle.dtx}{rsc}} |
| 107 |
\file{orglett.chemstyle.cfg}{\from{chemstyle.dtx}{orglett}} |
| 108 |
\file{tetlett.chemstyle.cfg}{\from{chemstyle.dtx}{tetlett}} |
| 109 |
} |
| 110 |
%</install> |
| 111 |
%<install>\endbatchfile |
| 112 |
%<*internal> |
| 113 |
\usedir{source/latex/chemstyle} |
| 114 |
\generate{ |
| 115 |
\file{chemstyle.ins}{\from{chemstyle.dtx}{install}} |
| 116 |
} |
| 117 |
\nopreamble\nopostamble |
| 118 |
\usedir{doc/latex/chemstyle} |
| 119 |
\generate{ |
| 120 |
\file{README.txt}{\from{chemstyle.dtx}{readme}} |
| 121 |
\file{chemstyle-demo.tex}{\from{chemstyle.dtx}{demo}} |
| 122 |
\file{scheme-one.eps}{\from{chemstyle.dtx}{scheme}} |
| 123 |
\file{scheme-two.eps}{\from{chemstyle.dtx}{scheme,labels}} |
| 124 |
} |
| 125 |
\ifx\fmtname\nameofplainTeX |
| 126 |
\expandafter\endbatchfile |
| 127 |
\else |
| 128 |
\expandafter\endgroup |
| 129 |
\fi |
| 130 |
%</internal> |
| 131 |
%<*package|chemscheme> |
| 132 |
\NeedsTeXFormat{LaTeX2e} |
| 133 |
%</package|chemscheme> |
| 134 |
%<*driver> |
| 135 |
\documentclass[a4paper]{ltxdoc} |
| 136 |
\usepackage[T1]{fontenc} |
| 137 |
\usepackage{array,booktabs,chemstyle,csquotes,lmodern} |
| 138 |
\usepackage[scaled=0.95]{helvet} |
| 139 |
\usepackage[final]{listings,microtype} |
| 140 |
\usepackage[osf]{mathpazo} |
| 141 |
\usepackage[version=3]{mhchem} |
| 142 |
\IfFileExists{auto-pst-pdf.sty}{ |
| 143 |
\usepackage[crop=off,ext=dtx,final,runs=2]{auto-pst-pdf} |
| 144 |
}{ |
| 145 |
\PackageWarning{chemstyle}{% |
| 146 |
No auto-pst-pdf found:\MessageBreak |
| 147 |
Compile documentation with latex \MessageBreak |
| 148 |
(and not pdflatex)% |
| 149 |
} |
| 150 |
} |
| 151 |
\usepackage[numbered]{hypdoc} |
| 152 |
\EnableCrossrefs |
| 153 |
\CodelineIndex |
| 154 |
\RecordChanges |
| 155 |
\begin{document} |
| 156 |
\DocInput{chemstyle.dtx} |
| 157 |
\end{document} |
| 158 |
%</driver> |
| 159 |
% \fi |
| 160 |
% |
| 161 |
%\CheckSum{0} |
| 162 |
% |
| 163 |
%\GetFileInfo{chemstyle.sty} |
| 164 |
% |
| 165 |
%\makeatletter |
| 166 |
% |
| 167 |
%^^A \DescribeOption is in l3doc but not ltxdoc |
| 168 |
%\newcommand*{\DescribeOption}{^^A |
| 169 |
% \leavevmode |
| 170 |
% \@bsphack |
| 171 |
% \begingroup |
| 172 |
% \MakePrivateLetters |
| 173 |
% \Describe@Option |
| 174 |
%} |
| 175 |
%\newcommand*{\Describe@Option}[1]{^^A |
| 176 |
% \endgroup |
| 177 |
% \marginpar{^^A |
| 178 |
% \raggedleft |
| 179 |
% \PrintDescribeEnv{#1}^^A |
| 180 |
% }% |
| 181 |
% \SpecialOptionIndex{#1}^^A |
| 182 |
% \@esphack |
| 183 |
% \ignorespaces |
| 184 |
%} |
| 185 |
%\newcommand*{\SpecialOptionIndex}[1]{^^A |
| 186 |
% \@bsphack |
| 187 |
% \index{^^A |
| 188 |
% #1\actualchar{\protect\ttfamily#1} (option)\encapchar usage^^A |
| 189 |
% }^^A |
| 190 |
% \index{^^A |
| 191 |
% options:\levelchar#1\actualchar{\protect\ttfamily#1} |
| 192 |
% \encapchar usage^^A |
| 193 |
% }^^A |
| 194 |
% \@esphack |
| 195 |
%} |
| 196 |
% |
| 197 |
%^^A For creating examples with nice highlighting of code, and so |
| 198 |
%^^A on; based on the system used in the listings source (lstsample). |
| 199 |
%\lst@RequireAspects{writefile} |
| 200 |
%\newsavebox{\LaTeXdemo@box} |
| 201 |
%\lstnewenvironment{LaTeXdemo}[1][code and example]{^^A |
| 202 |
% \global\let\lst@intname\@empty |
| 203 |
% \expandafter\let\expandafter\LaTeXdemo@end |
| 204 |
% \csname LaTeXdemo@#1@end\endcsname |
| 205 |
% \@nameuse{LaTeXdemo@#1}^^A |
| 206 |
%}{^^A |
| 207 |
% \LaTeXdemo@end |
| 208 |
%} |
| 209 |
%\newcommand*\LaTeXdemo@new[3]{^^A |
| 210 |
% \expandafter\newcommand\expandafter*\expandafter |
| 211 |
% {\csname LaTeXdemo@#1\endcsname}{#2}^^A |
| 212 |
% \expandafter\newcommand\expandafter*\expandafter |
| 213 |
% {\csname LaTeXdemo@#1@end\endcsname}{#3}^^A |
| 214 |
%} |
| 215 |
%\newcommand*\LaTeXdemo@common{^^A |
| 216 |
% \setkeys{lst}{ |
| 217 |
% basicstyle = \small\ttfamily, |
| 218 |
% basewidth = 0.51em, |
| 219 |
% gobble = 3, |
| 220 |
% keywordstyle = \color{blue}, |
| 221 |
% language = [LaTeX]{TeX}, |
| 222 |
% moretexcs = { |
| 223 |
% ce, |
| 224 |
% cmc, |
| 225 |
% cstsetup, |
| 226 |
% etc, |
| 227 |
% eg, |
| 228 |
% etal, |
| 229 |
% floatcontentscenter, |
| 230 |
% floatcontentscentre, |
| 231 |
% floatcontentsleft, |
| 232 |
% floatcontentsright, |
| 233 |
% floatsetup, |
| 234 |
% floatstyle, |
| 235 |
% Hz, |
| 236 |
% ie, |
| 237 |
% iBu, |
| 238 |
% iPr, |
| 239 |
% includegraphics, |
| 240 |
% invacuo, |
| 241 |
% latin, |
| 242 |
% mmHg, |
| 243 |
% molar, |
| 244 |
% Molar, |
| 245 |
% nBu, |
| 246 |
% nPr, |
| 247 |
% restylefloat, |
| 248 |
% sBu, |
| 249 |
% standardstate, |
| 250 |
% tBu |
| 251 |
% } |
| 252 |
% }^^A |
| 253 |
%} |
| 254 |
%\newcommand*\LaTeXdemo@input{^^A |
| 255 |
% \MakePercentComment |
| 256 |
% \catcode`\^^M=10\relax |
| 257 |
% \small |
| 258 |
% \begingroup |
| 259 |
% \setkeys{lst}{ |
| 260 |
% SelectCharTable=\lst@ReplaceInput{\^\^I}{\lst@ProcessTabulator} |
| 261 |
% }^^A |
| 262 |
% \leavevmode |
| 263 |
% \input{chemstyle.tmp}^^A |
| 264 |
% \endgroup |
| 265 |
% \MakePercentIgnore |
| 266 |
%} |
| 267 |
%\LaTeXdemo@new{code and example}{^^A |
| 268 |
% \setbox\LaTeXdemo@box=\hbox\bgroup |
| 269 |
% \lst@BeginAlsoWriteFile{chemstyle.tmp}^^A |
| 270 |
% \LaTeXdemo@common |
| 271 |
%}{^^A |
| 272 |
% \lst@EndWriteFile |
| 273 |
% \egroup |
| 274 |
% \begin{center} |
| 275 |
% \ifdim\wd\LaTeXdemo@box>0.48\linewidth\relax |
| 276 |
% \hbox to\linewidth{\box\LaTeXdemo@box\hss}^^A |
| 277 |
% \begin{minipage}{\linewidth} |
| 278 |
% \LaTeXdemo@input |
| 279 |
% \end{minipage} |
| 280 |
% \else |
| 281 |
% \begin{minipage}{0.48\linewidth} |
| 282 |
% \LaTeXdemo@input |
| 283 |
% \end{minipage} |
| 284 |
% \hfill |
| 285 |
% \begin{minipage}{0.48\linewidth} |
| 286 |
% \hbox to\linewidth{\box\LaTeXdemo@box\hss}^^A |
| 287 |
% \end{minipage} |
| 288 |
% \fi |
| 289 |
% \end{center} |
| 290 |
%} |
| 291 |
%\LaTeXdemo@new{code and float}{^^A |
| 292 |
% \lst@BeginAlsoWriteFile{chemstyle.tmp}^^A |
| 293 |
% \LaTeXdemo@common |
| 294 |
%}{^^A |
| 295 |
% \lst@EndWriteFile |
| 296 |
% \LaTeXdemo@input |
| 297 |
%} |
| 298 |
%\LaTeXdemo@new{code only}{^^A |
| 299 |
% \LaTeXdemo@common |
| 300 |
%}{^^A |
| 301 |
%} |
| 302 |
% |
| 303 |
%\providecommand*\eTeX{\ensuremath{\varepsilon}-\TeX} |
| 304 |
%\providecommand*\file{\texttt} |
| 305 |
%\providecommand*\opt{\texttt} |
| 306 |
%\providecommand*\pkg{\textsf} |
| 307 |
% |
| 308 |
%\DoNotIndex{\begin,\documentclass,\end,\usepackage} |
| 309 |
% |
| 310 |
%\makeatother |
| 311 |
% |
| 312 |
%\title{^^A |
| 313 |
% The \textsf{chemstyle} bundle --- Schemes and style for |
| 314 |
% chemistry\thanks{^^A |
| 315 |
% This file describes version \fileversion, last revised |
| 316 |
% \filedate.^^A |
| 317 |
% }^^A |
| 318 |
%} |
| 319 |
%\author{^^A |
| 320 |
% Joseph Wright\thanks{E-mail: [email protected]}^^A |
| 321 |
%} |
| 322 |
%\date{Released \filedate} |
| 323 |
% |
| 324 |
%\maketitle |
| 325 |
% |
| 326 |
%\changes{v1.0}{2006/08/06}{Initial release of package} |
| 327 |
%\changes{v2.0f}{2010/01/30}{Detect use of \pkg{achemso} class and |
| 328 |
% abort loading of \pkg{chemstyle} and \pkg{chemscheme}} |
| 329 |
% |
| 330 |
%\begin{abstract} |
| 331 |
% The \textsf{chemstyle} bundle provides two packages: |
| 332 |
% \textsf{chemstyle} and \textsf{chemscheme}. Both are intended to |
| 333 |
% help chemists create floating graphics and match published styles. |
| 334 |
% |
| 335 |
% The \textsf{chemscheme} package consists of two parts, both related |
| 336 |
% to chemical schemes. The package adds a scheme float type to the |
| 337 |
% \LaTeX\ default types figure and table. The scheme float type acts in |
| 338 |
% the same way as those defined by the \LaTeX\ kernel, but is intended |
| 339 |
% for chemical schemes. The package also provides a method for adding |
| 340 |
% automatic chemical numbering to schemes. |
| 341 |
% |
| 342 |
% The \textsf{chemstyle} package provides a \enquote{one-stop shop} for |
| 343 |
% setting up formatting of \LaTeX\ documents following the editorial |
| 344 |
% policies of various chemical journals. It provides a number of handy |
| 345 |
% chemistry-related commands, and loads several support packages to aid |
| 346 |
% the chemist. |
| 347 |
%\end{abstract} |
| 348 |
% |
| 349 |
%\begin{multicols}{2} |
| 350 |
% \tableofcontents |
| 351 |
%\end{multicols} |
| 352 |
% |
| 353 |
%\section{Introduction} |
| 354 |
% |
| 355 |
% The \pkg{chemstyle} bundle consists of two parts. The first, |
| 356 |
% the \pkg{chemstyle} package itself, aims to provide an easy and |
| 357 |
% reliable method to set up various document parameters (such as |
| 358 |
% caption formatting), simply by specifying the model journal. The |
| 359 |
% package has also been designed to allow rapid addition of new journal |
| 360 |
% styles. Each style definition is a separate file, and new styles can |
| 361 |
% be added very readily. The formatting system provided by |
| 362 |
% \pkg{chemstyle} are intended for writing a variety of documents. |
| 363 |
% Thus, the stylistic changes made by the package do not seek to |
| 364 |
% reproduce the appearance of printed journal articles. The package |
| 365 |
% aims to be suitable for use in preparing drafts of papers, but also |
| 366 |
% for writing reports, theses and so on. |
| 367 |
% |
| 368 |
% The second part of the bundle is the \pkg{chemscheme} package, which |
| 369 |
% is loaded automatically by \pkg{chemstyle}. \pkg{chemscheme} |
| 370 |
% undertakes two tasks. First, it provides a floating \texttt{scheme} |
| 371 |
% environment, which acts in the same way as the kernel \texttt{figure} |
| 372 |
% and \texttt{table} floats. Secondly, it interfaces with either the |
| 373 |
% \pkg{chemcompounds} or \pkg{bpchem} packages to allow automatic |
| 374 |
% numbering of chemical compounds inside graphics. |
| 375 |
% |
| 376 |
% This manual is written to cover both packages. All of the material |
| 377 |
% is relevant to users of the \pkg{chemstyle} package. For those only |
| 378 |
% using \pkg{chemscheme}, |
| 379 |
% |
| 380 |
%\section{Installation} |
| 381 |
% |
| 382 |
% The entire bundle is supplied with the TDS-ready ZIP file, |
| 383 |
% \file{chemstyle.tds.zip}. Simply unzip this into your local texmf |
| 384 |
% tree and run your hash program: \texttt{texhash} should work with |
| 385 |
% recent versions of either \TeX\ Live or MiK\TeX. |
| 386 |
% |
| 387 |
% To extract the bundle of files from \file{chemstyle.dtx}, run |
| 388 |
% (pdf)\TeX\ on \file{chemstyle.dtx}. This will produce all of the |
| 389 |
% package files, and also \file{README.txt}. To extract the |
| 390 |
% files and build the documentation, run (pdf)\LaTeX\ on |
| 391 |
% \texttt{chemstyle.dtx}: you will need to enable \enquote{write18} if |
| 392 |
% you compile in PDF mode. |
| 393 |
% |
| 394 |
%\section{Requirements} |
| 395 |
% |
| 396 |
% The \pkg{chemstyle} class requires the following packages: |
| 397 |
%\begin{itemize} |
| 398 |
% \item \pkg{amstext} (part of the AMS bundle); |
| 399 |
% \item \pkg{caption}; |
| 400 |
% \item either \pkg{float} or \pkg{floatrow}; |
| 401 |
% \item \pkg{kvoptions} (part of the \pkg{oberdiek} bundle); |
| 402 |
% \item either \pkg{siunitx} or \pkg{SIunits} (otherwise no |
| 403 |
% units are defined); |
| 404 |
% \item \pkg{psfrag}; |
| 405 |
% \item \pkg{varioref} (part of the standard \pkg{tools} bundle): |
| 406 |
% only loaded if not turned off; |
| 407 |
% \item \pkg{xspace} (part of the standard \pkg{tools} bundle). |
| 408 |
%\end{itemize} |
| 409 |
% These are normally present in the current major \TeX\ distributions, |
| 410 |
% but are also available from \href{http://www.ctan.org}{The |
| 411 |
% Comprehensive TeX Archive Network}. |
| 412 |
% |
| 413 |
%\DescribeOption{varioref} |
| 414 |
%\changes{v2.0a}{2009/08/23}{New \opt{varioref} option} |
| 415 |
% The option \opt{varioref} can be used to determine whether |
| 416 |
% \pkg{chemstyle} loads the \pkg{varioref} package. For example, |
| 417 |
% users of \pkg{cleveref} will want to turn off loading of |
| 418 |
% \pkg{varioref} using: |
| 419 |
%\begin{LaTeXdemo}[code only] |
| 420 |
% \usepackage[varioref=false]{chemstyle} |
| 421 |
%\end{LaTeXdemo} |
| 422 |
% Users loading \pkg{hyperref} should note that if you want to use |
| 423 |
% \cs{autoref} then you should disable loading of \pkg{varioref}, to |
| 424 |
% avoid double labelling of float names! |
| 425 |
% |
| 426 |
%\section{The \pkg{chemstyle} package: tools for chemistry} |
| 427 |
% |
| 428 |
% The package recognises a number of key--value options when loading. |
| 429 |
% Some of these are also available in the document body, and are |
| 430 |
% described along with the relevant commands. Options which apply to |
| 431 |
% \pkg{chemscheme} can be given when loading \pkg{chemstyle} and will |
| 432 |
% be applied correctly. |
| 433 |
% |
| 434 |
%\DescribeOption{journal} |
| 435 |
% \pkg{chemstyle} is supplied with a number of configuration files, |
| 436 |
% based on the styles adopted by a number of chemistry journals |
| 437 |
% (\ref{styles}). A style can be chosen by loading the package with |
| 438 |
% the \opt{journal=\meta{style}} key. |
| 439 |
%\begin{table} |
| 440 |
% \begin{tabular}{ll} |
| 441 |
% \toprule |
| 442 |
% Option & Journals using this style \\ |
| 443 |
% \midrule |
| 444 |
% angew & \emph{Angew.\ Chem.}, \emph{Chem.\ Eur.\ J.} \\ |
| 445 |
% jomc & \emph{J.\ Organomet.\ Chem.}, |
| 446 |
% \emph{Coord.\ Chem.\ Rev.} \\ |
| 447 |
% ic & \emph{Inorg.\ Chem.} \\ |
| 448 |
% jacs & \emph{J.\ Am.\ Chem.\ Soc.} \\ |
| 449 |
% jcp & \emph{J.\ Phys.\ Chem.\ A}, \emph{J.\ Phys.\ Chem.\ B} \\ |
| 450 |
% orglett & \emph{Org.~Lett.}\\ |
| 451 |
% rsc & \emph{Chem.\ Commun.}, \emph{Org.\ Biomol.\ Chem.} \\ |
| 452 |
% & \emph{Dalton Trans.} \\ |
| 453 |
% tetlett & \emph{Tetrahedron}, \emph{Tetrahedron Lett.} \\ |
| 454 |
% \bottomrule |
| 455 |
% \end{tabular} |
| 456 |
% \caption{Styles provided by \pkg{chemstyle}} |
| 457 |
% \label{styles} |
| 458 |
%\end{table} |
| 459 |
% |
| 460 |
%\DescribeMacro{\cstsetup} |
| 461 |
% Many of the package options can be altered anywhere in the document, |
| 462 |
% using the \cs{cstsetup} macro. This accepts a \pkg{keyval} list and |
| 463 |
% processes it as needed. |
| 464 |
% |
| 465 |
%\section{Naming of the references section} |
| 466 |
% |
| 467 |
% \pkg{chemstyle} alters the naming of the references section of a |
| 468 |
% document. By default, \pkg{chemstyle} alters the value of \cs{bibname} |
| 469 |
% or \cs{refname} (as appropriate) to the form of words chosen by the |
| 470 |
% target journal for the \enquote{References} section. |
| 471 |
% |
| 472 |
% The \enquote{\refname} naming commands are language-aware, \emph{via} the |
| 473 |
% \pkg{babel} interface. Currently, \pkg{chemstyle} includes appropriate |
| 474 |
% labels for \pkg{babel} languages \opt{english}, \opt{german}, |
| 475 |
% \opt{french} and \opt{italian}. Other languages can be added if appropriate |
| 476 |
% wordings are provided to the author. The naming system is designed to work |
| 477 |
% correctly with both \pkg{natbib} and \pkg{biblatex}. |
| 478 |
% |
| 479 |
%\DescribeOption{notes} |
| 480 |
%\DescribeOption{nonotes} |
| 481 |
%\DescribeOption{notesbefore} |
| 482 |
% The package recognises the \opt{notes} option for controlling how |
| 483 |
% the references section is named. The accepts the values |
| 484 |
% \opt{true}, \opt{false} and \opt{auto}. The Boolean values either |
| 485 |
% enable or disable the addition of \enquote{Notes and} to the |
| 486 |
% \enquote{References} of the section title. The \opt{auto} option works |
| 487 |
% in conjunction with the \pkg{notes2bib} package. If notes are |
| 488 |
% added, \enquote{Notes and} is included in the section title, whereas if |
| 489 |
% no notes are given the section title remains as \enquote{References}. |
| 490 |
% The \opt{nonotes} option is equivalent to \opt{notes=false}. |
| 491 |
% The second option for this area is \opt{notesbefore}. This takes |
| 492 |
% \opt{true} and \opt{false} only, and sets whether \enquote{Notes and |
| 493 |
% References} or \enquote{References and Notes} is produced. |
| 494 |
% |
| 495 |
%\subsection{Additional units} |
| 496 |
% |
| 497 |
%\DescribeMacro{\cmc} |
| 498 |
%\DescribeMacro{\Hz} |
| 499 |
%\DescribeMacro{\molar} |
| 500 |
%\DescribeMacro{\Molar} |
| 501 |
%\DescribeMacro{\mmHg} |
| 502 |
% There are a few units which are useful for chemists that are not |
| 503 |
% defined by the standard unit packages and are created here if |
| 504 |
% necessary. |
| 505 |
%\begin{LaTeXdemo} |
| 506 |
% \SI{10}{\cmc} \\ |
| 507 |
% \SI{20}{\Hz} \\ |
| 508 |
% \SI{30}{\molar} \\ |
| 509 |
% \SI{40}{\Molar} \\ |
| 510 |
% \SI{50}{\mmHg} |
| 511 |
%\end{LaTeXdemo} |
| 512 |
% |
| 513 |
%\subsection{The standard state symbol} |
| 514 |
% |
| 515 |
%\DescribeMacro{\standardstate} |
| 516 |
% Related to the above, but not exactly a unit is the |
| 517 |
% \cs{standardstate} command.\footnote{The \cs{standardstate} macro |
| 518 |
% is only defined if the user does not have their own version.} This |
| 519 |
% generates the tricky \cs{standardstate} symbol. The symbol will |
| 520 |
% adapt to local sizing. |
| 521 |
%\begin{LaTeXdemo} |
| 522 |
% the standard conditions are indicated: \standardstate\\ |
| 523 |
% Common but not correct: |
| 524 |
% $\Delta G_\mathrm{f}^\standardstate$ or |
| 525 |
% $\Delta G_\mathrm{f}{}^\standardstate$ \\ |
| 526 |
% Better: |
| 527 |
% $\Delta_\mathrm{f}G^\standardstate$ \\ |
| 528 |
% Sizing: |
| 529 |
% $\int^{T_{\mathrm{out}}}_{T^\standardstate}$ |
| 530 |
%\end{LaTeXdemo} |
| 531 |
% |
| 532 |
%\subsection{Latin phrases} |
| 533 |
% |
| 534 |
%\DescribeMacro{\latin} |
| 535 |
%\DescribeMacro{\etc} |
| 536 |
%\DescribeMacro{\eg} |
| 537 |
%\DescribeMacro{\ie} |
| 538 |
%\DescribeMacro{\etal} |
| 539 |
%\DescribeMacro{\invacuo} |
| 540 |
% The various Latin phrases commonly used in chemistry are made |
| 541 |
% available as the obvious commands. By altering the definition of |
| 542 |
% \cs{latin}, this allows ready switching from italic to Roman |
| 543 |
% typesetting. Notice that \cs{etc}, \cs{ie} and \cs{eg} are aware |
| 544 |
% of trailing periods, and so doubling-up should not occur. |
| 545 |
%\begin{LaTeXdemo} |
| 546 |
% \latin{some text} \\ |
| 547 |
% \eg \\ |
| 548 |
% \etal \\ |
| 549 |
% \etc \\ |
| 550 |
% \ie \\ |
| 551 |
% \invacuo |
| 552 |
%\end{LaTeXdemo} |
| 553 |
% |
| 554 |
%\DescribeOption{abbremph} |
| 555 |
% The use of italic for these abbreviations is set by altering the |
| 556 |
% package option \opt{abbremph}, which takes values \opt{true} and |
| 557 |
% \opt{false}. |
| 558 |
%\begin{LaTeXdemo} |
| 559 |
% \etal\ \ie \\ |
| 560 |
% \cstsetup{abbremph=false} |
| 561 |
% \etal\ \ie \\ |
| 562 |
%\end{LaTeXdemo} |
| 563 |
% |
| 564 |
%\DescribeOption{abbrcomma} |
| 565 |
% For American journals, where it is obligatory to follow \enquote{\eg} and |
| 566 |
% \enquote{\ie} with a comma, the package provides a mechanism for handling |
| 567 |
% this automatically. Thus, when using an appropriate journal style, |
| 568 |
% |\eg|, |\eg.| and |\eg,| will all result in typesetting \enquote{\eg,}. |
| 569 |
% The Boolean package option \opt{abbrcomma} controls this. |
| 570 |
%\begin{LaTeXdemo} |
| 571 |
% \eg this\\ |
| 572 |
% \cstsetup{abbrcomma=true} |
| 573 |
% \ie that |
| 574 |
%\end{LaTeXdemo} |
| 575 |
% |
| 576 |
% The \cs{etc} and \cs{etal} commands are set up on the |
| 577 |
% assumption that they come at the end of a sentence. Hence the |
| 578 |
% spacing after these will default to an inter-sentence space. If |
| 579 |
% you desire an inter-word space, use the normal methods |
| 580 |
%\begin{LaTeXdemo} |
| 581 |
% \etc\ more text \\ |
| 582 |
% \etal~have shown |
| 583 |
%\end{LaTeXdemo} |
| 584 |
% |
| 585 |
%\DescribeOption{phrases} |
| 586 |
%\DescribeOption{nophrases} |
| 587 |
% The definitions of all of the phrases are designed not to overwrite |
| 588 |
% any given by the user \emph{in the preamble}. So, if you have your |
| 589 |
% own \cs{latin} macro, it will be used even if you load \pkg{chemstyle}. |
| 590 |
% If you encounter any problems, try loading the package with the |
| 591 |
% \opt{nophrases} option; this option prevents the package even |
| 592 |
% trying to define any of the phrase macros. The \opt{phrases} option |
| 593 |
% acts as a complement to \opt{nopharses}, so that \opt{phrases=false} |
| 594 |
% is the same as \opt{nophrases=true}. |
| 595 |
% |
| 596 |
%\subsection{Alkyl radicals} |
| 597 |
% |
| 598 |
%\DescribeMacro{\nPr} |
| 599 |
%\DescribeMacro{\iPr} |
| 600 |
%\DescribeMacro{\nBu} |
| 601 |
%\DescribeMacro{\iBu} |
| 602 |
%\DescribeMacro{\sBu} |
| 603 |
%\DescribeMacro{\tBu} |
| 604 |
% There are a few alkyl radicals that come up all of the time. No |
| 605 |
% one seems to have put these into a package, so they are provided |
| 606 |
% here. As you would expect, \cs{iPr} gives \iPr, \cs{iBu} gives \iBu |
| 607 |
% and \cs{tBu} gives \tBu, and so on. The style of the output |
| 608 |
% depends on the journal style specified; most journals seem to |
| 609 |
% favour one version of the abbreviation. |
| 610 |
%\begin{LaTeXdemo} |
| 611 |
% The alkyl group could be \\ |
| 612 |
% \nPr, \iPr or \nBu without \\ |
| 613 |
% affecting the selectivity. |
| 614 |
%\end{LaTeXdemo} |
| 615 |
% These should also work inside the \cs{ce} macro of \pkg{mhchem} when |
| 616 |
% if escaped mode: |
| 617 |
%\begin{LaTeXdemo} |
| 618 |
% \ce{$\nBu$2CH-C($\iPr$)3} |
| 619 |
%\end{LaTeXdemo} |
| 620 |
% |
| 621 |
%\DescribeOption{rademph} |
| 622 |
%\DescribeOption{radhyphen} |
| 623 |
%\DescribeOption{radprefix} |
| 624 |
%\DescribeOption{radsuper} |
| 625 |
% The appearance of these radical abbreviations is controlled by the |
| 626 |
% package options \opt{rademph}, \opt{radhyphen}, \opt{radprefix} and |
| 627 |
% \opt{radsuper}. The journal styles set these automatically, but |
| 628 |
% they can be redefined at any point. The options work as might be |
| 629 |
% expected, and are Boolean switches. |
| 630 |
%\begin{LaTeXdemo} |
| 631 |
% \cstsetup{ |
| 632 |
% radhyphen = false, |
| 633 |
% radsuper = true} |
| 634 |
% \iPr \tBu \\ |
| 635 |
% \cstsetup{ |
| 636 |
% radhyphen = true, |
| 637 |
% radsuper = false, |
| 638 |
% radprefix = false, |
| 639 |
% rademph = false |
| 640 |
% } |
| 641 |
% \iBu \sBu |
| 642 |
%\end{LaTeXdemo} |
| 643 |
% |
| 644 |
%\DescribeOption{xspace} |
| 645 |
% The package can use \pkg{xspace} to automatically insert space after |
| 646 |
% the alkyl radical macros. This is controlled using the \opt{xspace} |
| 647 |
% option. |
| 648 |
%\begin{LaTeXdemo} |
| 649 |
% \cstsetup{ |
| 650 |
% xspace = true |
| 651 |
% } |
| 652 |
% Some text \iPr some more text\\ |
| 653 |
% \cstsetup{ |
| 654 |
% xspace = false |
| 655 |
% } |
| 656 |
% Some text \iPr some more text |
| 657 |
%\end{LaTeXdemo} |
| 658 |
% |
| 659 |
%\section{The \pkg{chemscheme} package: graphics for chemistry} |
| 660 |
% |
| 661 |
%\subsection{Floating schemes} |
| 662 |
% |
| 663 |
% By default, \LaTeX\ defines two float types, \texttt{figure} and |
| 664 |
% \texttt{table}. Synthetic chemists make heavy use of schemes, |
| 665 |
% which need a \texttt{scheme} float type. This is provided by |
| 666 |
% \pkg{chemscheme}, in a manner consistent with the kernel floats. |
| 667 |
% |
| 668 |
%\DescribeEnv{scheme} |
| 669 |
% The package provides a new float type, scheme, accessed in the |
| 670 |
% usual way. |
| 671 |
%\begin{LaTeXdemo}[code and float] |
| 672 |
% \begin{scheme}[ht] |
| 673 |
% \includegraphics{scheme-one} |
| 674 |
% \caption{A scheme with no compound numbers.} |
| 675 |
% \end{scheme} |
| 676 |
%\end{LaTeXdemo} |
| 677 |
% The \texttt{scheme} float is designed to behave in the same way as the |
| 678 |
% standard \LaTeX\ float environments \texttt{figure} and |
| 679 |
% \texttt{table}. Thus schemes will be placed at the top of a page, |
| 680 |
% where possible. As shown in the example, the use of positional |
| 681 |
% modifiers is allowed. Labelling and referencing schemes also follows |
| 682 |
% the \LaTeX\ conventions. \pkg{chemscheme} works hard to emulate the |
| 683 |
% document class in use, and so the exact behaviour will depend on |
| 684 |
% whether the standard classes, \textsc{koma}-Script or \pkg{memoir} |
| 685 |
% are being used. |
| 686 |
% |
| 687 |
%\DescribeMacro{\schemename} |
| 688 |
% \cs{schemename} contains the text used in scheme captions (by |
| 689 |
% default \schemename). This is used in the same manner as |
| 690 |
% \cs{figurename} or \cs{tablename} to set up the text used in scheme |
| 691 |
% captions. |
| 692 |
%\begin{LaTeXdemo}[code and float] |
| 693 |
% \renewcommand*{\schemename}{Illustration} |
| 694 |
% \begin{scheme}[ht] |
| 695 |
% \includegraphics{scheme-one} |
| 696 |
% \caption{A scheme that is not a Scheme!} |
| 697 |
% \end{scheme} |
| 698 |
%\end{LaTeXdemo} |
| 699 |
% |
| 700 |
%\DescribeMacro{\listofschemes} |
| 701 |
%\DescribeMacro{\listschemename} |
| 702 |
% To match the \cs{listoffigures} and \cs{listoftables} macros |
| 703 |
% provided by the \LaTeX\ kernel, \pkg{chemscheme} provides a |
| 704 |
% \cs{listofschemes} command. This works in the same way as the |
| 705 |
% kernel commands, with the default text stored in the macro |
| 706 |
% \cs{listschemename}. The standard output is illustrated below. |
| 707 |
% \listofschemes |
| 708 |
% |
| 709 |
%\DescribeOption{floats} |
| 710 |
% Which method is used to generate the new float is controlled by |
| 711 |
% the \opt{floats} option, which recognises \opt{float}, \opt{floatrow} |
| 712 |
% and \opt{memoir}. The \opt{memoir} option is ignored if not using |
| 713 |
% the \pkg{memoir} class, or if \pkg{chemstyle} is in |
| 714 |
% use.\footnote{\pkg{memoir} is not capable of some of the float |
| 715 |
% manipulation needed by \pkg{chemstyle}.} |
| 716 |
% |
| 717 |
%\subsection{Reference numbers in graphics} |
| 718 |
% |
| 719 |
% There are a number of packages available for tracking compound |
| 720 |
% reference numbers. The two with the most up to date and |
| 721 |
% comprehensive features are \pkg{bpchem} and \pkg{chemcompounds}. |
| 722 |
% Both allow in-text numbering to be handled automatically. However, |
| 723 |
% neither will allow the use of these numbers directly in schemes, |
| 724 |
% figures, \etc. Both leave it to the user to manually adapt schemes |
| 725 |
% to match any changes in numbering. |
| 726 |
% |
| 727 |
% The \pkg{chemscheme} package provides a mechanism for rectifying this |
| 728 |
% issue. The package makes use of the \pkg{psfrag} package, which |
| 729 |
% means that it can only directly produce DVI output (using \LaTeX). |
| 730 |
% However, direct PDF output using pdf\LaTeX\ is possible: see |
| 731 |
% Section~\ref{demo}. However, it \emph{will not work} with XeTeX |
| 732 |
% as the underlying \pkg{psfrag} package does not with XeTeX. |
| 733 |
% |
| 734 |
% Getting automated numbers into schemes is a two step procedure. In |
| 735 |
% the first step, schemes (or other graphics) should be prepared as |
| 736 |
% normal and saved as encapsulated postscript (EPS) files. The most |
| 737 |
% popular chemistry drawing package, \textsc{ChemDraw}, is able to do |
| 738 |
% this from the \texttt{Save As \ldots} dialogue. The positions where |
| 739 |
% the auto-labels should be have to be marked in the EPS file. The |
| 740 |
% marker should consist of an \enquote{indicator} that the text is to be |
| 741 |
% replaced, followed by a reference number or letter. For automated |
| 742 |
% substitution, the \enquote{indicator} text should be the same in all |
| 743 |
% graphics. |
| 744 |
% |
| 745 |
%\DescribeMacro{\schemeref} |
| 746 |
% In the second step, the command \cs{schemeref} is used to indicate |
| 747 |
% the mapping of the temporary markers to the automatically-managed |
| 748 |
% numbering. The syntax of the command is |
| 749 |
% \cs{chemschemeref}\oarg{temp-marker}\marg{label}, where |
| 750 |
% \meta{temp-marker} is the marker used in the graphic, and |
| 751 |
% \meta{label} is the name assigned to the compound by the user. By |
| 752 |
% default, \pkg{chemscheme} will assume that \meta{temp-marker} |
| 753 |
% consists of the marker plus a number, beginning at 1 and |
| 754 |
% incrementing by 1 for each additional structure inside one float. |
| 755 |
% Each replacement requires a separate \cs{chemschemeref}, all of |
| 756 |
% which should appear before the relevant \cs{includegraphics} command. |
| 757 |
% |
| 758 |
% An example will make usage clearer. In the example used in this |
| 759 |
% document, the starting material is given label \texttt{IMesHCl} and |
| 760 |
% the product is called \texttt{IMes}. As is shown in the next |
| 761 |
% example, in the EPS file these are labelled \textsf{TMP1} and |
| 762 |
% \textsf{TMP2}, respectively. The automated package defaults are |
| 763 |
% used. |
| 764 |
%\begin{LaTeXdemo}[code and float] |
| 765 |
% \begin{scheme}[ht] |
| 766 |
% \includegraphics{scheme-two} |
| 767 |
% \caption{A scheme with temporary compound numbers.} |
| 768 |
% \end{scheme} |
| 769 |
% \begin{scheme}[ht] |
| 770 |
% \schemeref{IMesHCl} |
| 771 |
% \schemeref{IMes} |
| 772 |
% \includegraphics{scheme-two} |
| 773 |
% \caption{A scheme with automated compound numbers.} |
| 774 |
% \end{scheme} |
| 775 |
%\end{LaTeXdemo} |
| 776 |
% If the marker text is given as an optional argument to |
| 777 |
% \cs{schemeref}, it must include the entire text to be matched. |
| 778 |
%\begin{LaTeXdemo}[code and float] |
| 779 |
% \begin{scheme}[ht] |
| 780 |
% \schemeref[TMP1]{IMesHCl} |
| 781 |
% \schemeref[TMP2]{IMes} |
| 782 |
% \includegraphics{scheme-two} |
| 783 |
% \caption{A scheme with explicitly numbered temporary labels.} |
| 784 |
% \end{scheme} |
| 785 |
%\end{LaTeXdemo} |
| 786 |
% Notice that the new label is centred on the middle of the temporary |
| 787 |
% marker, with the same baseline. This should allow the user to |
| 788 |
% obtain good alignment of labels and structures. |
| 789 |
% |
| 790 |
%\DescribeMacro{\schemerefmarker} |
| 791 |
% When using automatic substitution mode, the \enquote{marker} text to be |
| 792 |
% searched for is stored as \cs{schemerefmarker}, which has |
| 793 |
% default value \texttt{\schemerefmarker}. Thus the graphics should |
| 794 |
% contain labels \textsf{\schemerefmarker1}, \textsf{\schemerefmarker2}, |
| 795 |
% \emph{etc}. The value can be changed using \cs{renewcommand*}. |
| 796 |
% |
| 797 |
%\DescribeMacro{\schemerefformat} |
| 798 |
% The format of chemical references is controlled by the underlying |
| 799 |
% package, \pkg{bpchem} or \pkg{chemcompounds}. However, it is |
| 800 |
% useful to be able to specify additional formatting for schemes. By |
| 801 |
% default, \pkg{chemscheme} formats all reference numbers in a sans |
| 802 |
% serif font. This is controlled by \cs{schemerefformat}. |
| 803 |
%\begin{LaTeXdemo}[code and float] |
| 804 |
% % This needs the color or xcolor package loaded |
| 805 |
% \renewcommand*{\schemerefformat}{% |
| 806 |
% \color{magenta}\textit |
| 807 |
% }% |
| 808 |
% \begin{scheme}[ht] |
| 809 |
% \schemeref{IMesHCl} |
| 810 |
% \schemeref{IMes} |
| 811 |
% \includegraphics{scheme-two} |
| 812 |
% \caption{A scheme with altered label formatting.} |
| 813 |
% \end{scheme} |
| 814 |
%\end{LaTeXdemo} |
| 815 |
% |
| 816 |
%\DescribeMacro{\schemerefsub} |
| 817 |
% The \pkg{bpchem} package allows tracking of sub-labels (\textbf{1a}, |
| 818 |
% \textbf{1b}, \emph{etc.}). To allow use of these in schemes, the |
| 819 |
% \cs{schemerefsub} command is provided. This takes an additional |
| 820 |
% argument \marg{sub-label}, which is used to generate the |
| 821 |
% appropriate text. When used with \pkg{chemcompounds}, this command |
| 822 |
% will gobble its arguments and issue a warning; no substitution will |
| 823 |
% take place. |
| 824 |
% |
| 825 |
%\DescribeOption{tracking} |
| 826 |
% The choice of using \pkg{chemcompounds} or \pkg{bpchem} can be made |
| 827 |
% by giving the key--value option \opt{tracking=\meta{package}} when |
| 828 |
% loading \pkg{chemscheme}. This recognises the values \opt{bpchem} |
| 829 |
% and \opt{chemcompounds}, with the later as the default. |
| 830 |
% |
| 831 |
%\section{Horizontal positioning of all floats} |
| 832 |
% |
| 833 |
%\DescribeMacro{\floatcontentscentre} |
| 834 |
%\DescribeMacro{\floatcontentscenter} |
| 835 |
%\DescribeMacro{\floatcontentsleft} |
| 836 |
%\DescribeMacro{\floatcontentsright} |
| 837 |
% The \LaTeX\ default is to position all float contents flush-left. |
| 838 |
% There is no \enquote{hook} provided to alter this. The \pkg{chemscheme} |
| 839 |
% package therefore provides commands to align all float contents |
| 840 |
% automatically. As the macro names make clear, |
| 841 |
% \cs{floatcontentscentre} will make all floats centred (for users |
| 842 |
% speaking U.S.~English, the alternative spelling |
| 843 |
% \cs{floatcontentscenter} is also available). The default behaviour |
| 844 |
% is restored using the command \cs{floatcontentsleft}. Finally, |
| 845 |
% \cs{floatcontentsright} is provided for use if needed. Notice that |
| 846 |
% the float positioning commands should be given \emph{outside} |
| 847 |
% floating environments, and apply to all subsequent floats. |
| 848 |
%\begin{LaTeXdemo}[code and float] |
| 849 |
% \floatcontentsleft |
| 850 |
% \begin{scheme}[ht] |
| 851 |
% \includegraphics{scheme-one} |
| 852 |
% \caption{A flush-left scheme.} |
| 853 |
% \end{scheme} |
| 854 |
% \floatcontentsright |
| 855 |
% \begin{scheme}[ht] |
| 856 |
% \includegraphics{scheme-one} |
| 857 |
% \caption{A flush-right scheme.} |
| 858 |
% \end{scheme} |
| 859 |
% \floatcontentscentre |
| 860 |
%\end{LaTeXdemo} |
| 861 |
% |
| 862 |
% It is important to note that the positioning mechanism used here |
| 863 |
% relies on a low-level hack of the \LaTeX\ kernel. This has been |
| 864 |
% tested with the standard \LaTeX\ classes, the \pkg{memoir} class |
| 865 |
% and the \textsc{koma}-Script bundled. Other document classes may |
| 866 |
% not give the desired behaviour. |
| 867 |
% |
| 868 |
%\section{Some thoughts on generating chemical schemes} |
| 869 |
% |
| 870 |
%\subsection{Overview} |
| 871 |
% There are a number of ways of generating the graphical content of |
| 872 |
% schemes. The choice of method will depend on what is available to |
| 873 |
% the user, and how complex the schemes desired are. In this section, |
| 874 |
% an overview of several approaches is given.\footnote{Thanks to |
| 875 |
% Norwid-R.\ Behrnd for suggesting this section and giving a number |
| 876 |
% of useful examples and tips.} The package author, who is a |
| 877 |
% research worker in a university, favours using \textsc{ChemDraw} as |
| 878 |
% it is regarded by many synthetic chemists as the best tool for this |
| 879 |
% job. However, this is clearly overkill for users requiring a |
| 880 |
% single diagram on a one-off basis. \textsc{ChemDraw} is also a |
| 881 |
% commercial package running only under Windows and MacOS X. The |
| 882 |
% following is necessarily somewhat brief and selective. |
| 883 |
% |
| 884 |
%\subsection{Macro-based methods} |
| 885 |
% At the most basic, a chemical scheme is simply a collection of |
| 886 |
% lines and symbols, as with any vector diagram. Hence, it is |
| 887 |
% possible to construct schemes directly using packages such as |
| 888 |
% PSTricks or \pkg{pgf}/Ti\emph{k}z. This is a complex method, and |
| 889 |
% cannot be recommended for anyone except the very experienced and |
| 890 |
% brave. |
| 891 |
% |
| 892 |
% At a more practical level, there are two packages available which |
| 893 |
% allow typesetting of chemical structures in \TeX, using |
| 894 |
% specialised commands: XyM\TeX\ and ppch\TeX. Recent versions of |
| 895 |
% the XyM\TeX\ package have not been made available on \textsc{CTAN}, |
| 896 |
% and the version held there is therefore considered to be obsolete. |
| 897 |
% On the |
| 898 |
% other hand, the ppch\TeX\ system, developed originally for |
| 899 |
% Con\TeX{}t, is available. Both systems suffer from the lack of |
| 900 |
% chemical logic in the input: it is very hard to tell from the code |
| 901 |
% what is being represented. Drawing items such as \enquote{curly arrows}, |
| 902 |
% or making subtle alterations to positioning, is very challenging in |
| 903 |
% purely macro-based systems. For these reasons, it is usually much |
| 904 |
% more sensible to examine the available graphical methods. |
| 905 |
% |
| 906 |
%\subsection{Graphical methods} |
| 907 |
% |
| 908 |
% Moving to graphical systems, there is no reason that |
| 909 |
% general-purpose vector drawing packages cannot be used for schemes. |
| 910 |
% There are obviously several commercial (\textsc{CorelDraw}, |
| 911 |
% \textsc{Adobe Illustrator}, \etc) and freeware (for example |
| 912 |
% the \textsc{gimp}) drawing packages that can be used in this way. |
| 913 |
% Simply rings and lines can easily be constructed, although in |
| 914 |
% general-purpose programs the user has to watch that all bonds |
| 915 |
% are the same length. |
| 916 |
% |
| 917 |
% For producing a large number of complex schemes, the particular |
| 918 |
% abilities of dedicated software become a necessity. As well as the |
| 919 |
% already-mentioned \textsc{ChemDraw}, programs such as \textsc{ISIS |
| 920 |
% Draw} and \textsc{ChemSketch} are available free for personal |
| 921 |
% use;\footnote{\enquote{Free} as in without charge, not as in open |
| 922 |
% source.} these programs are all Windows specific. In the |
| 923 |
% open-source arena, there are a number of packages such as |
| 924 |
% \textsc{XDrawChem} and \textsc{BKchem}, which offer cross-platform |
| 925 |
% functionality. The differences between the various packages are in |
| 926 |
% the ease of use, and ability to generate well-formatted output (for |
| 927 |
% example, aligning structures). A more recent addition to this |
| 928 |
% group of packages is the cross-platform \textsc{ChemDoodle}, which |
| 929 |
% look promising but is not free in any sense. |
| 930 |
% |
| 931 |
% One which deserves mention for the \TeX\ user is TpX. This is a |
| 932 |
% general purpose Windows graphics program specifically aimed at |
| 933 |
% producing \TeX-friendly output (such as PSTricks and Ti\emph{k}z |
| 934 |
% code) from a graphical interface. TpX can accept clipboard data |
| 935 |
% from other programs, so can be used to produce EPS files from |
| 936 |
% programs which do not have native export facilities (such as |
| 937 |
% \textsc{ISIS Draw}). |
| 938 |
% |
| 939 |
%\section{Additional information} |
| 940 |
% |
| 941 |
%\subsection{Interactions with other packages} |
| 942 |
% |
| 943 |
% \pkg{chemstyle} and \pkg{chemscheme} are designed to avoid, as far as |
| 944 |
% possible, clashes with other packages. The standard packages |
| 945 |
% \pkg{graphicx} and \pkg{varioref} are used by the bundle. If you |
| 946 |
% need to load these with specific options, this needs to be done |
| 947 |
% \emph{before} loading \pkg{chemstyle} (or \pkg{chemscheme}). |
| 948 |
% |
| 949 |
%\subsection{Captions above floats} |
| 950 |
% |
| 951 |
% The \texttt{scheme} float type is generated using either the |
| 952 |
% \pkg{float} or \pkg{floatrow} package. This has the side-effect |
| 953 |
% that the placement of captions for floats does not depended on |
| 954 |
% where the \cs{caption} command comes inside the floating |
| 955 |
% environment.\footnote{Normally this is a good thing.} If you wish |
| 956 |
% to alter the placement of captions, the mechanism of the underlying |
| 957 |
% package will be needed. There are some subtle differences between |
| 958 |
% the two: although \pkg{floatrow} provides the \pkg{float} macros, |
| 959 |
% they are not all $100\,\%$ compatible. This document is compiled |
| 960 |
% using \pkg{floatrow}, and so to fix the position of captions the |
| 961 |
% following code is appropriate. |
| 962 |
%\begin{LaTeXdemo}[code and float] |
| 963 |
% \begin{table}[ht] |
| 964 |
% \fbox{First float contents} |
| 965 |
% \caption{A caption below the float contents in the source.} |
| 966 |
% \end{table} |
| 967 |
% \floatsetup[table]{style=plain} |
| 968 |
% \begin{table}[ht] |
| 969 |
% \fbox{Second float contents} |
| 970 |
% \caption{A second caption below the float contents in the source.} |
| 971 |
% \end{table} |
| 972 |
%\end{LaTeXdemo} |
| 973 |
% Using the \pkg{float} package, the same effect is achieved using: |
| 974 |
%\begin{LaTeXdemo}[code only] |
| 975 |
% \begin{table}[ht] |
| 976 |
% \fbox{First float contents} |
| 977 |
% \caption{A caption below the float contents in the source.} |
| 978 |
% \end{table} |
| 979 |
% \floatstyle{plain} |
| 980 |
% \restylefloat{table} |
| 981 |
% \begin{table}[ht] |
| 982 |
% \fbox{Second float contents} |
| 983 |
% \caption{A second caption below the float contents in the source.} |
| 984 |
% \end{table} |
| 985 |
%\end{LaTeXdemo} |
| 986 |
% |
| 987 |
%\section{A demonstration file\label{demo}} |
| 988 |
% |
| 989 |
% This is a simple demonstration file for using the \pkg{chemstyle} |
| 990 |
% package. By using the \pkg{auto-pst-pdf} package, it is possible to |
| 991 |
% use EPS graphics with pdf\LaTeX. |
| 992 |
% \begin{macrocode} |
| 993 |
%<*demo> |
| 994 |
\documentclass[a4paper]{article} |
| 995 |
\usepackage[T1]{fontenc} % Modern font encoding |
| 996 |
\usepackage[runs=2]{auto-pst-pdf} % Use EPS graphics with pdfLaTeX |
| 997 |
\usepackage{booktabs} % Better table layouts |
| 998 |
\usepackage[journal=rsc]{chemstyle} % Of course! |
| 999 |
\usepackage{geometry} % Easy page layout |
| 1000 |
\usepackage{lmodern} % Use Latin Modern fonts |
| 1001 |
\usepackage[version=3]{mhchem} % Formula subscripts using \ce{} |
| 1002 |
\begin{document} |
| 1003 |
\end{document} |
| 1004 |
%</demo> |
| 1005 |
% \end{macrocode} |
| 1006 |
% |
| 1007 |
%\StopEventually{^^A |
| 1008 |
% \PrintChanges |
| 1009 |
% \PrintIndex |
| 1010 |
%} |
| 1011 |
% |
| 1012 |
%\section{Implementation} |
| 1013 |
% |
| 1014 |
% A few support packages. |
| 1015 |
% \begin{macrocode} |
| 1016 |
%<*package> |
| 1017 |
\ProvidesPackage{chemstyle} |
| 1018 |
[2013/07/03 v2.0m Schemes and style for chemistry] |
| 1019 |
\RequirePackage{amstext,caption,chemscheme,xspace} |
| 1020 |
\SetupKeyvalOptions{ |
| 1021 |
family=cst, |
| 1022 |
prefix=cst@ |
| 1023 |
} |
| 1024 |
% \end{macrocode} |
| 1025 |
% |
| 1026 |
% Users of the \pkg{achemso} class should not load \pkg{chemstyle}. |
| 1027 |
% \begin{macrocode} |
| 1028 |
\@ifclassloaded{achemso} |
| 1029 |
{ |
| 1030 |
\PackageWarning{chemstyle} |
| 1031 |
{% |
| 1032 |
The chemstyle package should not\MessageBreak |
| 1033 |
be used with the achemso class:\MessageBreak |
| 1034 |
loading chemstyle will abort% |
| 1035 |
} |
| 1036 |
\endinput |
| 1037 |
} |
| 1038 |
{} |
| 1039 |
% \end{macrocode} |
| 1040 |
% |
| 1041 |
%\begin{macro}{\cst@tempa} |
| 1042 |
% A temporary macro. |
| 1043 |
% \begin{macrocode} |
| 1044 |
\newcommand*\cst@tempa{} |
| 1045 |
% \end{macrocode} |
| 1046 |
%\end{macro} |
| 1047 |
% |
| 1048 |
%\begin{macro}{\ifcst@abbrcomma} |
| 1049 |
%\begin{macro}{\ifcst@abbremph} |
| 1050 |
%\begin{macro}{\ifcst@notesbefore} |
| 1051 |
%\begin{macro}{\ifcst@phrases} |
| 1052 |
%\begin{macro}{\ifcst@rademph} |
| 1053 |
%\begin{macro}{\ifcst@radhyphen} |
| 1054 |
%\begin{macro}{\ifcst@radpreix} |
| 1055 |
%\begin{macro}{\ifcst@radsuper} |
| 1056 |
%\begin{macro}{\ifcst@varioref} |
| 1057 |
%\begin{macro}{\ifcst@xspace} |
| 1058 |
% Some simple Boolean options. |
| 1059 |
% \begin{macrocode} |
| 1060 |
\DeclareBoolOption[false]{abbrcomma} |
| 1061 |
\DeclareBoolOption[true]{abbremph} |
| 1062 |
\DeclareBoolOption[true]{notesbefore} |
| 1063 |
\DeclareBoolOption[true]{phrases} |
| 1064 |
\DeclareComplementaryOption{nophrases}{phrases} |
| 1065 |
\DeclareBoolOption[true]{rademph} |
| 1066 |
\DeclareBoolOption[true]{radhyphen} |
| 1067 |
\DeclareBoolOption[true]{radprefix} |
| 1068 |
\DeclareBoolOption[false]{radsuper} |
| 1069 |
\DeclareBoolOption[true]{varioref} |
| 1070 |
\DeclareBoolOption[true]{xspace} |
| 1071 |
% \end{macrocode} |
| 1072 |
%\end{macro} |
| 1073 |
%\end{macro} |
| 1074 |
%\end{macro} |
| 1075 |
%\end{macro} |
| 1076 |
%\end{macro} |
| 1077 |
%\end{macro} |
| 1078 |
%\end{macro} |
| 1079 |
%\end{macro} |
| 1080 |
%\end{macro} |
| 1081 |
%\end{macro} |
| 1082 |
% |
| 1083 |
%\begin{macro}{\cst@language} |
| 1084 |
%\begin{macro}{\cst@journal} |
| 1085 |
% Simple string options. |
| 1086 |
% \begin{macrocode} |
| 1087 |
\DeclareStringOption{journal} |
| 1088 |
\DeclareDefaultOption{% |
| 1089 |
\ifx\CurrentOptionValue\relax |
| 1090 |
\edef\cst@journal{\CurrentOptionKey}% |
| 1091 |
\else |
| 1092 |
\PackageWarning{chemstyle}{% |
| 1093 |
Unknown key option `\CurrentOptionKey'% |
| 1094 |
}% |
| 1095 |
\fi |
| 1096 |
} |
| 1097 |
\DeclareStringOption{language} |
| 1098 |
\setkeys{cst}{% |
| 1099 |
journal = , |
| 1100 |
language = english, |
| 1101 |
varioref = true |
| 1102 |
} |
| 1103 |
% \end{macrocode} |
| 1104 |
%\end{macro} |
| 1105 |
%\end{macro} |
| 1106 |
% |
| 1107 |
%\begin{macro}{\ifcst@notes} |
| 1108 |
%\begin{macro}{\ifcst@autonotes} |
| 1109 |
%\begin{macro}{\cst@opt@auto} |
| 1110 |
%\begin{macro}{\cst@opt@notestrue} |
| 1111 |
%\begin{macro}{\cst@opt@notesfalse} |
| 1112 |
%\begin{macro}{\cst@opt@notesauto} |
| 1113 |
%\begin{macro}{\cst@opt@noteserror} |
| 1114 |
% For the \opt{notes} option, there are three possible values. Some of |
| 1115 |
% the internal code of \pkg{kvoptions} is borrowed and modified to keep |
| 1116 |
% things simple. |
| 1117 |
% \begin{macrocode} |
| 1118 |
\newif\ifcst@notes |
| 1119 |
\newif\ifcst@autonotes |
| 1120 |
\newcommand*\cst@opt@auto{auto} |
| 1121 |
\define@key{cst}{notes}[true]{% |
| 1122 |
\edef\KVO@param{#1}% |
| 1123 |
\@onelevel@sanitize\KVO@param |
| 1124 |
\ifx\KVO@param\KVO@true |
| 1125 |
\expandafter\cst@opt@notestrue |
| 1126 |
\else |
| 1127 |
\ifx\KVO@param\KVO@false |
| 1128 |
\expandafter\expandafter\expandafter\cst@opt@notesfalse |
| 1129 |
\else |
| 1130 |
\ifx\KVO@param\cst@opt@auto |
| 1131 |
\expandafter\expandafter\expandafter\expandafter\expandafter |
| 1132 |
\expandafter\expandafter\cst@opt@notesauto |
| 1133 |
\else |
| 1134 |
\expandafter\expandafter\expandafter\expandafter\expandafter |
| 1135 |
\expandafter\expandafter\cst@opt@noteserror |
| 1136 |
\fi |
| 1137 |
\fi |
| 1138 |
\fi |
| 1139 |
} |
| 1140 |
\newcommand*\cst@opt@notestrue{% |
| 1141 |
\cst@notestrue |
| 1142 |
\cst@autonotesfalse |
| 1143 |
} |
| 1144 |
\newcommand*\cst@opt@notesfalse{% |
| 1145 |
\cst@notesfalse |
| 1146 |
\cst@autonotesfalse |
| 1147 |
} |
| 1148 |
\newcommand*\cst@opt@notesauto{% |
| 1149 |
\cst@notestrue |
| 1150 |
\cst@autonotestrue |
| 1151 |
} |
| 1152 |
\newcommand*\cst@opt@noteserror{% |
| 1153 |
\PackageWarning{chemstyle}{% |
| 1154 |
Value `\KVO@param' is not supported by\MessageBreak |
| 1155 |
option `notes'% |
| 1156 |
}% |
| 1157 |
} |
| 1158 |
\DeclareComplementaryOption{nonotes}{notes} |
| 1159 |
% \end{macrocode} |
| 1160 |
%\end{macro} |
| 1161 |
%\end{macro} |
| 1162 |
%\end{macro} |
| 1163 |
%\end{macro} |
| 1164 |
%\end{macro} |
| 1165 |
%\end{macro} |
| 1166 |
%\end{macro} |
| 1167 |
% |
| 1168 |
%\begin{macro}{\cstsetup} |
| 1169 |
% For allowing run-time changes. |
| 1170 |
% \begin{macrocode} |
| 1171 |
\newcommand*\cstsetup{% |
| 1172 |
\setkeys{cst} |
| 1173 |
} |
| 1174 |
% \end{macrocode} |
| 1175 |
%\end{macro} |
| 1176 |
% |
| 1177 |
%\begin{macro}{\cst@xspace} |
| 1178 |
% A re-usable \cs{xspace}-based macro. |
| 1179 |
% \begin{macrocode} |
| 1180 |
\newcommand*\cst@xspace{% |
| 1181 |
\ifcst@xspace |
| 1182 |
\expandafter\xspace |
| 1183 |
\fi |
| 1184 |
} |
| 1185 |
% \end{macrocode} |
| 1186 |
%\end{macro} |
| 1187 |
% |
| 1188 |
%\subsection{Extra units} |
| 1189 |
% |
| 1190 |
%\begin{macro}{\cmc} |
| 1191 |
%\begin{macro}{\Hz} |
| 1192 |
%\begin{macro}{\cubiccentimeter} |
| 1193 |
%\begin{macro}{\Molar} |
| 1194 |
%\begin{macro}{\molar} |
| 1195 |
%\begin{macro}{\mmHg} |
| 1196 |
%\begin{macro}{\mol} |
| 1197 |
%\changes{v2.0d}{2009/11/26}{Fix bug with \pkg{KOMA-Script}} |
| 1198 |
% The units are provided if necessary. |
| 1199 |
% \begin{macrocode} |
| 1200 |
\@ifpackageloaded{siunitx}{% |
| 1201 |
}{% |
| 1202 |
\@ifpackageloaded{SIunits}{}{% |
| 1203 |
\@ifpackageloaded{unitsdef}{}{% |
| 1204 |
\IfFileExists{siunitx.sty}{% |
| 1205 |
\RequirePackage{siunitx} |
| 1206 |
}{% |
| 1207 |
\IfFileExists{SIunits.sty}{% |
| 1208 |
\RequirePackage{SIunits} |
| 1209 |
}{% |
| 1210 |
\PackageWarning{chemstyle}{% |
| 1211 |
Could not find siunitx or SIunits package:\MessageBreak |
| 1212 |
additional units not defined% |
| 1213 |
} |
| 1214 |
} |
| 1215 |
} |
| 1216 |
} |
| 1217 |
} |
| 1218 |
} |
| 1219 |
\@ifpackageloaded{siunitx}{% |
| 1220 |
\sisetup{load-configurations = abbreviations} |
| 1221 |
\DeclareSIUnit\cubiccentimeter{\cubic\centi\metre} |
| 1222 |
\DeclareSIUnit\cmc{\cubic\centi\metre} |
| 1223 |
\DeclareSIUnit\molar{\mole\per\cubic\deci\metre} |
| 1224 |
\DeclareSIUnit\Molar{\textsc{m}} |
| 1225 |
\DeclareSIUnit\torr{torr} |
| 1226 |
\sisetup{load-configurations = abbreviations} |
| 1227 |
}{} |
| 1228 |
\@ifpackageloaded{SIunits}{% |
| 1229 |
\newcommand*\cubiccentimeter{\centi\metre\cubed} |
| 1230 |
\newcommand*\Molar{\textsc{m}} |
| 1231 |
\newcommand*\molar{\mole\usk\deci\metre\rpcubed} |
| 1232 |
\newcommand*\mmHg{\milli\metre Hg} |
| 1233 |
\newcommand*\mol{\mole} |
| 1234 |
\newcommand*\cmc{\cubiccentimeter} |
| 1235 |
\newcommand*\Hz{\hertz} |
| 1236 |
}{% |
| 1237 |
\@ifpackageloaded{unitsdef}{% |
| 1238 |
\newunit{\cubiccentimeter}{\cm\unitsuperscript{3}} |
| 1239 |
\newunit{\Molar}{\textsc{m}} |
| 1240 |
\newunit{\molar}{\mole\unitsep\dm\unitsuperscript{--3}} |
| 1241 |
\newunit{\mmHg}{mmHg} |
| 1242 |
\newunit{\mol}{\mole} |
| 1243 |
\newcommand*\cmc{\cubiccentimeter} |
| 1244 |
\newcommand*\Hz{\hertz} |
| 1245 |
}{} |
| 1246 |
} |
| 1247 |
% \end{macrocode} |
| 1248 |
%\end{macro} |
| 1249 |
%\end{macro} |
| 1250 |
%\end{macro} |
| 1251 |
%\end{macro} |
| 1252 |
%\end{macro} |
| 1253 |
%\end{macro} |
| 1254 |
%\end{macro} |
| 1255 |
% |
| 1256 |
%\subsection{Standard state symbol} |
| 1257 |
% |
| 1258 |
%\begin{macro}{\standardstate} |
| 1259 |
%\begin{macro}{\cst@standardstate} |
| 1260 |
%\begin{macro}{\cst@standardstate@aux} |
| 1261 |
% The \enquote{standard state} symbol is handy. This definition is adapted |
| 1262 |
% from one posted several times to \texttt{comp.text.tex} by Donald |
| 1263 |
% Arseneau. |
| 1264 |
% \begin{macrocode} |
| 1265 |
\providecommand*\standardstate{% |
| 1266 |
{% |
| 1267 |
\ensuremath{\protect\cst@standardstate}% |
| 1268 |
}% |
| 1269 |
} |
| 1270 |
\newcommand*\cst@standardstate{% |
| 1271 |
\mathpalette\cst@standardstate@aux\circ |
| 1272 |
} |
| 1273 |
\newcommand*\cst@standardstate@aux[2]{% |
| 1274 |
\ooalign{% |
| 1275 |
\hfil |
| 1276 |
$#1-$% |
| 1277 |
\hfil |
| 1278 |
\cr |
| 1279 |
\hfil |
| 1280 |
$#1#2$% |
| 1281 |
\hfil |
| 1282 |
\cr |
| 1283 |
}% |
| 1284 |
} |
| 1285 |
% \end{macrocode} |
| 1286 |
%\end{macro} |
| 1287 |
%\end{macro} |
| 1288 |
%\end{macro} |
| 1289 |
% |
| 1290 |
%\subsection{Latin phrases} |
| 1291 |
% |
| 1292 |
%\begin{macro}{\latin} |
| 1293 |
%\begin{macro}{\cst@latin} |
| 1294 |
%\begin{macro}{\latinemphon} |
| 1295 |
%\begin{macro}{\latinemphoff} |
| 1296 |
% A series of Latin phrases are provided, with a quick switch to |
| 1297 |
% print them in Roman letters if needed. A mechanism is needed to |
| 1298 |
% alter the effect of the \cs{latin} command \emph{only} if the user |
| 1299 |
% does not have their own version. This is achieved here, with |
| 1300 |
% precautions taken to ensure the user can define their own |
| 1301 |
% \cs{latin} command \emph{after} loading \pkg{chemstyle} and still have |
| 1302 |
% everything work properly. |
| 1303 |
% \begin{macrocode} |
| 1304 |
\newcommand*\cst@latin{% |
| 1305 |
\ifcst@abbremph |
| 1306 |
\expandafter\emph |
| 1307 |
\else |
| 1308 |
\expandafter\@firstofone |
| 1309 |
\fi |
| 1310 |
} |
| 1311 |
\newcommand*{\latinemphon}{% |
| 1312 |
\cstsetup{abbremph=true}% |
| 1313 |
} |
| 1314 |
\newcommand*{\latinemphoff}{% |
| 1315 |
\cstsetup{abbremph=false}% |
| 1316 |
} |
| 1317 |
\AtBeginDocument{% |
| 1318 |
\providecommand*\latin{\cst@latin}% |
| 1319 |
} |
| 1320 |
% \end{macrocode} |
| 1321 |
%\end{macro} |
| 1322 |
%\end{macro} |
| 1323 |
%\end{macro} |
| 1324 |
%\end{macro} |
| 1325 |
% |
| 1326 |
%\begin{macro}{\cst@phrases@make} |
| 1327 |
%\begin{macro}{\eg} |
| 1328 |
%\begin{macro}{\etal} |
| 1329 |
%\begin{macro}{\etc} |
| 1330 |
%\begin{macro}{\ie} |
| 1331 |
%\begin{macro}{\invacuo} |
| 1332 |
% The outer functions for phrases are simple. |
| 1333 |
% \begin{macrocode} |
| 1334 |
\newcommand*\cst@phrases@make{% |
| 1335 |
\providecommand*\etal{% |
| 1336 |
\cst@phrase{et~al}% |
| 1337 |
}% |
| 1338 |
\providecommand*\eg{% |
| 1339 |
\cst@phrase@comma{e.g\spacefactor999\relax}% |
| 1340 |
}% |
| 1341 |
\providecommand*\etc{% |
| 1342 |
\cst@phrase{etc}% |
| 1343 |
}% |
| 1344 |
\providecommand*\ie{% |
| 1345 |
\cst@phrase@comma{i.e\spacefactor999\relax}% |
| 1346 |
}% |
| 1347 |
\providecommand*\invacuo{% |
| 1348 |
\latin{in vacuo}% |
| 1349 |
\cst@xspace |
| 1350 |
}% |
| 1351 |
} |
| 1352 |
\AtBeginDocument{% |
| 1353 |
\ifcst@phrases |
| 1354 |
\expandafter\cst@phrases@make |
| 1355 |
\fi |
| 1356 |
} |
| 1357 |
% \end{macrocode} |
| 1358 |
% \end{macro} |
| 1359 |
% \end{macro} |
| 1360 |
% \end{macro} |
| 1361 |
% \end{macro} |
| 1362 |
% \end{macro} |
| 1363 |
% \end{macro} |
| 1364 |
% |
| 1365 |
%\begin{macro}{\cst@phrase} |
| 1366 |
%\begin{macro}{\cst@phrase@comma} |
| 1367 |
% For phrases which never have a comma, life is easy. If there may be a |
| 1368 |
% comma to add, the flag is checked before proceeding. |
| 1369 |
% \begin{macrocode} |
| 1370 |
\newcommand*\cst@phrase[1]{% |
| 1371 |
\latin{#1}% |
| 1372 |
\@ifnextchar.{}{% |
| 1373 |
.% |
| 1374 |
\cst@xspace |
| 1375 |
}% |
| 1376 |
} |
| 1377 |
\newcommand*\cst@phrase@comma{% |
| 1378 |
\ifcst@abbrcomma |
| 1379 |
\expandafter\cst@phrase@with@comma |
| 1380 |
\else |
| 1381 |
\expandafter\cst@phrase |
| 1382 |
\fi |
| 1383 |
} |
| 1384 |
% \end{macrocode} |
| 1385 |
%\end{macro} |
| 1386 |
%\end{macro} |
| 1387 |
%\begin{macro}{\cst@phrase@with@comma} |
| 1388 |
%\begin{macro}{\cst@phrase@with@comma@token} |
| 1389 |
%\begin{macro}{\cst@phrase@with@comma@aux@i} |
| 1390 |
%\begin{macro}{\cst@phrase@with@comma@aux@ii} |
| 1391 |
%\begin{macro}{\cst@phrase@with@comma@end} |
| 1392 |
%\begin{macro}{\cst@phrase@with@comma@next} |
| 1393 |
% If a comma is needed, the macros here search through the trailing |
| 1394 |
% punctuation and gobble all of commas and full-stops. The appropriate |
| 1395 |
% punctuation is then added. Notice that the \cs{relax} here is |
| 1396 |
% important, and that the test is category-code neural. |
| 1397 |
% \begin{macrocode} |
| 1398 |
\newcommand*\cst@phrase@with@comma[1]{% |
| 1399 |
\latin{#1}% |
| 1400 |
\cst@phrase@with@comma@aux@i\relax |
| 1401 |
} |
| 1402 |
\newcommand*\cst@phrase@with@comma@token{} |
| 1403 |
\newcommand*\cst@phrase@with@comma@aux@i[1]{% |
| 1404 |
\futurelet\cst@phrase@with@comma@token\cst@phrase@with@comma@aux@ii |
| 1405 |
} |
| 1406 |
\newcommand*\cst@phrase@with@comma@aux@ii{% |
| 1407 |
\let\cst@phrase@with@comma@next\cst@phrase@with@comma@aux@i |
| 1408 |
\if.\cst@phrase@with@comma@token\else |
| 1409 |
\if,\cst@phrase@with@comma@token\else |
| 1410 |
\let\cst@phrase@with@comma@next\cst@phrase@with@comma@end |
| 1411 |
\fi |
| 1412 |
\fi |
| 1413 |
\cst@phrase@with@comma@next |
| 1414 |
} |
| 1415 |
\newcommand*\cst@phrase@with@comma@end{% |
| 1416 |
.,% |
| 1417 |
\cst@xspace |
| 1418 |
} |
| 1419 |
\newcommand*\cst@phrase@with@comma@next{} |
| 1420 |
% \end{macrocode} |
| 1421 |
%\end{macro} |
| 1422 |
%\end{macro} |
| 1423 |
%\end{macro} |
| 1424 |
%\end{macro} |
| 1425 |
%\end{macro} |
| 1426 |
%\end{macro} |
| 1427 |
% |
| 1428 |
%\subsection{Alkyl radicals} |
| 1429 |
% |
| 1430 |
%\begin{macro}{\cst@radical@make} |
| 1431 |
% The \cs{cst@radical@amke} macro does the hard work of declaring each |
| 1432 |
% abbreviation. The commands are made robust so they can (hopefully) |
| 1433 |
% be used anywhere. |
| 1434 |
% \begin{macrocode} |
| 1435 |
\newcommand*\cst@radical@make[2]{% |
| 1436 |
\expandafter\DeclareRobustCommand\expandafter*\csname #1#2\endcsname{% |
| 1437 |
\text{\cst@radical{#1}{#2}}% |
| 1438 |
\cst@xspace |
| 1439 |
}% |
| 1440 |
} |
| 1441 |
% \end{macrocode} |
| 1442 |
%\end{macro} |
| 1443 |
% |
| 1444 |
%\begin{macro}{\nPr} |
| 1445 |
%\begin{macro}{\iPr} |
| 1446 |
%\begin{macro}{\nBu} |
| 1447 |
%\begin{macro}{\iBu} |
| 1448 |
%\begin{macro}{\sBu} |
| 1449 |
%\begin{macro}{\tBu} |
| 1450 |
% With a mechanism in place, the abbreviations are declared. The |
| 1451 |
% format of the resulting output will depend upon the configuration |
| 1452 |
% file used. |
| 1453 |
% \begin{macrocode} |
| 1454 |
\cst@radical@make{n}{Pr} |
| 1455 |
\cst@radical@make{i}{Pr} |
| 1456 |
\cst@radical@make{n}{Bu} |
| 1457 |
\cst@radical@make{i}{Bu} |
| 1458 |
\cst@radical@make{s}{Bu} |
| 1459 |
\cst@radical@make{t}{Bu} |
| 1460 |
% \end{macrocode} |
| 1461 |
%\end{macro} |
| 1462 |
%\end{macro} |
| 1463 |
%\end{macro} |
| 1464 |
%\end{macro} |
| 1465 |
%\end{macro} |
| 1466 |
%\end{macro} |
| 1467 |
% |
| 1468 |
%\begin{macro}{\cst@radical@emph} |
| 1469 |
%\begin{macro}{\cst@radical@hyphen} |
| 1470 |
%\begin{macro}{\cst@radical@hyphen@false} |
| 1471 |
%\begin{macro}{\cst@radical@super} |
| 1472 |
% A few set up macros. |
| 1473 |
% \begin{macrocode} |
| 1474 |
\newcommand*\cst@radical@emph{} |
| 1475 |
\newcommand*\cst@radical@hyphen{} |
| 1476 |
\newcommand*\cst@radical@hyphen@true{-} |
| 1477 |
\newcommand*\cst@radical@super{} |
| 1478 |
% \end{macrocode} |
| 1479 |
%\end{macro} |
| 1480 |
%\end{macro} |
| 1481 |
%\end{macro} |
| 1482 |
%\end{macro} |
| 1483 |
% |
| 1484 |
%\begin{macro}{\cst@radical} |
| 1485 |
%\begin{macro}{\cst@radical@pre} |
| 1486 |
%\begin{macro}{\cst@radical@post} |
| 1487 |
% The main body functions set everything up carefully, then actually |
| 1488 |
% prints things. |
| 1489 |
% \begin{macrocode} |
| 1490 |
\newcommand*\cst@radical{% |
| 1491 |
\let\cst@radical@emph\@firstofone |
| 1492 |
\ifcst@rademph |
| 1493 |
\let\cst@radical@emph\emph |
| 1494 |
\fi |
| 1495 |
\let\cst@radical@hyphen\relax |
| 1496 |
\ifcst@radhyphen |
| 1497 |
\let\cst@radical@hyphen\cst@radical@hyphen@true |
| 1498 |
\fi |
| 1499 |
\let\cst@radical@super\@firstofone |
| 1500 |
\ifcst@radsuper |
| 1501 |
\let\cst@radical@super\textsuperscript |
| 1502 |
\fi |
| 1503 |
\ifcst@radprefix |
| 1504 |
\expandafter\cst@radical@pre |
| 1505 |
\else |
| 1506 |
\expandafter\cst@radical@post |
| 1507 |
\fi |
| 1508 |
} |
| 1509 |
\newcommand*\cst@radical@pre[2]{% |
| 1510 |
\cst@radical@super{% |
| 1511 |
\cst@radical@emph{#1}% |
| 1512 |
}% |
| 1513 |
\cst@radical@hyphen |
| 1514 |
#2% |
| 1515 |
} |
| 1516 |
\newcommand*\cst@radical@post[2]{% |
| 1517 |
#2% |
| 1518 |
\cst@radical@hyphen |
| 1519 |
\cst@radical@super{% |
| 1520 |
\cst@radical@emph{#1}% |
| 1521 |
}% |
| 1522 |
} |
| 1523 |
% \end{macrocode} |
| 1524 |
%\end{macro} |
| 1525 |
%\end{macro} |
| 1526 |
%\end{macro} |
| 1527 |
% |
| 1528 |
% \subsection{Handling reference section naming} |
| 1529 |
% |
| 1530 |
%\begin{macro}{bibnote} |
| 1531 |
%\changes{v2.0h}{2010/04/13}{Only define bibnote counter if not done |
| 1532 |
% elsewhere} |
| 1533 |
% For the \opt{notes=auto} option, the \LaTeX\ counter \texttt{bibnote} |
| 1534 |
% needs to be defined even if \pkg{notes2bib} is not loaded. |
| 1535 |
% \begin{macrocode} |
| 1536 |
\AtBeginDocument{\@ifundefined{c@bibnote}{\newcounter{bibnote}}{}} |
| 1537 |
% \end{macrocode} |
| 1538 |
%\end{macro} |
| 1539 |
% |
| 1540 |
%\begin{macro}{\cst@refsec@name} |
| 1541 |
%\begin{macro}{\cst@refsec@find} |
| 1542 |
%\begin{macro}{\cst@refsec@find@aux} |
| 1543 |
%\begin{macro}{\cst@refsec@set@name} |
| 1544 |
% A search for the references section: if this ends up empty then there |
| 1545 |
% is no section and later code will not do anything. This is used to |
| 1546 |
% disable the relevant code if \opt{notes=false} is set. |
| 1547 |
% \begin{macrocode} |
| 1548 |
\newcommand*\cst@refsec@name{} |
| 1549 |
\newcommand*\cst@refsec@find[1]{% |
| 1550 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 1551 |
\expandafter\ifx\csname #1\endcsname\relax |
| 1552 |
\expandafter\cst@refsec@set@name |
| 1553 |
\else |
| 1554 |
\expandafter\@gobble |
| 1555 |
\fi |
| 1556 |
{#1}% |
| 1557 |
} |
| 1558 |
\newcommand*\cst@refsec@set@name[1]{% |
| 1559 |
\def\cst@refsec@name{#1}% |
| 1560 |
} |
| 1561 |
\cst@refsec@find{bibname}% |
| 1562 |
\cst@refsec@find{refname}% |
| 1563 |
\ifx\cst@refsec@name\@empty |
| 1564 |
\expandafter\cst@notesfalse |
| 1565 |
\fi |
| 1566 |
% \end{macrocode} |
| 1567 |
%\end{macro} |
| 1568 |
%\end{macro} |
| 1569 |
%\end{macro} |
| 1570 |
%\end{macro} |
| 1571 |
% |
| 1572 |
%\begin{macro}{\cst@refsec@lang} |
| 1573 |
% \changes{v2.0m}{2013/07/03}{Add phrase translations for Italian} |
| 1574 |
%\begin{macro}{\cst@refsec@lang@clist} |
| 1575 |
%\begin{macro}{\cst@refsec@lang@define} |
| 1576 |
% The language-dependent definitions are created. |
| 1577 |
% \begin{macrocode} |
| 1578 |
\newcommand*\cst@refsec@lang{} |
| 1579 |
\newcommand*\cst@refsec@lang@clist{} |
| 1580 |
\newcommand*\cst@refsec@lang@define[4]{% |
| 1581 |
\ifx\cst@refsec@lang@clist\@empty |
| 1582 |
\def\cst@refsec@lang@clist{#1}% |
| 1583 |
\else |
| 1584 |
\edef\cst@refsec@lang@clist{% |
| 1585 |
\cst@refsec@lang@clist |
| 1586 |
,#1% |
| 1587 |
}% |
| 1588 |
\fi |
| 1589 |
\@namedef{cst@refsec@lang@#1@references}{#2}% |
| 1590 |
\@namedef{cst@refsec@lang@#1@and}{#3}% |
| 1591 |
\@namedef{cst@refsec@lang@#1@notes}{#4}% |
| 1592 |
} |
| 1593 |
\cst@refsec@lang@define{english}{References}{and}{Notes} |
| 1594 |
\cst@refsec@lang@define{UKenglish}{References}{and}{Notes} |
| 1595 |
\cst@refsec@lang@define{ngerman}{Literatur}{und}{Notizen} |
| 1596 |
\cst@refsec@lang@define{german}{Literatur}{und}{Notizen} |
| 1597 |
\cst@refsec@lang@define{french}{R\'ef\'erences}{et}{Notes} |
| 1598 |
\cst@refsec@lang@define{frenchb}{R\'ef\'erences}{et}{Notes} |
| 1599 |
\cst@refsec@lang@define{italian}{Bibliografia}{e}{Note} |
| 1600 |
% \end{macrocode} |
| 1601 |
%\end{macro} |
| 1602 |
%\end{macro} |
| 1603 |
%\end{macro} |
| 1604 |
% |
| 1605 |
%\begin{macro}{\cst@refsec@set} |
| 1606 |
%\begin{macro}{\cst@refsec@set@biblatex} |
| 1607 |
%\begin{macro}{\cst@refsec@set@babel} |
| 1608 |
%\begin{macro}{\cst@refsec@set@language} |
| 1609 |
% The method for setting up the section heading depends on the |
| 1610 |
% other packages in use. \pkg{biblatex} has its own system, and with |
| 1611 |
% \pkg{babel} there is also a mechanism to attach to. |
| 1612 |
% \begin{macrocode} |
| 1613 |
\ifcst@notes |
| 1614 |
\AtBeginDocument{\cst@refsec@set} |
| 1615 |
\fi |
| 1616 |
\newcommand*\cst@refsec@set{% |
| 1617 |
\@ifpackageloded{biblatex}{% |
| 1618 |
\@for\cst@refsec@lang:=\cst@refsec@lang@clist\do{% |
| 1619 |
\cst@refsec@set@biblatex\cst@refsec@lang |
| 1620 |
}% |
| 1621 |
}{% |
| 1622 |
\@ifpackageloded{babel}{% |
| 1623 |
\@for\cst@refsec@lang:=\cst@refsec@lang@clist\do{% |
| 1624 |
\cst@refsec@set@babel\cst@refsec@lang |
| 1625 |
}% |
| 1626 |
\expandafter\selectlanguage\expandafter{\languagename}% |
| 1627 |
}{% |
| 1628 |
\@for\cst@refsec@lang:=\cst@refsec@lang@clist\do{% |
| 1629 |
\cst@refsec@set@language\cst@refsec@lang |
| 1630 |
}% |
| 1631 |
}% |
| 1632 |
} |
| 1633 |
} |
| 1634 |
\newcommand*\cst@refsec@set@biblatex[1]{% |
| 1635 |
\edef\cst@tempa{% |
| 1636 |
\noexpand\csgappto{bib@strings@#1}{% |
| 1637 |
\noexpand\def\expandafter\noexpand |
| 1638 |
\csname\cst@refsec@name\endcsname{% |
| 1639 |
\noexpand\cst@refsec@make@name{#1}% |
| 1640 |
}% |
| 1641 |
}% |
| 1642 |
}% |
| 1643 |
\cst@tempa |
| 1644 |
} |
| 1645 |
\newcommand*\cst@refsec@set@babel[1]{% |
| 1646 |
\edef\cst@tempa{% |
| 1647 |
\noexpand\addto{\expandafter\noexpand\csname captions#1\endcsname}{% |
| 1648 |
\noexpand\def\expandafter\noexpand |
| 1649 |
\csname\cst@refsec@name\endcsname{% |
| 1650 |
\noexpand\cst@refsec@make@name{#1}% |
| 1651 |
}% |
| 1652 |
}% |
| 1653 |
}% |
| 1654 |
\cst@tempa |
| 1655 |
} |
| 1656 |
\newcommand*\cst@refsec@set@language[1]{% |
| 1657 |
\ifx#1\cst@language |
| 1658 |
\edef\cst@tempa{% |
| 1659 |
\noexpand\def\expandafter\noexpand |
| 1660 |
\csname\cst@refsec@name\endcsname{% |
| 1661 |
\noexpand\cst@refsec@make@name{#1}% |
| 1662 |
}% |
| 1663 |
}% |
| 1664 |
\cst@tempa |
| 1665 |
\fi |
| 1666 |
} |
| 1667 |
% \end{macrocode} |
| 1668 |
%\end{macro} |
| 1669 |
%\end{macro} |
| 1670 |
%\end{macro} |
| 1671 |
%\end{macro} |
| 1672 |
% |
| 1673 |
%\begin{macro}{\cst@refsec@make@name} |
| 1674 |
%\begin{macro}{\cst@refsec@make@name@fixed} |
| 1675 |
%\begin{macro}{\cst@refsec@make@name@auto} |
| 1676 |
%\begin{macro}{\cst@refsec@make@name@nonotes} |
| 1677 |
% Actually making the name is pretty easy: the only complexity is |
| 1678 |
% the possibility of automation. |
| 1679 |
% \begin{macrocode} |
| 1680 |
\newcommand*\cst@refsec@make@name@fixed[1]{% |
| 1681 |
\ifcst@notesbefore |
| 1682 |
\@nameuse{cst@refsec@lang@#1@notes} |
| 1683 |
\@nameuse{cst@refsec@lang@#1@and} |
| 1684 |
\@nameuse{cst@refsec@lang@#1@references}% |
| 1685 |
\else |
| 1686 |
\@nameuse{cst@refsec@lang@#1@references} |
| 1687 |
\@nameuse{cst@refsec@lang@#1@and} |
| 1688 |
\@nameuse{cst@refsec@lang@#1@notes}% |
| 1689 |
\fi |
| 1690 |
} |
| 1691 |
\newcommand*\cst@refsec@make@name@auto{% |
| 1692 |
\ifnum\the\value{bibnote}>\z@\relax |
| 1693 |
\expandafter\cst@refsec@make@name@fixed |
| 1694 |
\else |
| 1695 |
\expandafter\cst@refsec@make@name@nonotes |
| 1696 |
\fi |
| 1697 |
} |
| 1698 |
\newcommand*\cst@refsec@make@name@nonotes[1]{% |
| 1699 |
\@nameuse{cst@refsec@lang@#1@references}% |
| 1700 |
} |
| 1701 |
\let\cst@refsec@make@name\cst@refsec@make@name@fixed |
| 1702 |
\ifcst@notes |
| 1703 |
\ifcst@autonotes |
| 1704 |
\let\cst@refsec@make@name\cst@refsec@make@name@auto |
| 1705 |
\fi |
| 1706 |
\fi |
| 1707 |
% \end{macrocode} |
| 1708 |
%\end{macro} |
| 1709 |
%\end{macro} |
| 1710 |
%\end{macro} |
| 1711 |
%\end{macro} |
| 1712 |
% |
| 1713 |
% With everything set up, options can be processed. |
| 1714 |
% \begin{macrocode} |
| 1715 |
\ProcessKeyvalOptions{cst} |
| 1716 |
% \end{macrocode} |
| 1717 |
% |
| 1718 |
%\subsection{Cross-references} |
| 1719 |
% |
| 1720 |
% The naming for cross-references is sorted out properly using the |
| 1721 |
% \pkg{varioref} package. Schemes are done at the start of the document |
| 1722 |
% as the definition of \cs{schemename} may not exist yet. |
| 1723 |
% \begin{macrocode} |
| 1724 |
\ifcst@varioref |
| 1725 |
\RequirePackage{varioref} |
| 1726 |
\labelformat{figure}{\figurename~#1} |
| 1727 |
\labelformat{table}{\tablename~#1} |
| 1728 |
\AtEndOfPackage{% |
| 1729 |
\AtBeginDocument{% |
| 1730 |
\labelformat{scheme}{\schemename~#1}% |
| 1731 |
}% |
| 1732 |
} |
| 1733 |
\fi |
| 1734 |
% \end{macrocode} |
| 1735 |
% |
| 1736 |
%\subsection{Float formatting} |
| 1737 |
% |
| 1738 |
%\begin{macro}{\cst@float@memoir@correct} |
| 1739 |
% Floats are now re-formatted, using the tools provided by either |
| 1740 |
% \pkg{float} or \pkg{floatrow}. First, a check to make sure that |
| 1741 |
% \pkg{chemscheme} was not loaded with the \opt{memoir} option. The |
| 1742 |
% checks there mean that this is only possible if neither \pkg{floatrow} |
| 1743 |
% nor \pkg{float} are already loaded. |
| 1744 |
% \begin{macrocode} |
| 1745 |
\newcommand*\cst@float@memoir@correct{% |
| 1746 |
\let\newfloat\@undefined |
| 1747 |
} |
| 1748 |
\ifx\cst@float@pkg\cst@opt@memoir |
| 1749 |
\expandafter\cst@float@memoir@correct |
| 1750 |
\fi |
| 1751 |
\cst@float@load |
| 1752 |
\cst@float@execute{\@nameuse{cst@float@make@\cst@float@pkg}} |
| 1753 |
% \end{macrocode} |
| 1754 |
%\end{macro} |
| 1755 |
% |
| 1756 |
% With that done, the package can safely re-define appearance. |
| 1757 |
% \begin{macrocode} |
| 1758 |
\@ifpackageloaded{floatrow}{% |
| 1759 |
\floatsetup{objectset=centering} |
| 1760 |
\floatplacement{figure}{htbp} |
| 1761 |
\floatplacement{scheme}{htbp} |
| 1762 |
\floatplacement{table}{htbp} |
| 1763 |
\floatsetup[table]{style=plaintop} |
| 1764 |
}{% |
| 1765 |
\floatstyle{plaintop} |
| 1766 |
\restylefloat{table} |
| 1767 |
\floatstyle{plain} |
| 1768 |
\restylefloat{figure} |
| 1769 |
\floatplacement{table}{htbp} |
| 1770 |
\floatplacement{figure}{htbp} |
| 1771 |
\AtBeginDocument{% |
| 1772 |
\restylefloat{scheme} |
| 1773 |
\floatplacement{scheme}{htbp} |
| 1774 |
} |
| 1775 |
} |
| 1776 |
% \end{macrocode} |
| 1777 |
% |
| 1778 |
%\subsection{Loading the style definition} |
| 1779 |
% |
| 1780 |
% The style definition is loaded here, once everything necessary is |
| 1781 |
% in place. |
| 1782 |
% \begin{macrocode} |
| 1783 |
\ifx\cst@journal\@empty\else |
| 1784 |
\InputIfFileExists{\[email protected]}{% |
| 1785 |
\setkeys{cst}{ |
| 1786 |
abbrcomma = false, |
| 1787 |
abbremph = true, |
| 1788 |
notesbefore = true, |
| 1789 |
rademph = true, |
| 1790 |
radhyphen = true, |
| 1791 |
radprefix = true, |
| 1792 |
radsuper = false, |
| 1793 |
} |
| 1794 |
}{% |
| 1795 |
\PackageWarning{chemstyle}{% |
| 1796 |
Requested style `\cst@journal' does not exist\MessageBreak |
| 1797 |
} |
| 1798 |
} |
| 1799 |
\fi |
| 1800 |
% \end{macrocode} |
| 1801 |
% |
| 1802 |
% All done for \pkg{chemstyle}. |
| 1803 |
% \begin{macrocode} |
| 1804 |
\cst@ref@load |
| 1805 |
%</package> |
| 1806 |
% \end{macrocode} |
| 1807 |
% |
| 1808 |
%\subsection{The \pkg{chemscheme} package} |
| 1809 |
% |
| 1810 |
%\subsubsection{Making new floats} |
| 1811 |
% |
| 1812 |
% The code for making floats is stored in the \pkg{chemscheme} package: |
| 1813 |
% in this way there should be no issues with loading things in any |
| 1814 |
% order. |
| 1815 |
% \begin{macrocode} |
| 1816 |
%<*chemscheme> |
| 1817 |
\ProvidesPackage{chemscheme} |
| 1818 |
[2013/07/03 v2.0m Schemes for chemistry] |
| 1819 |
\RequirePackage{kvoptions,psfrag} |
| 1820 |
\SetupKeyvalOptions{ |
| 1821 |
family=cst, |
| 1822 |
prefix=cst@ |
| 1823 |
} |
| 1824 |
% \end{macrocode} |
| 1825 |
% |
| 1826 |
% There is a lot of confusion about XeTeX: hopefully a warning will |
| 1827 |
% sort this. |
| 1828 |
% \begin{macrocode} |
| 1829 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 1830 |
\expandafter\ifx\csname XeTeXrevision\endcsname\relax |
| 1831 |
\else |
| 1832 |
\PackageWarning{chemscheme} |
| 1833 |
{XeTeX in use: \string\schemeref\space will not work} |
| 1834 |
\fi |
| 1835 |
% \end{macrocode} |
| 1836 |
% |
| 1837 |
% Users of the \pkg{achemso} class should not load \pkg{chemscheme}. |
| 1838 |
% \begin{macrocode} |
| 1839 |
\@ifclassloaded{achemso} |
| 1840 |
{ |
| 1841 |
\PackageWarning{chemscheme} |
| 1842 |
{% |
| 1843 |
The chemscheme package should not\MessageBreak |
| 1844 |
be used with the achemso class:\MessageBreak |
| 1845 |
loading chemscheme will abort% |
| 1846 |
} |
| 1847 |
\endinput |
| 1848 |
} |
| 1849 |
{} |
| 1850 |
% \end{macrocode} |
| 1851 |
% |
| 1852 |
%\begin{macro}{\ifcst@floatrow} |
| 1853 |
%\begin{macro}{\ifcst@chemcompounds} |
| 1854 |
% Some simple Boolean options. |
| 1855 |
% \begin{macrocode} |
| 1856 |
\DeclareBoolOption[true]{chemcompounds} |
| 1857 |
\DeclareComplementaryOption{bpchem}{chemcompounds} |
| 1858 |
\DeclareBoolOption[true]{floatrow} |
| 1859 |
% \end{macrocode} |
| 1860 |
%\end{macro} |
| 1861 |
%\end{macro} |
| 1862 |
% |
| 1863 |
%\begin{macro}{\cst@opt@bpchem} |
| 1864 |
%\begin{macro}{\cst@opt@chemcompounds} |
| 1865 |
%\begin{macro}{\cst@opt@ref@error} |
| 1866 |
% The \opt{tracking} option has two possible values. |
| 1867 |
% \begin{macrocode} |
| 1868 |
\define@key{cst}{tracking}[chemcompounds]{% |
| 1869 |
\edef\KVO@param{#1}% |
| 1870 |
\@onelevel@sanitize\KVO@param |
| 1871 |
\ifx\KVO@param\cst@opt@bpchem |
| 1872 |
\expandafter\cst@chemcompoundsfalse |
| 1873 |
\else |
| 1874 |
\ifx\KVO@param\cst@opt@chemcompounds |
| 1875 |
\expandafter\expandafter\expandafter\cst@chemcompoundstrue |
| 1876 |
\else |
| 1877 |
\expandafter\expandafter\expandafter\cst@opt@ref@error |
| 1878 |
\fi |
| 1879 |
\fi |
| 1880 |
} |
| 1881 |
\newcommand*\cst@opt@bpchem{bpchem} |
| 1882 |
\@onelevel@sanitize\cst@opt@bpchem |
| 1883 |
\newcommand*\cst@opt@chemcompounds{chemcompounds} |
| 1884 |
\@onelevel@sanitize\cst@opt@chemcompounds |
| 1885 |
\newcommand*\cst@opt@ref@error{% |
| 1886 |
\PackageWarning{chemscheme}{% |
| 1887 |
Value `\KVO@param' is not supported by\MessageBreak |
| 1888 |
option `tracking'% |
| 1889 |
}% |
| 1890 |
} |
| 1891 |
% \end{macrocode} |
| 1892 |
%\end{macro} |
| 1893 |
%\end{macro} |
| 1894 |
%\end{macro} |
| 1895 |
% |
| 1896 |
%\begin{macro}{\ifcst@memoir} |
| 1897 |
%\begin{macro}{\cst@opt@float} |
| 1898 |
%\begin{macro}{\cst@opt@floatrow} |
| 1899 |
%\begin{macro}{\cst@opt@memoir} |
| 1900 |
%\begin{macro}{\cst@opt@floats@error} |
| 1901 |
% For \opt{floats}, the number of choices is slightly higher. |
| 1902 |
% \begin{macrocode} |
| 1903 |
\newif\ifcst@memoir |
| 1904 |
\define@key{cst}{floats}{% |
| 1905 |
\edef\KVO@param{#1}% |
| 1906 |
\cst@floatrowtrue |
| 1907 |
\cst@memoirfalse |
| 1908 |
\ifx\KVO@param\cst@opt@float |
| 1909 |
\expandafter\cst@floatrowfalse |
| 1910 |
\else |
| 1911 |
\ifx\KVO@param\cst@opt@floatrow\else |
| 1912 |
\ifx\KVO@param\cst@opt@memoir |
| 1913 |
\expandafter\expandafter\expandafter\expandafter |
| 1914 |
\expandafter\expandafter\expandafter\cst@memoirtrue |
| 1915 |
\else |
| 1916 |
\expandafter\expandafter\expandafter\expandafter |
| 1917 |
\expandafter\expandafter\expandafter\cst@opt@floats@error |
| 1918 |
\fi |
| 1919 |
\fi |
| 1920 |
\fi |
| 1921 |
} |
| 1922 |
\newcommand*\cst@opt@float{float} |
| 1923 |
\newcommand*\cst@opt@floatrow{floatrow} |
| 1924 |
\newcommand*\cst@opt@memoir{memoir} |
| 1925 |
\newcommand*\cst@opt@floats@error{% |
| 1926 |
\PackageWarning{chemscheme}{% |
| 1927 |
Value `\KVO@param' is not supported by\MessageBreak |
| 1928 |
option `floats'% |
| 1929 |
}% |
| 1930 |
} |
| 1931 |
% \end{macrocode} |
| 1932 |
%\end{macro} |
| 1933 |
%\end{macro} |
| 1934 |
%\end{macro} |
| 1935 |
%\end{macro} |
| 1936 |
%\end{macro} |
| 1937 |
% |
| 1938 |
%\begin{environment}{scheme} |
| 1939 |
%\begin{macro}{\cst@float@pkg} |
| 1940 |
%\begin{macro}{\cst@float@execute} |
| 1941 |
%\begin{macro}{\cst@float@load} |
| 1942 |
%\begin{macro}{\cst@float@load@float} |
| 1943 |
%\begin{macro}{\cst@float@load@floatrow} |
| 1944 |
% With options processed, the appropriate packages can be loaded as |
| 1945 |
% necessary. The are some checks so that only one package is tried. |
| 1946 |
% \begin{macrocode} |
| 1947 |
\newcommand*\cst@float@pkg{} |
| 1948 |
\newcommand*\cst@float@execute{} |
| 1949 |
\newcommand*\cst@float@load{% |
| 1950 |
\IfFileExists{floatrow.sty}{}{% |
| 1951 |
\ifcst@floatrow |
| 1952 |
\expandafter\cst@floatrowfalse |
| 1953 |
\fi |
| 1954 |
}% |
| 1955 |
\ifcst@floatrow |
| 1956 |
\expandafter\cst@float@load@floatrow |
| 1957 |
\else |
| 1958 |
\expandafter\cst@float@load@float |
| 1959 |
\fi |
| 1960 |
} |
| 1961 |
\newcommand*\cst@float@load@float{% |
| 1962 |
\RequirePackage{float} |
| 1963 |
\def\cst@float@pkg{float} |
| 1964 |
\def\cst@float@execute{\AtBeginDocument} |
| 1965 |
} |
| 1966 |
\newcommand*\cst@float@load@floatrow{% |
| 1967 |
\RequirePackage{floatrow} |
| 1968 |
\def\cst@float@pkg{floatrow} |
| 1969 |
\def\cst@float@execute{\@firstofone} |
| 1970 |
} |
| 1971 |
% \end{macrocode} |
| 1972 |
%\end{macro} |
| 1973 |
%\end{macro} |
| 1974 |
%\end{macro} |
| 1975 |
%\end{macro} |
| 1976 |
%\end{macro} |
| 1977 |
% |
| 1978 |
%\begin{macro}{\cst@float@chapter} |
| 1979 |
%\begin{macro}{\cst@float@chapter@hook} |
| 1980 |
% A method to add to the \cs{@chapter} macro is needed. This is |
| 1981 |
% not compatible with \cs{g@addto@macro} directly, so a more |
| 1982 |
% complex method is used by providing a suitable hook. |
| 1983 |
% \begin{macrocode} |
| 1984 |
\newcommand*\cst@float@chapter@hook{} |
| 1985 |
\newcommand*\cst@float@chapter{} |
| 1986 |
\ifx\@chapter\@undefined\else |
| 1987 |
\let\cst@float@chapter\@chapter |
| 1988 |
\def\@chapter{% |
| 1989 |
\cst@float@chapter@hook |
| 1990 |
\cst@float@chapter |
| 1991 |
} |
| 1992 |
\fi |
| 1993 |
% \end{macrocode} |
| 1994 |
%\end{macro} |
| 1995 |
%\end{macro} |
| 1996 |
% |
| 1997 |
%\begin{macro}{\cst@float@chapter@fix} |
| 1998 |
% So that floats inside chapters work correctly. |
| 1999 |
% \begin{macrocode} |
| 2000 |
\newcommand*\cst@float@chapter@fix{% |
| 2001 |
\g@addto@macro{\cst@float@chapter@hook}{% |
| 2002 |
\addtocontents{los}{\protect\addvspace{10\p@}}% |
| 2003 |
}% |
| 2004 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 2005 |
\expandafter\ifx\csname KOMAScriptVersion\endcsname\relax |
| 2006 |
\@namedef{thescheme}{% |
| 2007 |
\ifnum\c@chapter>\z@\relax |
| 2008 |
\thechapter.% |
| 2009 |
\fi |
| 2010 |
\arabic{scheme}% |
| 2011 |
}% |
| 2012 |
\fi |
| 2013 |
} |
| 2014 |
% \end{macrocode} |
| 2015 |
%\end{macro} |
| 2016 |
% |
| 2017 |
%\begin{macro}{\cst@float@make@float} |
| 2018 |
% When using \pkg{float}, definition depends on the existence of |
| 2019 |
% chapters. The name and \enquote{list of} macros are then created separately. |
| 2020 |
% \begin{macrocode} |
| 2021 |
\newcommand*\cst@float@make@float{% |
| 2022 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 2023 |
\expandafter\ifx\csname chapter\endcsname\relax |
| 2024 |
\newfloat{scheme}{tbp}{los}% |
| 2025 |
\else |
| 2026 |
\newfloat{scheme}{tbp}{los}[chapter]% |
| 2027 |
\expandafter\cst@float@chapter@fix |
| 2028 |
\fi |
| 2029 |
\floatname{scheme}{\schemename}% |
| 2030 |
\newcommand*\listofschemes{% |
| 2031 |
\listof{scheme}{\listschemename}% |
| 2032 |
}% |
| 2033 |
} |
| 2034 |
% \end{macrocode} |
| 2035 |
%\end{macro} |
| 2036 |
%\begin{macro}{\cst@float@make@floatrow} |
| 2037 |
% For \pkg{floatrow}, the interface to everything is rather simple. |
| 2038 |
% \begin{macrocode} |
| 2039 |
\newcommand*\cst@float@make@floatrow{% |
| 2040 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 2041 |
\expandafter\ifx\csname chapter\endcsname\relax |
| 2042 |
\DeclareNewFloatType{scheme}{% |
| 2043 |
fileext = los, |
| 2044 |
placement = tbp, |
| 2045 |
name = Scheme |
| 2046 |
}% |
| 2047 |
\else |
| 2048 |
\DeclareNewFloatType{scheme}{% |
| 2049 |
fileext = los, |
| 2050 |
placement = tbp, |
| 2051 |
name = Scheme, |
| 2052 |
within = chapter |
| 2053 |
}% |
| 2054 |
\cst@float@chapter@fix |
| 2055 |
\fi |
| 2056 |
\newcommand*\listofschemes{% |
| 2057 |
\listof{scheme}{\listschemename}% |
| 2058 |
}% |
| 2059 |
} |
| 2060 |
% \end{macrocode} |
| 2061 |
%\end{macro} |
| 2062 |
% |
| 2063 |
%\begin{macro}{\cst@float@make@memoir} |
| 2064 |
% \pkg{memoir} has a lot of things to set up for a float. This list is |
| 2065 |
% essentially the same as the \pkg{memoir} kernel uses. |
| 2066 |
% \begin{macrocode} |
| 2067 |
\newcommand*\cst@float@make@memoir{% |
| 2068 |
\newfloat[chapter]{scheme}{los}{\schemename}% |
| 2069 |
\newlistof{listofschemes}{los}{\listschemename}% |
| 2070 |
\addtodef{\@smemfront}{}{\counterwithout{scheme}{chapter}}% |
| 2071 |
\addtodef{\@smemmain}{}{% |
| 2072 |
\ifartopt\else |
| 2073 |
\counterwithin{scheme}{chapter}% |
| 2074 |
\fi |
| 2075 |
}% |
| 2076 |
\addtodef{\backmatter}{}{% |
| 2077 |
\ifartopt\else |
| 2078 |
\counterwithout{scheme}{chapter}% |
| 2079 |
\setcounter{scheme}{0}% |
| 2080 |
\fi |
| 2081 |
}% |
| 2082 |
\newlistentry[chapter]{scheme}{los}{0}% |
| 2083 |
\cftsetindents{scheme}{0em}{2.3em}% |
| 2084 |
\addtodef{\insertchapterspace}{}{% |
| 2085 |
\addtocontents{los}{\protect\addvspace{10pt}}% |
| 2086 |
}% |
| 2087 |
\ifartopt |
| 2088 |
\counterwithout{scheme}{chapter}% |
| 2089 |
\fi |
| 2090 |
} |
| 2091 |
% \end{macrocode} |
| 2092 |
%\end{macro} |
| 2093 |
% |
| 2094 |
% Options are set. |
| 2095 |
% \begin{macrocode} |
| 2096 |
\ProcessKeyvalOptions{cst} |
| 2097 |
% \end{macrocode} |
| 2098 |
% |
| 2099 |
% Everything is set up, and so the support can finally be loaded. |
| 2100 |
% \begin{macrocode} |
| 2101 |
\@ifpackageloaded{floatrow}{% |
| 2102 |
\def\cst@float@pkg{floatrow} |
| 2103 |
\def\cst@float@execute{\@firstofone} |
| 2104 |
}{% |
| 2105 |
\@ifpackageloaded{float}{% |
| 2106 |
\def\cst@float@pkg{float} |
| 2107 |
\def\cst@float@execute{\AtBeginDocument} |
| 2108 |
}{% |
| 2109 |
\@ifclassloaded{memoir}{% |
| 2110 |
\def\cst@float@pkg{memoir} |
| 2111 |
\def\cst@float@execute{\AtBeginDocument} |
| 2112 |
}{% |
| 2113 |
\@ifpackageloaded{chemstyle}{}{% |
| 2114 |
\cst@float@load |
| 2115 |
}% |
| 2116 |
}% |
| 2117 |
}% |
| 2118 |
} |
| 2119 |
% \end{macrocode} |
| 2120 |
%\changes{v2.0b}{2009/10/26}{logic for undefining \cs{newfloat} |
| 2121 |
% corrected} |
| 2122 |
% If \pkg{memoir} is in use, delete the \cs{newfloat} macro. |
| 2123 |
% \begin{macrocode} |
| 2124 |
\ifx\cst@float@pkg\cst@opt@memoir |
| 2125 |
\let\newfloat\@undefined |
| 2126 |
\fi |
| 2127 |
\@ifpackageloaded{chemstyle}{}{% |
| 2128 |
\cst@float@execute{\@nameuse{cst@float@make@\cst@float@pkg}} |
| 2129 |
} |
| 2130 |
% \end{macrocode} |
| 2131 |
%\end{environment} |
| 2132 |
% |
| 2133 |
%\subsubsection{Supporting \pkg{babel} for schemes} |
| 2134 |
% |
| 2135 |
%\begin{macro}{\schemename} |
| 2136 |
%\begin{macro}{\listschemename} |
| 2137 |
% To start, the names in English. |
| 2138 |
% \begin{macrocode} |
| 2139 |
\@ifpackageloaded{floatrow}{}{% |
| 2140 |
\newcommand*\schemename{Scheme} |
| 2141 |
} |
| 2142 |
\newcommand*\listschemename{List of Schemes} |
| 2143 |
% \end{macrocode} |
| 2144 |
%\end{macro} |
| 2145 |
%\end{macro} |
| 2146 |
% |
| 2147 |
%\changes{v2.0j}{2010/11/04}{Include \texttt{ngerman} in \pkg{babel} |
| 2148 |
% support} |
| 2149 |
% \changes{v2.0m}{2013/07/03}{Add phrase translations for Italian} |
| 2150 |
% Some simple label changes. |
| 2151 |
% \begin{macrocode} |
| 2152 |
\AtBeginDocument{% |
| 2153 |
\@ifpackageloaded{babel}{% |
| 2154 |
\addto{\captionsfrench}{% |
| 2155 |
\def\listschemename{Table des sch\`emes}% |
| 2156 |
\def\schemename{{\scshape Sch\`eme}}% |
| 2157 |
}% |
| 2158 |
\addto{\captionsgerman}{% |
| 2159 |
\def\listschemename{Schemenverzeichnis}% |
| 2160 |
\def\schemename{Schema}% |
| 2161 |
}% |
| 2162 |
\addto{\captionsngerman}{% |
| 2163 |
\def\listschemename{Schemenverzeichnis}% |
| 2164 |
\def\schemename{Schema}% |
| 2165 |
}% |
| 2166 |
\addto{\captionsitalian}{% |
| 2167 |
\def\listschemename{Lista degli schemi}% |
| 2168 |
\def\schemename{Schema}% |
| 2169 |
}% |
| 2170 |
\expandafter\selectlanguage\expandafter{\languagename}% |
| 2171 |
}{}% |
| 2172 |
} |
| 2173 |
% \end{macrocode} |
| 2174 |
% |
| 2175 |
%\subsubsection{Positioning float contents} |
| 2176 |
% |
| 2177 |
%\begin{macro}{\floatcontentscentre} |
| 2178 |
%\begin{macro}{\floatcontentscenter} |
| 2179 |
%\begin{macro}{\floatcontentsleft} |
| 2180 |
%\begin{macro}{\floatcontentsright} |
| 2181 |
% When using \pkg{floatrow}, centring all floats is easy. This is |
| 2182 |
% not the case for other methods, and so some macros are provided. |
| 2183 |
% The definitions depend on whether \pkg{floatrow} is in use. |
| 2184 |
% \begin{macrocode} |
| 2185 |
\@ifpackageloaded{floatrow}{% |
| 2186 |
\newcommand*\floatcontentscentre{% |
| 2187 |
\floatsetup{objectset=centering}% |
| 2188 |
} |
| 2189 |
\newcommand*\floatcontentscenter{% |
| 2190 |
\floatsetup{objectset=centering}% |
| 2191 |
} |
| 2192 |
\newcommand*\floatcontentsright{% |
| 2193 |
\floatsetup{objectset=raggedleft}% |
| 2194 |
} |
| 2195 |
\newcommand*\floatcontentsleft{% |
| 2196 |
\floatsetup{objectset=raggedright}% |
| 2197 |
} |
| 2198 |
}{% |
| 2199 |
% \end{macrocode} |
| 2200 |
%\begin{macro}{\cst@floatboxreset} |
| 2201 |
%\begin{macro}{\@floatboxreset} |
| 2202 |
%\begin{macro}{\cst@everyfloat} |
| 2203 |
% When \pkg{floatrow} is not in use, then a low-level hack of |
| 2204 |
% \cs{@floatboxtreset} is used. |
| 2205 |
% \begin{macrocode} |
| 2206 |
\newcommand*\cst@floatboxreset{} |
| 2207 |
\newcommand*\cst@everyfloat{} |
| 2208 |
\let\cst@floatboxreset\@floatboxreset |
| 2209 |
\def\@floatboxreset{% |
| 2210 |
\cst@everyfloat |
| 2211 |
\cst@floatboxreset |
| 2212 |
} |
| 2213 |
\newcommand*{\floatcontentscentre}{% |
| 2214 |
\let\cst@everyfloat\centering |
| 2215 |
} |
| 2216 |
\newcommand*{\floatcontentscenter}{% |
| 2217 |
\let\cst@everyfloat\centering |
| 2218 |
} |
| 2219 |
\newcommand*{\floatcontentsleft}{% |
| 2220 |
\let\cst@everyfloat\relax |
| 2221 |
} |
| 2222 |
\newcommand*{\floatcontentsright}{% |
| 2223 |
\let\cst@everyfloat\raggedleft |
| 2224 |
} |
| 2225 |
} |
| 2226 |
\floatcontentsleft |
| 2227 |
% \end{macrocode} |
| 2228 |
%\end{macro} |
| 2229 |
%\end{macro} |
| 2230 |
%\end{macro} |
| 2231 |
%\end{macro} |
| 2232 |
%\end{macro} |
| 2233 |
%\end{macro} |
| 2234 |
%\end{macro} |
| 2235 |
% |
| 2236 |
%\subsubsection{Reference numbers in graphics} |
| 2237 |
% |
| 2238 |
%\begin{macro}{\schemerefmarker} |
| 2239 |
%\begin{macro}{\schemerefformat} |
| 2240 |
% The two macros \cs{schemerefmarker} and \cs{schemerefformat} |
| 2241 |
% are used to allow customisation of the behaviour of the package. |
| 2242 |
% Here defaults are provided. |
| 2243 |
% \begin{macrocode} |
| 2244 |
\newcommand*\schemerefmarker{TMP} |
| 2245 |
\newcommand*\schemerefformat{\textsf} |
| 2246 |
% \end{macrocode} |
| 2247 |
%\end{macro} |
| 2248 |
%\end{macro} |
| 2249 |
% |
| 2250 |
%\begin{macro}{\cst@ref@count} |
| 2251 |
% The automatic numbering system needs a counter. |
| 2252 |
% \begin{macrocode} |
| 2253 |
\newcount\cst@ref@count |
| 2254 |
% \end{macrocode} |
| 2255 |
%\end{macro} |
| 2256 |
% |
| 2257 |
%\begin{macro}{\cst@ref@label} |
| 2258 |
%\begin{macro}{\cst@ref@load} |
| 2259 |
% The loading of support packages is set up as a macro, so that it can |
| 2260 |
% be delayed when \pkg{chemstyle} is in use. |
| 2261 |
% \begin{macrocode} |
| 2262 |
\newcommand*\cst@ref@label{} |
| 2263 |
\newcommand*\cst@ref@load{% |
| 2264 |
\ifcst@chemcompounds |
| 2265 |
\RequirePackage{chemcompounds} |
| 2266 |
\let\cst@ref@label\compound |
| 2267 |
\else |
| 2268 |
\RequirePackage{bpchem} |
| 2269 |
\let\cst@ref@label\CNlabel |
| 2270 |
\fi |
| 2271 |
} |
| 2272 |
\@ifpackageloaded{chemstyle}{}{% |
| 2273 |
\cst@ref@load |
| 2274 |
} |
| 2275 |
% \end{macrocode} |
| 2276 |
%\end{macro} |
| 2277 |
%\end{macro} |
| 2278 |
% |
| 2279 |
%\begin{macro}{\schemeref} |
| 2280 |
%\begin{macro}{\chemschemeref} |
| 2281 |
% The main function is quite simple: just set up the substitution then |
| 2282 |
% hand over to \pkg{psfrag}. There is also some back-compatibility code |
| 2283 |
% for early versions of the package. |
| 2284 |
% \begin{macrocode} |
| 2285 |
\DeclareRobustCommand*\schemeref[2] |
| 2286 |
[\schemerefmarker\the\cst@ref@count]{% |
| 2287 |
\advance\cst@ref@count\@ne\relax |
| 2288 |
\psfrag{#1}[b][b]{% |
| 2289 |
\schemerefformat{\cst@ref@label{#2}}% |
| 2290 |
}% |
| 2291 |
} |
| 2292 |
\DeclareRobustCommand*\chemschemeref[1]{% |
| 2293 |
\schemeref[#1]% |
| 2294 |
} |
| 2295 |
% \end{macrocode} |
| 2296 |
%\end{macro} |
| 2297 |
%\end{macro} |
| 2298 |
% |
| 2299 |
%\begin{macro}{\schemerefsub} |
| 2300 |
%\begin{macro}{\chemschemerefsub} |
| 2301 |
%\begin{macro}{\cst@ref@check@sub} |
| 2302 |
% Sub-referencing is only available with \pkg{bpchem}: other than that, |
| 2303 |
% very similar to above. |
| 2304 |
% \begin{macrocode} |
| 2305 |
\DeclareRobustCommand*\schemerefsub[3] |
| 2306 |
[\schemerefmarker\the\cst@ref@count]{% |
| 2307 |
\advance\cst@ref@count\@ne\relax |
| 2308 |
\psfrag{#1}[b][b]{% |
| 2309 |
\schemerefformat{\CNlabelsub{#2}{#3}}% |
| 2310 |
}% |
| 2311 |
} |
| 2312 |
\DeclareRobustCommand*\chemschemerefsub[1]{% |
| 2313 |
\schemerefsub[#1]% |
| 2314 |
} |
| 2315 |
\newcommand*\cst@ref@check@sub{% |
| 2316 |
\@ifpackageloaded{bpchem}{}{% |
| 2317 |
\def\schemerefsub[3][]{% |
| 2318 |
\PackageWarning{chemscheme}{% |
| 2319 |
\string\schemerefsub\space not available unless bpchem |
| 2320 |
\MessageBreak package is loaded |
| 2321 |
}% |
| 2322 |
}% |
| 2323 |
}% |
| 2324 |
} |
| 2325 |
\AtBeginDocument{\cst@ref@check@sub} |
| 2326 |
% \end{macrocode} |
| 2327 |
%\end{macro} |
| 2328 |
%\end{macro} |
| 2329 |
%\end{macro} |
| 2330 |
% |
| 2331 |
% That ends the \pkg{chemscheme} package. |
| 2332 |
% \begin{macrocode} |
| 2333 |
%</chemscheme> |
| 2334 |
% \end{macrocode} |
| 2335 |
% |
| 2336 |
%\subsection{Journal definition files} |
| 2337 |
% |
| 2338 |
% The journal files are all rather similar. They set a series of keys |
| 2339 |
% and perhaps make other changes. |
| 2340 |
% |
| 2341 |
%\subsubsection{\emph{Angew.\ Chem.}\ style} |
| 2342 |
% |
| 2343 |
% \begin{macrocode} |
| 2344 |
%<*angew> |
| 2345 |
\ProvidesFile{angew.chemstyle.cfg} |
| 2346 |
[2013/07/03 v2.0m Angew. Chem. journal style] |
| 2347 |
\setkeys{cst}{ |
| 2348 |
abbremph = false, |
| 2349 |
radhyphen = false |
| 2350 |
} |
| 2351 |
\captionsetup{ |
| 2352 |
font = sf, |
| 2353 |
labelfont = {bf,it}, |
| 2354 |
labelsep = period, |
| 2355 |
singlelinecheck = off |
| 2356 |
} |
| 2357 |
\captionsetup[table]{ |
| 2358 |
labelsep = colon |
| 2359 |
} |
| 2360 |
%</angew> |
| 2361 |
% \end{macrocode} |
| 2362 |
% |
| 2363 |
%\subsubsection{\emph{Inorg.\ Chem.}\ style} |
| 2364 |
% |
| 2365 |
% \begin{macrocode} |
| 2366 |
%<*ic> |
| 2367 |
\ProvidesFile{ic.chemstyle.cfg} |
| 2368 |
[2013/07/03 v2.0m Inorg. Chem. journal style] |
| 2369 |
\DeclareCaptionLabelSeparator{perquad}{.\quad} |
| 2370 |
\captionsetup{ |
| 2371 |
labelfont = {bf,it,sf}, |
| 2372 |
labelsep = perquad, |
| 2373 |
singlelinecheck = off |
| 2374 |
textfont = rm |
| 2375 |
} |
| 2376 |
\captionsetup[figure]{ |
| 2377 |
textfont = rm |
| 2378 |
} |
| 2379 |
\setkeys{cst}{ |
| 2380 |
abbrcomma = true, |
| 2381 |
abbremph = false, |
| 2382 |
notesbefore = false, |
| 2383 |
radhyphen = false, |
| 2384 |
radsuper = true |
| 2385 |
} |
| 2386 |
\@ifpackageloaded{floatrow}{% |
| 2387 |
\floatsetup[scheme]{style=plaintop} |
| 2388 |
}{% |
| 2389 |
\floatstyle{plaintype} |
| 2390 |
\restylefloat{scheme} |
| 2391 |
\floatstyle{plain} |
| 2392 |
} |
| 2393 |
%</ic> |
| 2394 |
% \end{macrocode} |
| 2395 |
% |
| 2396 |
%\subsubsection{\emph{J.~Am.\ Chem.\ Soc.}\ style} |
| 2397 |
%\changes{v2.0e}{2009/12/28}{Added missing comma after |
| 2398 |
% \texttt{singlelinecheck = off}} |
| 2399 |
% |
| 2400 |
% \begin{macrocode} |
| 2401 |
%<*jacs> |
| 2402 |
\ProvidesFile{jacs.chemstyle.cfg} |
| 2403 |
[2013/07/03 v2.0m J. Am. Chem. Soc. journal style] |
| 2404 |
\DeclareCaptionLabelSeparator{perquad}{.\quad} |
| 2405 |
\captionsetup{ |
| 2406 |
labelfont = {bf,it,sf}, |
| 2407 |
labelsep = perquad, |
| 2408 |
singlelinecheck = off, |
| 2409 |
textfont = sf |
| 2410 |
} |
| 2411 |
\captionsetup[figure]{ |
| 2412 |
textfont = rm |
| 2413 |
} |
| 2414 |
\setkeys{cst}{ |
| 2415 |
abbrcomma = true, |
| 2416 |
abbremph = false, |
| 2417 |
notesbefore = false, |
| 2418 |
radhyphen = false, |
| 2419 |
radsuper = true |
| 2420 |
} |
| 2421 |
\@ifpackageloaded{floatrow}{% |
| 2422 |
\floatsetup[scheme]{style=plaintop} |
| 2423 |
}{% |
| 2424 |
\floatstyle{plaintype} |
| 2425 |
\restylefloat{scheme} |
| 2426 |
\floatstyle{plain} |
| 2427 |
} |
| 2428 |
%</jacs> |
| 2429 |
% \end{macrocode} |
| 2430 |
% |
| 2431 |
%\subsubsection{\emph{J.~Organomet.\ Chem.}\ style} |
| 2432 |
% |
| 2433 |
% \begin{macrocode} |
| 2434 |
%<*jomc> |
| 2435 |
\ProvidesFile{jomc.chemstyle.cfg} |
| 2436 |
[2013/07/03 v2.0m J. Organomet. Chem. journal style] |
| 2437 |
\setkeys{cst}{ |
| 2438 |
abbremph = false, |
| 2439 |
radhyphen = true, |
| 2440 |
radsuper = true, |
| 2441 |
} |
| 2442 |
\captionsetup{ |
| 2443 |
labelsep = period, |
| 2444 |
} |
| 2445 |
\captionsetup[table]{ |
| 2446 |
labelsep = newline, |
| 2447 |
singlelinecheck = off |
| 2448 |
} |
| 2449 |
\AtBeginDocument{% |
| 2450 |
\def\figurename{Fig.}% |
| 2451 |
} |
| 2452 |
%</jomc> |
| 2453 |
% \end{macrocode} |
| 2454 |
% |
| 2455 |
%\subsubsection{\emph{J.~Phys.\ Chem.}\ style} |
| 2456 |
% |
| 2457 |
% \begin{macrocode} |
| 2458 |
%<*jpc> |
| 2459 |
\ProvidesFile{jpc.chemstyle.cfg} |
| 2460 |
[2013/07/03 v2.0m J. Phys. Chem. journal style] |
| 2461 |
\DeclareCaptionFormat{labelcaps}{\MakeUppercase{#1}#2#3} |
| 2462 |
\captionsetup{ |
| 2463 |
font = bf, |
| 2464 |
format = labelcaps, |
| 2465 |
labelsep = colon, |
| 2466 |
singlelinecheck = off |
| 2467 |
} |
| 2468 |
\captionsetup[figure]{ |
| 2469 |
format = plain, |
| 2470 |
labelsep = period, |
| 2471 |
textfont = md |
| 2472 |
} |
| 2473 |
\setkeys{cst}{ |
| 2474 |
abbrcomma = true, |
| 2475 |
abbremph = false, |
| 2476 |
notesbefore = false, |
| 2477 |
radhyphen = false |
| 2478 |
} |
| 2479 |
\@ifpackageloaded{floatrow}{% |
| 2480 |
\floatsetup[scheme]{style=plaintop} |
| 2481 |
}{% |
| 2482 |
\floatstyle{plaintype} |
| 2483 |
\restylefloat{scheme} |
| 2484 |
\floatstyle{plain} |
| 2485 |
} |
| 2486 |
%</jpc> |
| 2487 |
% \end{macrocode} |
| 2488 |
% |
| 2489 |
%\subsection{\emph{Org.\ Lett.}\ style} |
| 2490 |
% |
| 2491 |
% \begin{macrocode} |
| 2492 |
%<*orglett> |
| 2493 |
\ProvidesFile{orglett.chemstyle.cfg} |
| 2494 |
[2013/07/03 v2.0m Org. Lett. journal style] |
| 2495 |
\DeclareCaptionLabelSeparator{perquad}{.\quad} |
| 2496 |
\captionsetup{ |
| 2497 |
labelfont = bf, |
| 2498 |
labelsep = perquad |
| 2499 |
} |
| 2500 |
\setkeys{cst}{ |
| 2501 |
abbrcomma = true, |
| 2502 |
abbremph = false, |
| 2503 |
notesbefore = false, |
| 2504 |
radhyphen = false, |
| 2505 |
radsuper = true |
| 2506 |
} |
| 2507 |
% \end{macrocode} |
| 2508 |
% The \emph{Org.\ Lett.}\ style is a it more complicated than all of |
| 2509 |
% the others as the float formatting is much more complicated. First, |
| 2510 |
% colour support is needed. |
| 2511 |
% \begin{macrocode} |
| 2512 |
\RequirePackage{xcolor} |
| 2513 |
% \end{macrocode} |
| 2514 |
%\begin{macro}{\fs@orglett} |
| 2515 |
%\begin{macro}{\fs@orglettfig} |
| 2516 |
% For \pkg{float}, some new styles based on the supplied \texttt{ruled} |
| 2517 |
% one. |
| 2518 |
% \begin{macrocode} |
| 2519 |
\newcommand*\fs@orglett{% |
| 2520 |
\def\@fs@cfont{\bfseries}% |
| 2521 |
\let\@fs@capt\floatc@ruled |
| 2522 |
\def\@fs@pre{% |
| 2523 |
\begingroup |
| 2524 |
\color{purple}% |
| 2525 |
\hrule height 12pt depth 0pt\relax |
| 2526 |
\kern 2pt\relax |
| 2527 |
\endgroup |
| 2528 |
}% |
| 2529 |
\def\@fs@mid{% |
| 2530 |
\vspace\belowcaptionskip\relax |
| 2531 |
}% |
| 2532 |
\def\@fs@post{% |
| 2533 |
\begingroup |
| 2534 |
\color{purple}% |
| 2535 |
\kern 2pt\relax |
| 2536 |
\hrule height 1.5pt depth 0pt\relax |
| 2537 |
\endgroup |
| 2538 |
}% |
| 2539 |
\let\@fs@iftopcapt\iftrue |
| 2540 |
} |
| 2541 |
\newcommand*\fs@orglettfig{% |
| 2542 |
\def\@fs@cfont{\bfseries}% |
| 2543 |
\let\@fs@capt\floatc@plain |
| 2544 |
\def\@fs@pre{% |
| 2545 |
\begingroup |
| 2546 |
\color{purple}% |
| 2547 |
\hrule height 12pt depth 0pt\relax |
| 2548 |
\kern 2pt\relax |
| 2549 |
\endgroup |
| 2550 |
}% |
| 2551 |
\def\@fs@mid{% |
| 2552 |
\vspace\abovecaptionskip\relax |
| 2553 |
}% |
| 2554 |
\def\@fs@post{% |
| 2555 |
\begingroup |
| 2556 |
\color{purple}% |
| 2557 |
\kern 2pt\relax |
| 2558 |
\hrule height1.5pt depth 0pt\relax |
| 2559 |
\endgroup |
| 2560 |
}% |
| 2561 |
\let\@fs@iftopcapt\iffalse |
| 2562 |
} |
| 2563 |
% \end{macrocode} |
| 2564 |
%\end{macro} |
| 2565 |
%\end{macro} |
| 2566 |
% |
| 2567 |
% \begin{macrocode} |
| 2568 |
\DeclareFloatVCode{orglettthickrule}{% |
| 2569 |
\par |
| 2570 |
\begingroup |
| 2571 |
\color{purple}% |
| 2572 |
\hrule height 12pt depth 0pt\relax |
| 2573 |
\vskip 2pt\relax |
| 2574 |
\endgroup |
| 2575 |
\par |
| 2576 |
} |
| 2577 |
\DeclareFloatVCode{orglettlowrule}{% |
| 2578 |
\par |
| 2579 |
\begingroup |
| 2580 |
\vskip 2pt\relax |
| 2581 |
\hrule height 1.5pt depth 0pt\relax |
| 2582 |
\endgroup |
| 2583 |
\par |
| 2584 |
} |
| 2585 |
% \end{macrocode} |
| 2586 |
% With that done, things can be applied. |
| 2587 |
% \begin{macrocode} |
| 2588 |
\@ifpackageloaded{floatrow}{% |
| 2589 |
\floatsetup{ |
| 2590 |
capposition = top, |
| 2591 |
heightadjust = all, |
| 2592 |
postcode = orglettlowrule, |
| 2593 |
precode = orglettthickrule, |
| 2594 |
midcode = rule, |
| 2595 |
} |
| 2596 |
\floatsetup[figure]{ |
| 2597 |
capposition = bottom, |
| 2598 |
heightadjust = all, |
| 2599 |
postcode = orglettlowrule, |
| 2600 |
precode = orglettthickrule, |
| 2601 |
midcode = rule, |
| 2602 |
} |
| 2603 |
}{% |
| 2604 |
\floatstyle{orglettfig} |
| 2605 |
\restylefloat{figure} |
| 2606 |
\floatstyle{orglett} |
| 2607 |
\restylefloat{scheme} |
| 2608 |
\restylefloat{table} |
| 2609 |
} |
| 2610 |
%</orglett> |
| 2611 |
% \end{macrocode} |
| 2612 |
% |
| 2613 |
%\subsubsection{Royal Society of Chemistry style} |
| 2614 |
% |
| 2615 |
% \begin{macrocode} |
| 2616 |
%<*rsc> |
| 2617 |
\ProvidesFile{rsc.chemstyle.cfg} |
| 2618 |
[2013/07/03 v2.0m RSC journal style] |
| 2619 |
\captionsetup{ |
| 2620 |
labelsep = quad, |
| 2621 |
labelfont = bf |
| 2622 |
} |
| 2623 |
\AtBeginDocument{% |
| 2624 |
\def\figurename{Fig.}% |
| 2625 |
} |
| 2626 |
%</rsc> |
| 2627 |
% \end{macrocode} |
| 2628 |
% |
| 2629 |
%\subsubsection{\emph{Tetrahedron Lett.}\ style} |
| 2630 |
% |
| 2631 |
% \begin{macrocode} |
| 2632 |
%<*tetlett> |
| 2633 |
\ProvidesFile{tetlett.chemstyle.cfg} |
| 2634 |
[2013/07/03 v2.0m Tetrahedron Lett. journal style] |
| 2635 |
\captionsetup{ |
| 2636 |
labelsep = period, |
| 2637 |
labelfont = bf, |
| 2638 |
singlelinecheck = off |
| 2639 |
} |
| 2640 |
\setkeys{cst}{ |
| 2641 |
abbrcomma = true, |
| 2642 |
abbremph = false, |
| 2643 |
} |
| 2644 |
%</tetlett> |
| 2645 |
% \end{macrocode} |
| 2646 |
% |
| 2647 |
%\Finale |
| 2648 |
% |
| 2649 |
%\iffalse |
| 2650 |
%<*demo> |
| 2651 |
%</demo> |
| 2652 |
%<*scheme> |
| 2653 |
%!PS-Adobe-2.0 EPSF-1.2 |
| 2654 |
%%Creator: ChemDraw Std(tm) 10.0 |
| 2655 |
%<!labels>%%Title: scheme-one.eps |
| 2656 |
%<labels>%%Title: scheme-two.eps |
| 2657 |
%%CreationDate: 21/07/2007 12:00 |
| 2658 |
%%DocumentSuppliedProcSets: chemdict30 24 13 |
| 2659 |
%%DocumentFonts: Helvetica Helvetica-Oblique |
| 2660 |
%%BoundingBox: 30 78 288 144 |
| 2661 |
%%EndComments |
| 2662 |
%%BeginProcSet: chemdict30 24 13 |
| 2663 |
% ChemDraw Laser Prep |
| 2664 |
% Copyright � 1985-2005 CambridgeSoft Corp., All Rights Reserved |
| 2665 |
userdict/chemdict30 210 dict put |
| 2666 |
chemdict30 begin/version 24 def/sv 13 def |
| 2667 |
/b{bind def}bind def/L{load def}b/R{null def}b/d/def L/a/add L/al/aload L |
| 2668 |
/as/astore L/at/atan L/cp/closepath L/cv/curveto L/cw/currentlinewidth L |
| 2669 |
/cpt/currentpoint L/dv/div L/D/dup L/e/exch L/F/false L/f/fill L/fa/forall L |
| 2670 |
/g/get L/gi/getinterval L/gr/grestore L/gs/gsave L/ie/ifelse L/ix/index L |
| 2671 |
/l/lineto L/mt/matrix L/M/moveto L/m/mul L/n/neg L/np/newpath L/pb/pathbbox L |
| 2672 |
/P/pop L/r/roll L/rl/rlineto L/rm/rmoveto L/ro/rotate L/rp/repeat L |
| 2673 |
/ru/round L/sc/scale L/sl/setlinewidth L/sm/setmatrix L/st/stroke L |
| 2674 |
/sp/strokepath L/sq/sqrt L/s/sub L/T/true L/tr/transform L/xl/translate L |
| 2675 |
/xc/exec L/A R/N R/St R/X R/Y R/aL R/bL R/bS R/bd R/bs R/cX R/cY R/ch R/co R |
| 2676 |
/fB R/fI R/fS R/fZ R/fl R/ft R/iX R/iY R/idx R/lh R/llx R/lly R/lp R/nH R |
| 2677 |
/nSq R/newdict R/ps R/rad R/rev R/sL R/sba R/sbl R/sbs R/sn R/spa R/tB R |
| 2678 |
/typ R/urx R/ury R/w R/wF R/xX R/xY R/rBg R/gBg R/bBg R/gry R/rDst R/gDst R |
| 2679 |
/bDst R/cpd R/Aeq R/Ath R/Aos R/Ach R/ed R/sf 20 d/cW 20 d/lW 20 d/bW 75 d |
| 2680 |
/wF 1.5 d/aF 11.875 d/aR 0.263 d/aA 50 d/hS 54 d/pA 32 d/sh F d/S{sf m}b |
| 2681 |
/dL{[hS] 0 setdash}b/o{1 ix}b/rot{3 -1 r}b/x{e d}b/CMT mt d/TM mt d |
| 2682 |
/SM{CMT sm}b/XY{X D m Y D m a sq}b/s1 1 string d/fp{T charpath flattenpath}b |
| 2683 |
/p{tr ru 0.25 a e ru 0.25 a e itransform}b/Wd{65536. dv}b |
| 2684 |
/C{Wd rot Wd rot Wd rot setrgbcolor}b |
| 2685 |
/setcmykcolor where{P/sk/setcmykcolor L}{/sk{4 1 r 3{3 ix a D 0 lt{P 0}if D 1\ |
| 2686 |
gt{P 1}if 1 e s 3 1 r}rp setrgbcolor P}b}ie/sg{D currenthsbcolor P rot seths\ |
| 2687 |
bcolor currenthsbcolor e P e P o s D m .001 gt{setgray}{P}ie}b |
| 2688 |
/sBg{65535 dv/bBg x 65535 dv/gBg x 65535 dv/rBg |
| 2689 |
x}b |
| 2690 |
/sRmp{currentrgbcolor bBg e s/bDst x gBg e s/gDst x rBg e s/rDst x}b |
| 2691 |
/dD{np 2 1 r 4 2 r xl 2 dv D sc -1 0 M 0 -1 l 1 0 l 0 1 l cp SM 0 ne{f}{lW 0.\ |
| 2692 |
8 m sl st}ie}b |
| 2693 |
/dM{gs np 3 1 r xl D sc 0 4 M 0 -8 rl 3.5 2 rm -7 4 rl 0 -4 rm 7 4 rl SM st g\ |
| 2694 |
r}b/dQ{gs np 0 360 arc 0.5 sg f gr}b |
| 2695 |
/dR{lW 0.8 m sl 2 ix s/Y x 2 ix s/X x xl Rr SM st}b |
| 2696 |
/dT{fp pb 3 1 r s 3 2 r s 2 1 r rm f}b/N 0 d/db{array/bs x/N 0 d}b |
| 2697 |
/B{bs N rot put/N N 1 a d}b |
| 2698 |
/SpA{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie |
| 2699 |
aR aL m n D aL a 0 M 0 o n aA n aA arc cp f gr}b |
| 2700 |
/SpH{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie |
| 2701 |
0 cw 2 dv xl |
| 2702 |
aR aL m n D aL a 0 M 0 o n aA n 0 arc cp f gr}b/Sp{/St x 0.316/aR x gs |
| 2703 |
aF lW m 0.8 m St 4 and 0 ne{bW m lW dv bW sl}if/aL x |
| 2704 |
St 8 and 0 ne{8 ix 8 ix 3 ix 3 ix SpA}if |
| 2705 |
St 16 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpA}if |
| 2706 |
St 32 and 0 ne{8 ix 8 ix 3 ix 3 ix SpH}if |
| 2707 |
St 64 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpH}if |
| 2708 |
St 2 and 0 ne{St 4 and 0 ne{[hS bW m lW dv] 0 setdash}{dL}ie}if |
| 2709 |
np M{cv}rp St 128 and 0 ne{f}{st}ie gr}b/Ha{gs np 3 1 r |
| 2710 |
xl D sc -.7 1.4 M 0.7 1.4 l -.7 2.4 M 0.7 2.4 l SM st gr}b |
| 2711 |
/OP{3 ix 3 ix xl 3 -1 r s 3 1 r |
| 2712 |
e s o o at ro D m e D m a sq}b |
| 2713 |
/OB{/bS x OP D bS dv D lW 2 m lt{P lW 2 m}if/bd x}b |
| 2714 |
/DA{np 0 0 M aL 0 aR aL m 180 aA s 180 aA a arc cp f}b |
| 2715 |
/OA{np 0 cw -2 dv M aL 0 aR aL m 180 aA s |
| 2716 |
180 arc 0 cw -2 dv rl cp f}b |
| 2717 |
/Ast{SM cw 0.8 m sl st}b/SA{aF m lW m/aL x 0.263/aR x aL 1 aR s m np 0 M |
| 2718 |
rad 0 l gs Ast gr}b |
| 2719 |
/CA{aF lW m 0.8 m/aL x 0.316/aR x aL 1 aR s m 2 dv rad D m o D m s D 0 le{P |
| 2720 |
P P}{sq at 2 |
| 2721 |
m np rad 0 rad 180 6 -1 r s 180 6 -1 r s arc gs Ast gr cpt |
| 2722 |
e at ro}ie}b/AA{np rad 0 rad 180 180 6 -1 r a arc gs SM st gr}b |
| 2723 |
/RA{lW m/w x np rad w M w .7 dv w l rad w n M w .7 dv w n l w |
| 2724 |
.35 dv w 2 m M 0 0 |
| 2725 |
l w .35 dv w -2 m l st}b |
| 2726 |
/HA{lW m/w x np 0 0 M w 2 m D l w 2 m w l rad w l rad w n l w 2 m |
| 2727 |
w n l w 2 m D n l cp st}b |
| 2728 |
/Ar1{gs 5 1 r OP/rad x{{2.25 SA DA}{1.5 SA DA}{1 SA DA}{lW 4 m sl 4.5 SA DA} |
| 2729 |
{lW 4 m sl 3 SA DA}{lW 4 m sl 2 SA |
| 2730 |
DA}{270 CA DA}{180 CA DA}{120 CA DA}{90 CA DA}{2.5 RA}{2.5 |
| 2731 |
HA}{1 -1 sc 270 CA DA}{1 -1 sc 180 CA DA}{1 -1 sc 120 CA DA}{1 -1 sc 90 CA |
| 2732 |
DA}{5 RA}{5 HA}{dL 2.25 SA DA}{dL 1.5 SA DA}{dL 1 SA DA}{2.25 SA OA}{1.5 SA |
| 2733 |
OA}{1 SA OA}{1 -1 sc 2.25 SA OA}{1 -1 sc 1.5 SA OA} |
| 2734 |
{1 -1 sc 1 SA OA}{270 CA OA}{180 CA OA}{120 CA OA}{90 CA OA}{1 -1 sc 270 CA |
| 2735 |
OA}{1 -1 sc 180 CA OA}{1 -1 sc 120 CA OA}{1 -1 sc 90 CA OA}{1 -1 sc 270 |
| 2736 |
AA}{1 -1 sc 180 AA}{1 -1 sc 120 AA}{1 -1 sc 90 AA}}e g xc |
| 2737 |
gr}b/ac{arcto 4{P}rp}b/rO{4 cw m}b/Cr{0 0 1 0 360 arc}b/Ac{XY D sc Cr SM}b |
| 2738 |
/OrA{Y X at ro XY D rev{neg}if sc}b/Ov{OrA 1 0.4 sc Cr SM}b |
| 2739 |
/Asc{OrA 1 27 dv D sc}b/LB{9 -6 M |
| 2740 |
21 -10 27 -8 27 0 cv |
| 2741 |
27 8 21 10 9 6 cv |
| 2742 |
-3 2 -3 -2 9 -6 cv |
| 2743 |
cp}b/DLB{0 0 M |
| 2744 |
0 0 -9.51 9.65 -9.51 18.02 cv |
| 2745 |
-9.51 23.22 -6.75 27 0 27 cv |
| 2746 |
6.75 27 9.51 23.22 9.51 18.02 cv |
| 2747 |
9.51 9.65 0 0 0 0 cv |
| 2748 |
cp}b/ZLB{LB}b |
| 2749 |
/dt{gs np M SM cpt np rot 4.5 dv 0 360 arc f gr}b |
| 2750 |
/whf{gs 1 setgray f gr SM st}b/blf{gs f gr SM st}b/Rr{0 rO M |
| 2751 |
0 Y X Y rO ac |
| 2752 |
X Y X 0 rO ac |
| 2753 |
X 0 0 0 rO ac |
| 2754 |
0 0 0 Y rO ac |
| 2755 |
cp}b/Rc{0 0 M |
| 2756 |
0 Y l |
| 2757 |
X Y l |
| 2758 |
X 0 l |
| 2759 |
cp}b/grf{gs 0.5 sg f gr SM st}b/gG{D 32 dv D m 1 e s/gry x |
| 2760 |
currentrgbcolor bDst gry m a 3 1 r gDst gry m a 3 1 r rDst gry m a 3 1 r |
| 2761 |
setrgbcolor}b/gS{dtransform CMT idtransform |
| 2762 |
m D 0 lt{n}if sq n D |
| 2763 |
CMT dtransform idtransform |
| 2764 |
e 2 m e |
| 2765 |
xl |
| 2766 |
7 m 32 a 256 dv D sc}b/gLB{sh{sRmp |
| 2767 |
32 -0.5 0.5{gs |
| 2768 |
gG |
| 2769 |
13.5 0 xl |
| 2770 |
D 32 s 64 dv 13.5 m D 7 m 24 dv |
| 2771 |
gS |
| 2772 |
-13.5 0 xl |
| 2773 |
LB f |
| 2774 |
gr}for |
| 2775 |
LB SM st}{LB grf}ie}b/gOv{sh{sRmp |
| 2776 |
32 -0.5 0.5{gs |
| 2777 |
gG |
| 2778 |
D 32 s 64 dv 0.65 m D |
| 2779 |
gS |
| 2780 |
Cr f |
| 2781 |
gr}for |
| 2782 |
Cr SM st}{Cr grf}ie}b/gAc{sh{sRmp |
| 2783 |
32 -0.5 0.5{gs |
| 2784 |
gG |
| 2785 |
D 32 s 64 dv D |
| 2786 |
gS |
| 2787 |
Cr f |
| 2788 |
gr}for |
| 2789 |
Cr SM st}{Cr grf}ie}b |
| 2790 |
/gDLB{sh{sRmp |
| 2791 |
32 -0.5 0.5{gs |
| 2792 |
gG |
| 2793 |
0 13.5 xl |
| 2794 |
D 32 s 64 dv 13.5 m D 7 m 24 dv e |
| 2795 |
gS |
| 2796 |
0 -13.5 xl |
| 2797 |
DLB f |
| 2798 |
gr}for |
| 2799 |
DLB SM st}{DLB grf}ie}b/gRr{sh{sRmp |
| 2800 |
32 -0.5 0.5{gs |
| 2801 |
gG |
| 2802 |
X 2 dv Y 2 dv xl |
| 2803 |
D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D |
| 2804 |
gS |
| 2805 |
X -2 dv Y -2 dv xl |
| 2806 |
Rr f |
| 2807 |
gr}for |
| 2808 |
Rr SM st}{Rr grf}ie}b/gRc{sh{sRmp |
| 2809 |
32 -0.5 0.5{gs |
| 2810 |
gG |
| 2811 |
X 2 dv Y 2 dv xl |
| 2812 |
D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D |
| 2813 |
gS |
| 2814 |
X -2 dv Y -2 dv xl |
| 2815 |
Rc f |
| 2816 |
gr}for |
| 2817 |
Rc SM st}{Rc grf}ie}b/gZLB{gLB}b/Ath{Y X at ro XY 2 dv/rad x gs D SA DA gr |
| 2818 |
rad 2 m 0 xl 180 ro SA DA}b/Aeq{Y X at ro XY/rad x |
| 2819 |
rev{1 -1 sc}if |
| 2820 |
gs |
| 2821 |
0 lW 2 m xl |
| 2822 |
D SA OA |
| 2823 |
gr |
| 2824 |
rad 0 xl |
| 2825 |
180 ro |
| 2826 |
0 lW 2 m xl |
| 2827 |
SA OA}b/Aos{X Y M SM cpt xl XY e dv lW 1.667 m o o lt{e}if P D sc}b/Ach{5 Aos |
| 2828 |
gs/Helvetica findfont[1 0 0 -1 0 0]makefont 5.5 scalefont setfont |
| 2829 |
D stringwidth P 2 dv D 1 a/rad x |
| 2830 |
n 0 M show gr |
| 2831 |
rad 2 s -5 M |
| 2832 |
rad n -5 rad n 1 2 ac |
| 2833 |
rad n 1 rad 1 2 ac |
| 2834 |
rad 1 rad -5 2 ac |
| 2835 |
rad -5 rad n -5 2 ac |
| 2836 |
cp Ast}b/Ar{D 39 lt{Ar1} |
| 2837 |
{gs 5 1 r o o xl 3 -1 r e s 3 1 r s e |
| 2838 |
o 0 lt o 0 lt ne/rev x |
| 2839 |
D 0 lt{1 -1 sc neg}if/Y x D 0 lt{-1 1 sc neg} |
| 2840 |
if/X x np{{Y 16 div D 2 S lt{P 2 S}if/lp x |
| 2841 |
lp 0 M 0 0 l 0 Y l lp Y l |
| 2842 |
X lp s 0 M X 0 l X Y l X lp s Y l SM st}{Y 16 div D 2 S lt{P 2 S}if/lp x |
| 2843 |
lp 0 M |
| 2844 |
0 0 0 Y lp ac |
| 2845 |
0 Y 2 dv lp neg o lp ac |
| 2846 |
0 Y 2 dv 0 Y lp ac |
| 2847 |
0 Y lp Y lp ac |
| 2848 |
X lp s 0 M |
| 2849 |
X 0 X Y lp ac |
| 2850 |
X Y 2 dv X lp a o lp ac |
| 2851 |
X Y 2 dv X Y lp ac |
| 2852 |
X Y X lp s Y lp ac SM st}{Y D 2 dv Y 180 pA s 180 pA a arc st |
| 2853 |
np X Y s Y 2 dv |
| 2854 |
Y pA D neg arcn st}{Rc SM st}{X lW 2 dv a lW -2 dv M |
| 2855 |
rO D rl |
| 2856 |
X lW 2 dv a rO a Y lW 2 dv a rO a l |
| 2857 |
rO lW -2 dv a Y lW 2 dv a rO a l |
| 2858 |
lW -2 dv Y lW 2 dv a l |
| 2859 |
0 Y l X Y l X 0 l cp f |
| 2860 |
0 0 M |
| 2861 |
0 Y l |
| 2862 |
X Y l |
| 2863 |
X 0 l cp |
| 2864 |
SM st}{Rr SM st}{rO Y M rO rO xl |
| 2865 |
0 Y X Y rO ac |
| 2866 |
X Y X 0 rO ac |
| 2867 |
X 0 0 0 rO ac |
| 2868 |
rO neg D xl X Y 0 Y rO ac |
| 2869 |
cp f |
| 2870 |
Rr st}{Ac st}{OrA gAc}{Ov st}{OrA 1 .4 sc gOv}{Asc LB whf}{Asc gLB} |
| 2871 |
{Asc gs gLB gr |
| 2872 |
-1 -1 sc LB whf}{Asc gs gLB gr |
| 2873 |
-0.4 -0.4 sc LB whf}{Asc LB gs whf gr |
| 2874 |
np -0.4 -0.4 sc gLB}{Asc DLB -1 -1 sc DLB gs whf gr |
| 2875 |
np 90 ro gs gDLB gr -1 -1 sc gDLB}{Asc gs -1 -1 sc ZLB whf gr |
| 2876 |
gs 3.6 12 sc gOv gr |
| 2877 |
ZLB whf}{Asc gs -1 -1 sc gZLB gr |
| 2878 |
gs 3.6 12 sc Cr whf gr |
| 2879 |
gZLB}{0 0 M X Y l SM st}{bW sl 0 0 M X Y l SM st} |
| 2880 |
{dL 0 0 M X Y l SM st}{OrA 1 16 dv D sc |
| 2881 |
0 -1 M |
| 2882 |
0 0 1 0 1 ac |
| 2883 |
8 0 8 1 1 ac |
| 2884 |
8 0 16 0 1 ac |
| 2885 |
16 0 16 -1 1 ac |
| 2886 |
SM st}{XY D 0 0 dt X Y dt}{XY 2 dv X Y dt}{XY D X Y dt 0 0 M SM cpt xl |
| 2887 |
2 dv D sc |
| 2888 |
1 0 M -1 0 l |
| 2889 |
0 1 M 0 -1 l |
| 2890 |
Ast}{XY D X Y dt 0 0 M SM cpt xl |
| 2891 |
2 dv D sc |
| 2892 |
1 0 M -1 0 l |
| 2893 |
Ast}{4.5 Aos |
| 2894 |
1 0 M -1 0 l |
| 2895 |
0 1 M 0 -1 l |
| 2896 |
2 0 M 0 0 2 0 360 arc |
| 2897 |
Ast}{4.5 Aos |
| 2898 |
1 0 M -1 0 l |
| 2899 |
2 0 M 0 0 2 0 360 arc |
| 2900 |
Ast}{2.25 Ath}{1.5 Ath}{1 Ath}{2.25 Aeq}{1.5 Aeq}{1 Aeq}{OrA 1 16 dv D sc |
| 2901 |
0 -1 M 0 0 l 16 0 l 16 -1 l SM st}{5 Aos |
| 2902 |
1 -1 M -1 -1 l |
| 2903 |
0 2 M 0 -2 l |
| 2904 |
Ast}{5 Aos |
| 2905 |
1 -1 M -1 -1 l |
| 2906 |
1 1 M -1 1 l |
| 2907 |
0 2 M 0 -2 l |
| 2908 |
Ast}{4.5 Aos |
| 2909 |
1 0 M -1 0 l |
| 2910 |
0 1 M 0 -1 l |
| 2911 |
Ast}{4.5 Aos |
| 2912 |
1 0 M -1 0 l |
| 2913 |
Ast}{gRc}{gRr}{Rc blf}{Rr blf}{Ac blf}{Ov blf}{Asc DLB -1 -1 sc DLB gs whf gr |
| 2914 |
np 90 ro DLB -1 -1 sc DLB blf}{Asc gs -1 -1 sc ZLB blf gr |
| 2915 |
gs 3.6 12 sc Cr whf gr |
| 2916 |
ZLB blf}{Asc gs -1 -1 sc ZLB whf gr |
| 2917 |
gs 3.6 12 sc Cr blf gr |
| 2918 |
ZLB whf}{Asc LB gs whf gr |
| 2919 |
np -0.4 -0.4 sc LB blf}{Asc LB gs f gr gs SM st gr |
| 2920 |
np -0.4 -0.4 sc LB whf}{Asc LB blf}{Asc LB gs f gr gs SM st gr |
| 2921 |
np -1 -1 sc LB whf}{Ac whf}{OrA gAc}{Ac blf}{Ov whf} |
| 2922 |
{OrA 1 .4 sc gOv}{Ov blf}{(Rac)Ach}{(Abs)Ach}{(Rel)Ach} |
| 2923 |
}e 39 s g xc gr}ie}b/DS{np M l st}b |
| 2924 |
/DD{gs dL DS gr}b/DB{gs 12 OB bW sl np 0 0 M 0 l st gr}b/ap{e 3 ix a |
| 2925 |
e 2 ix a}b/PT{D 2 4 gi al P OP D 1 sc |
| 2926 |
o length 6 gt{P 6 g}{e P 8 dv}ie |
| 2927 |
D lW 2 m lt{P lW 2 m}if |
| 2928 |
0 e |
| 2929 |
0 0 |
| 2930 |
3 -1 r s 3 1 r e s e |
| 2931 |
0 0 M 1 0 l |
| 2932 |
0 0 ap M 1 0 ap l |
| 2933 |
e n e n |
| 2934 |
0 0 ap M 1 0 ap l |
| 2935 |
P P}b/DT{gs np PT SM st gr}b |
| 2936 |
/NH{lW s D hS dv ru |
| 2937 |
cvi D 0 eq{P 1}if/nH x |
| 2938 |
D hS nH m s |
| 2939 |
D 0 lt{P .1 s nH dv}{nH 2 a dv D 0 xl 2 m s nH dv}ie}b |
| 2940 |
/Bd{D type/arraytype ne{bs e g}if{{P}{{{DS}{DD}{gs 12 OB np |
| 2941 |
bW 2 dv/bd x |
| 2942 |
lW 2 dv e D NH e{D bd M bd n l}for |
| 2943 |
st gr}{gs 12 OB np |
| 2944 |
lW 2 dv 0 xl NH 1 sc |
| 2945 |
bW 2 dv wF m nH 1 a dv/bd x |
| 2946 |
0 1 nH |
| 2947 |
{D 1 a bd m o o M n l}for SM st gr}{P}{DB}{gs 12 OB |
| 2948 |
np 0 lW 2 dv o o n M l bW 2 dv |
| 2949 |
wF m o o l n l |
| 2950 |
cp f gr}{P}{gs 12 OB/bL x |
| 2951 |
bW 2 dv D lW lt{P lW}if/bd x np 0 0 M |
| 2952 |
bL bd 4 m dv ru 2 o o lt{e}if P cvi/nSq x |
| 2953 |
bL nSq 2 m dv D sc |
| 2954 |
nSq{.135 .667 .865 .667 1 0 rcurveto |
| 2955 |
.135 -.667 .865 -.667 1 0 rcurveto}rp SM st gr}{gs 12 OB |
| 2956 |
np 0 lW 2 dv o o n M l bW 2 dv |
| 2957 |
wF m o o l n l |
| 2958 |
cp SM lW 0.8 m sl st gr}{P}{4 2 r gs OP/rad x 1 SA DA gr}{P} |
| 2959 |
}o 1 g 1 s g e 2 4 gi al P |
| 2960 |
5 -1 r xc}{al P 8 ix 1 eq{DD}{DS}ie 5 -1 r 2 eq{DB}{DS}ie P}{DT}}o 0 g g xc}b |
| 2961 |
/ed{gs cpt np cw 2 dv 0 360 arc f gr}b |
| 2962 |
/SPe{gs 0 e xl 1 1 S dv D n sc CMT currentmatrix P lW sl 4.0 setmiterlimit |
| 2963 |
np}b/ws{Wd 0 32 4 -1 roll widthshow}b/blank/Times-Roman findfont/CharStrings |
| 2964 |
g/space g d/mv 256 array d/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT |
| 2965 |
/FF/CR/SO/SI |
| 2966 |
/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US |
| 2967 |
mv 0 32 gi as P |
| 2968 |
mv 32/Times-Roman findfont/Encoding get |
| 2969 |
32 96 gi putinterval |
| 2970 |
mv 39/quotesingle put |
| 2971 |
mv 96/grave put/unknown/unknown/quotesinglbase/florin/quotedblbase/ellipsis |
| 2972 |
/dagger/daggerdbl |
| 2973 |
/circumflex/perthousand/Scaron/guilsinglleft/OE/unknown/unknown/unknown |
| 2974 |
/unknown/quoteleft/quoteright/quotedblleft/quotedblright/bullet/endash |
| 2975 |
/emdash |
| 2976 |
/tilde/trademark/scaron/guilsinglright/oe/unknown/unknown/Ydieresis |
| 2977 |
/blank/exclamdown/cent/sterling/currency/yen/brokenbar/section |
| 2978 |
/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered |
| 2979 |
/macron |
| 2980 |
/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph |
| 2981 |
/periodcentered |
| 2982 |
/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf |
| 2983 |
/threequarters/questiondown |
| 2984 |
/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla |
| 2985 |
/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis |
| 2986 |
/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply |
| 2987 |
/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls |
| 2988 |
/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla |
| 2989 |
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis |
| 2990 |
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide |
| 2991 |
/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis |
| 2992 |
mv 128 128 gi as P/fSt 50 string d(ChemDraw)fSt copy P/fD{D/Symbol eq{ |
| 2993 |
findfont[1 0 0 -1 0 0]makefont}{D {findfont}stopped{/Helvetica findfont}if |
| 2994 |
D length dict/newdict x{ |
| 2995 |
1 index/FID ne{1 index/FontMatrix eq{[1 0 0 -1 0 0]matrix concatmatrix}if |
| 2996 |
newdict 3 1 r put}{P P}ie}forall |
| 2997 |
newdict/Encoding mv put |
| 2998 |
fSt 8 fSt length 8 sub gi cvs length 8 add |
| 2999 |
fSt 0 rot gi cvn newdict definefont}ie}b/ts{gs xl ro 0 0 M}b |
| 3000 |
/nl{0 e xl 0 0 M}b/tx{ft e g e sf m rot D 96 and 0 ne{ |
| 3001 |
64 and 0 ne{-0.5}{0.25}ie e 0.75 m}{P 0 e}ie |
| 3002 |
D 4 -1 r e scalefont setfont m cpt P e M}b |
| 3003 |
end |
| 3004 |
%%EndProcSet |
| 3005 |
%%EndProlog |
| 3006 |
|
| 3007 |
chemdict30 begin |
| 3008 |
/cW 24 def |
| 3009 |
/bW 48 def |
| 3010 |
/lW 12 def |
| 3011 |
/hS 32 def |
| 3012 |
/sh true def |
| 3013 |
222 SPe[ |
| 3014 |
/Helvetica |
| 3015 |
fD |
| 3016 |
/Helvetica-Oblique |
| 3017 |
fD]/ft x |
| 3018 |
600 1560 M |
| 3019 |
5760 1560 l |
| 3020 |
5760 2880 l |
| 3021 |
600 2880 l |
| 3022 |
cp clip np |
| 3023 |
65535 65535 |
| 3024 |
65535 sBg |
| 3025 |
0 1640 2178 ts |
| 3026 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3027 |
0 10 0 tx |
| 3028 |
(N)show |
| 3029 |
gr |
| 3030 |
0 1182 2178 ts |
| 3031 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3032 |
0 10 0 tx |
| 3033 |
(N)show |
| 3034 |
gr |
| 3035 |
gs |
| 3036 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3037 |
np |
| 3038 |
1619 2364 M |
| 3039 |
1627 2376 l |
| 3040 |
1335 2376 l |
| 3041 |
1344 2364 l |
| 3042 |
cp |
| 3043 |
f |
| 3044 |
gr |
| 3045 |
gs |
| 3046 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3047 |
np |
| 3048 |
1598 2330 M |
| 3049 |
1598 2342 l |
| 3050 |
1364 2342 l |
| 3051 |
1364 2330 l |
| 3052 |
cp |
| 3053 |
f |
| 3054 |
gr |
| 3055 |
gs |
| 3056 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3057 |
np |
| 3058 |
1669 2208 M |
| 3059 |
1681 2212 l |
| 3060 |
1627 2376 l |
| 3061 |
1619 2364 l |
| 3062 |
cp |
| 3063 |
f |
| 3064 |
gr |
| 3065 |
gs |
| 3066 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3067 |
np |
| 3068 |
1481 1941 M |
| 3069 |
1481 1926 l |
| 3070 |
1629 2034 l |
| 3071 |
1622 2043 l |
| 3072 |
cp |
| 3073 |
f |
| 3074 |
gr |
| 3075 |
gs |
| 3076 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3077 |
np |
| 3078 |
1343 2041 M |
| 3079 |
1336 2032 l |
| 3080 |
1481 1926 l |
| 3081 |
1481 1941 l |
| 3082 |
cp |
| 3083 |
f |
| 3084 |
gr |
| 3085 |
gs |
| 3086 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3087 |
np |
| 3088 |
1363 2069 M |
| 3089 |
1356 2059 l |
| 3090 |
1478 1971 l |
| 3091 |
1485 1981 l |
| 3092 |
cp |
| 3093 |
f |
| 3094 |
gr |
| 3095 |
gs |
| 3096 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3097 |
np |
| 3098 |
1344 2364 M |
| 3099 |
1335 2376 l |
| 3100 |
1282 2212 l |
| 3101 |
1293 2209 l |
| 3102 |
cp |
| 3103 |
f |
| 3104 |
gr |
| 3105 |
0 1033 2091 ts |
| 3106 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3107 |
-377 |
| 3108 |
0 M |
| 3109 |
0 10 0 tx |
| 3110 |
(Mes)show |
| 3111 |
gr |
| 3112 |
gs |
| 3113 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3114 |
np |
| 3115 |
1055 2043 M |
| 3116 |
1059 2031 |
| 3117 |
l |
| 3118 |
1167 2066 l |
| 3119 |
1163 2078 l |
| 3120 |
cp |
| 3121 |
f |
| 3122 |
gr |
| 3123 |
0 1897 2091 ts |
| 3124 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3125 |
0 10 0 tx |
| 3126 |
(Mes)show |
| 3127 |
gr |
| 3128 |
gs |
| 3129 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3130 |
np |
| 3131 |
1878 2040 M |
| 3132 |
1882 2051 |
| 3133 |
l |
| 3134 |
1802 2077 l |
| 3135 |
1798 2066 l |
| 3136 |
cp |
| 3137 |
f |
| 3138 |
gr |
| 3139 |
gs |
| 3140 |
12 D sl/lW x |
| 3141 |
24 /cW x |
| 3142 |
48 /bW x |
| 3143 |
32 /hS x |
| 3144 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3145 |
10 D sl/lW x |
| 3146 |
1228 1973 M |
| 3147 |
1295 |
| 3148 |
1973 l st |
| 3149 |
1261 1940 M |
| 3150 |
1261 2006 l st |
| 3151 |
gr |
| 3152 |
0 2085 2400 ts |
| 3153 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3154 |
0 10 0 tx |
| 3155 |
(Br)show |
| 3156 |
64 10 0 tx |
| 3157 |
(\226)show |
| 3158 |
gr |
| 3159 |
0 5084 2247 ts |
| 3160 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3161 |
0 10 0 tx |
| 3162 |
(N)show |
| 3163 |
gr |
| 3164 |
0 4625 2247 ts |
| 3165 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3166 |
0 10 0 tx |
| 3167 |
(N)show |
| 3168 |
gr |
| 3169 |
gs |
| 3170 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3171 |
np |
| 3172 |
5062 2433 M |
| 3173 |
5071 2445 l |
| 3174 |
4778 2445 l |
| 3175 |
4787 2433 l |
| 3176 |
cp |
| 3177 |
f |
| 3178 |
gr |
| 3179 |
gs |
| 3180 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3181 |
np |
| 3182 |
5042 2399 M |
| 3183 |
5042 2411 l |
| 3184 |
4808 2411 l |
| 3185 |
4808 2399 l |
| 3186 |
cp |
| 3187 |
f |
| 3188 |
gr |
| 3189 |
gs |
| 3190 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3191 |
np |
| 3192 |
5113 2277 M |
| 3193 |
5124 2281 l |
| 3194 |
5071 2445 l |
| 3195 |
5062 2433 l |
| 3196 |
cp |
| 3197 |
f |
| 3198 |
gr |
| 3199 |
gs |
| 3200 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3201 |
np |
| 3202 |
4925 2010 M |
| 3203 |
4925 1995 l |
| 3204 |
5072 2102 l |
| 3205 |
5065 2112 l |
| 3206 |
cp |
| 3207 |
f |
| 3208 |
gr |
| 3209 |
gs |
| 3210 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3211 |
np |
| 3212 |
4787 2110 M |
| 3213 |
4779 2101 l |
| 3214 |
4925 1995 l |
| 3215 |
4925 2010 l |
| 3216 |
cp |
| 3217 |
f |
| 3218 |
gr |
| 3219 |
gs |
| 3220 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3221 |
np |
| 3222 |
4787 2433 M |
| 3223 |
4778 2445 l |
| 3224 |
4725 2281 l |
| 3225 |
4737 2278 l |
| 3226 |
cp |
| 3227 |
f |
| 3228 |
gr |
| 3229 |
0 4476 2160 ts |
| 3230 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3231 |
-377 0 M |
| 3232 |
0 10 0 tx |
| 3233 |
(Mes)show |
| 3234 |
gr |
| 3235 |
gs |
| 3236 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3237 |
np |
| 3238 |
4498 2112 M |
| 3239 |
4502 2100 |
| 3240 |
l |
| 3241 |
4610 2135 l |
| 3242 |
4606 2147 l |
| 3243 |
cp |
| 3244 |
f |
| 3245 |
gr |
| 3246 |
0 5340 2160 ts |
| 3247 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3248 |
0 10 0 tx |
| 3249 |
(Mes)show |
| 3250 |
gr |
| 3251 |
gs |
| 3252 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3253 |
np |
| 3254 |
5321 2109 M |
| 3255 |
5325 2120 |
| 3256 |
l |
| 3257 |
5246 2146 l |
| 3258 |
5243 2134 l |
| 3259 |
cp |
| 3260 |
f |
| 3261 |
gr |
| 3262 |
gs |
| 3263 |
12 D sl/lW x |
| 3264 |
24 /cW x |
| 3265 |
48 /bW x |
| 3266 |
32 /hS x |
| 3267 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3268 |
np |
| 3269 |
4962 1946 17 0 360 arc |
| 3270 |
cp |
| 3271 |
f |
| 3272 |
np |
| 3273 |
4887 1946 17 0 360 arc |
| 3274 |
cp |
| 3275 |
f |
| 3276 |
gr |
| 3277 |
0 3236 1785 ts |
| 3278 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3279 |
-364.5 0 M |
| 3280 |
0 10 0 tx |
| 3281 |
(KO-)show |
| 3282 |
2 10 1 tx |
| 3283 |
(t)show |
| 3284 |
0 10 0 tx |
| 3285 |
(-Bu)show |
| 3286 |
201 nl |
| 3287 |
-114.5 0 M |
| 3288 |
0 10 0 tx |
| 3289 |
(thf)show |
| 3290 |
gr |
| 3291 |
gs |
| 3292 |
12 D sl/lW x |
| 3293 |
24 /cW x |
| 3294 |
48 /bW x |
| 3295 |
32 /hS x |
| 3296 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3297 |
10 D sl/lW x |
| 3298 |
3597 2130 M |
| 3299 |
2771 2130 l st |
| 3300 |
gs |
| 3301 |
3581 2161 3701 2130 3701 2130 3596 2143 3581 2161 3581 2161 3581 2098 |
| 3302 |
3596 2116 3596 2130 3701 2130 3581 2098 3581 2098 4 3701 2130 0 Sp |
| 3303 |
gr |
| 3304 |
gr |
| 3305 |
0 |
| 3306 |
1215 2805 ts |
| 3307 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3308 |
0 10 0 tx |
| 3309 |
%<labels>(TMP1)show |
| 3310 |
gr |
| 3311 |
0 4642 2805 ts |
| 3312 |
0.0000 0.0000 0.0000 1.0000 sk |
| 3313 |
0 10 0 tx |
| 3314 |
%<labels>(TMP2)show |
| 3315 |
gr |
| 3316 |
gr end |
| 3317 |
%%Trailer |
| 3318 |
showpage |
| 3319 |
%</scheme> |
| 3320 |
|
| 3321 |
%\fi |