Debian Codegraph @

texmf-dist/source/latex/xymtex/base/xymtex.dtx

raw
1 % \iffalse
2 %
3 % xymtex.dtx
4 %
5 % Copyright (C) 1993-2004,2005,2009,2010,2011,2013 by Shinsaku Fujita All rights reserved.
6 %
7 % This file is part of the ChemSci system
8 % ========================================
9 %
10 % This style file is created for submitting a manuscript to
11 % scientific journals. This style file is to be contained in the
12 % ``xymtex'' directory which is an input directory for TeX.
13 %
14 % This work may be distributed and/or modified under the
15 % conditions of the LaTeX Project Public License, either version 1.3
16 % of this license or (at your option) any later version.
17 % The latest version of this license is in
18 % http://www.latex-project.org/lppl.txt
19 % and version 1.3 or later is part of all distributions of LaTeX
20 % version 2005/12/01 or later.
21 %
22 % This work has the LPPL maintenance status `maintained'.
23 % The Current Maintainer of this work is Shinsaku Fujita.
24 %
25 % This work consists of the files xymtex.dtx and xymtex.ins
26 % and the derived files: xymtex.sty, xymtexps.sty and xymtexpdf.sty.
27 %
28 %=======================================
29 %
30 % This file is a successor to:
31 %
32 % *********************************************************************
33 % * Version 1.00 Released December 1, 1993 by Shinsaku Fujita %
34 % * Version 1.00a Released May 22, 1996 by Shinsaku Fujita %
35 % * Version 1.02 Released October 31, 1998 by Shinsaku Fujita %
36 % * Version 2.00 Released December 25, 1998 by Shinsaku Fujita %
37 % *********************************************************************
38 % xymtex.sty
39 %
40 % Copyright (C) 1993, 1966, 1998, 2001,2004 by Shinsaku Fujita, all rights reserved.
41 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42 % \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00}
43 % \typeout{ -- Released December 1, 1993 by Shinsaku Fujita}
44 % \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00a}
45 % \typeout{ -- Released May 22, 1996 by Shinsaku Fujita}
46 % \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.02}
47 % \typeout{ -- Released October 31, 1998 by Shinsaku Fujita}
48 % \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 2.00}
49 % \typeout{ -- Released December 25, 1998 by Shinsaku Fujita}
50 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
51 % \def\j@urnalname{xymtex.sty}
52 % \def\versi@ndate{May 22, 1996}
53 % \def\versi@nno{ver1.00a}
54 % \def\copyrighth@lder{SF} % Shinsaku Fujita
55 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56 % \def\j@urnalname{xymtex.sty}
57 % \def\versi@ndate{October 31, 1998}
58 % \def\versi@nno{ver1.02}
59 % \def\copyrighth@lder{SF} % Shinsaku Fujita
60 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
61 % \def\j@urnalname{xymtex.sty}
62 % \def\versi@ndate{December 25, 1998}
63 % \def\versi@nno{ver2.00}
64 % \def\copyrighth@lder{SF} % Shinsaku Fujita
65 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66 % \def\j@urnalname{xymtex.sty}
67 % \def\versi@ndate{November 17, 2004}
68 % \def\versi@nno{ver4.01b}
69 % \def\copyrighth@lder{SF} % Shinsaku Fujita
70 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
71 % \def\j@urnalname{xymtex.sty}
72 % \def\versi@ndate{December 25, 2004}
73 % \def\versi@nno{ver4.02}
74 % \def\copyrighth@lder{SF} % Shinsaku Fujita
75 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
76 % %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
77 % %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
78 % \def\versi@ndate{July 20, 2005}
79 % \def\versi@nno{ver4.02}
80 % \def\copyrighth@lder{SF} % Shinsaku Fujita
81 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
82 % %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
83 % %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
84 % \def\versi@ndate{June 15, 2009}
85 % \def\versi@nno{ver4.04}
86 % \def\copyrighth@lder{SF} % Shinsaku Fujita
87 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
88 % %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
89 % %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
90 % \def\versi@ndate{November 25, 2009}
91 % \def\versi@nno{ver4.05}
92 % \def\copyrighth@lder{SF} % Shinsaku Fujita
93 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
94 % %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
95 % %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
96 % \def\versi@ndate{December 01, 2009}
97 % \def\versi@nno{ver4.06}
98 % \def\copyrighth@lder{SF} % Shinsaku Fujita
99 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
100 % %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
101 % %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
102 % %<xymtexpdf>\def\j@urnalname{xymtexpdf} \def\journalID{xymtexpdf}
103 % \def\versi@ndate{October 01, 2010}
104 % \def\versi@nno{ver5.00}
105 % \def\copyrighth@lder{SF} % Shinsaku Fujita
106 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
107 % %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
108 % %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
109 % %<xymtexpdf>\def\j@urnalname{xymtexpdf} \def\journalID{xymtexpdf}
110 % \def\versi@ndate{February 24, 2011}
111 % \def\versi@nno{ver5.01beta}
112 % \def\copyrighth@lder{SF} % Shinsaku Fujita
113 % \typeout{Package `\j@urnalname' (\versi@nno) <\versi@ndate>\space
114 % [\copyrighth@lder]}
115 % %<xymtex> \typeout{xymtex.sty ver5.01beta (for LaTeX2e) 2011/02/24[SF]}
116 % %<xymtexps> \typeout{xymtexps.sty ver5.01beta (for LaTeX2e) 2011/02/24[SF]}
117 % %<xymtexpdf> \typeout{xymtexpdf.sty ver5.01beta (for LaTeX2e) 2011/02/24[SF]}
118 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
119 %
120 % This file is a part of the macro package ``XyMTeX'' which has been
121 % designed for typesetting chemical structural formulas.
122 %
123 % For the review of XyMTeX, see
124 % (1) Shinsaku Fujita, ``Typesetting structural formulas with the text
125 % formatter TeX/LaTeX'', Computers and Chemistry, 18, 109--116 (1994).
126 % The following book deals with an application of TeX/LaTeX to
127 % preparation of manuscripts of chemical fields:
128 % (2) Shinsaku Fujita, ``LaTeX for Chemists and Biochemists''
129 % Tokyo Kagaku Dozin, Tokyo (1993) [in Japanese].
130 % (3) Shinskau Fujita, ``XyMTeX for drwoing chemical structural
131 % formulas'', TUGboat, 16(1), 80--88 (1995).
132 %
133 % Please report any bugs, comments, suggestions, etc. to:
134 % Old old address:
135 % Shinsaku Fujita,
136 % Ashigara Research Laboratories, Fuji Photo Film Co., Ltd.,
137 % Minami-Ashigara, Kanagawa-ken, 250-01, Japan.
138 %
139 % Old address:
140 % Shinsaku Fujita,
141 % Department of Chemistry and Materials Technology,
142 % Kyoto Institute of Technology, \\
143 % Matsugasaki, Sakyoku, Kyoto, 606 Japan
144 %
145 % New address:
146 % Shinsaku Fujita,
147 % Shonan Institute of Chemoinformatics and Mathematical Chemistry
148 % Kanagawa, 258-0019 Japan
149 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
150 % \fi
151 % \CheckSum{70}
152 %% \CharacterTable
153 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
154 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
155 %% Digits \0\1\2\3\4\5\6\7\8\9
156 %% Exclamation \! Double quote \" Hash (number) \#
157 %% Dollar \$ Percent \% Ampersand \&
158 %% Acute accent \' Left paren \( Right paren \)
159 %% Asterisk \* Plus \+ Comma \,
160 %% Minus \- Point \. Solidus \/
161 %% Colon \: Semicolon \; Less than \<
162 %% Equals \= Greater than \> Question mark \?
163 %% Commercial at \@ Left bracket \[ Backslash \\
164 %% Right bracket \] Circumflex \^ Underscore \_
165 %% Grave accent \` Left brace \{ Vertical bar \|
166 %% Right brace \} Tilde \~}
167 %
168 % \iffalse
169 %%
170 %% `xymtex.dtx' ver5.01 (for LaTeX2e) 2013/03/10
171 %% by Shinsaku Fujita
172 %%
173 %
174 % \section{Initial declaration}
175 %
176 % \changes{v4.01b}{2004/11/17}{Generaging xymtex.sty and xymtexps}
177 % \changes{v4.02}{2004/12/20}{Wedged bonds for xymtx-ps.sty}
178 % \changes{v4.03}{2005/07/20}{Wave bonds for xymtx-ps.sty}
179 % \changes{v4.04}{2009/06/15}{steoroid.sty added for drawing steroids}
180 % \changes{v4.05}{2009/11/25}{lewisstruc.sty added for drawing Lewis structures}
181 % \changes{v4.06}{2009/12/01}{harpoons added in the chmst-ps package}
182 % \changes{v5.00}{2010/10/01}{PDF mode, bond coloring}
183 % \changes{v5.01beta}{2011/02/24}{Added the chemist package and the xcolor package}
184 % \changes{v5.01}{2013/03/10}{Bug fix}
185 %
186 % \begin{macrocode}
187 % \NeedsTeXFormat{LaTeX2e}
188 % \end{macrocode}
189 %
190 % \begin{macrocode}
191 % <xymtex>\ProvidesFile{xymtex.sty}
192 % <xymtexps>\ProvidesFile{xymtexps.sty}
193 %<driver>\ProvidesFile{xymtex.drv}
194 %<driver> [2013/03/10 v5.01
195 % <xymtex> ChemSci package ]
196 % <xymtexps> ChemSci package ]
197 % <xymtexpdf> ChemSci package ]
198 %<driver> ChemSci package driver (English)
199 % \end{macrocode}
200 %
201 %\setcounter{StandardModuleDepth}{1}
202 %
203 % \section{Driver file for this dtx file}
204 %
205 % \begin{macrocode}
206 %<*driver>
207 ]
208 \documentclass{ltxdoc}
209 \GetFileInfo{xymtex.drv}
210 \title{XyMTeX Packages for Chemists \space\fileversion}
211 \author{Shinsaku Fujita \\
212 Shonan Institute of Chemoinformatics and Mathematical Chemistry \\
213 Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa,
214 258-0019 Japan
215 %(old address)
216 %Department of Chemistry and Materials Technology \\
217 %Kyoto Institute of Technology \\
218 %Matsugasaki, Sakyoku, Kyoto, 606-8585 Japan
219 }
220 \date{\filedate}
221 \begin{document}
222 \maketitle
223 \tableofcontents
224 \DocInput{xymtex.dtx}
225 \end{document}
226 %</driver>
227 % \end{macrocode}
228 %
229 % \fi
230 %
231 % \StopEventually{}
232 %
233 % \section{{\sc docstrip} options}
234 %
235 % This dtx file provides the {\sffamily xymtex} package
236 % by docstrip processing.
237 %
238 % \DeleteShortVerb{\|}
239 % \begin{center}
240 % \begin{tabular}{|l|l|}
241 % \hline
242 % argument & package name \\
243 % \hline
244 % xymtex & xymtex.sty \\
245 % xymtexps & xymtexps.sty \\
246 % xymtexpdf & xymtexpdf.sty \\
247 % driver & a documentation driver file \\
248 % \hline
249 % \end{tabular}
250 % \end{center}
251 % \MakeShortVerb{\|}
252 %
253 % \section{Version information}
254 %
255 % The old process for typing out version information remains active.
256 % \begin{macrocode}
257 %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
258 %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
259 %<xymtexpdf>\def\j@urnalname{xymtexpdf} \def\journalID{xymtexpdf}
260 \def\versi@ndate{March 10, 2013}
261 \def\versi@nno{ver5.01}
262 \def\copyrighth@lder{SF} % Shinsaku Fujita
263 \typeout{Package `\j@urnalname' (\versi@nno) <\versi@ndate>\space
264 [\copyrighth@lder]}
265 %<xymtex> \typeout{xymtex.sty ver5.01 (for LaTeX2e) 2013/03/10[SF]}
266 %<xymtexps> \typeout{xymtexps.sty ver5.01 (for LaTeX2e) 2013/03/10[SF]}
267 %<xymtexpdf> \typeout{xymtexpdf.sty ver5.01 (for LaTeX2e) 2013/03/10[SF]}
268 % \end{macrocode}
269 %
270 % \begin{macrocode}
271 %<*xymtexpdf>
272 \DeclareOption{pdf}{\def\pgfsysdriver{pgfsys-common-pdf.def}}
273 \DeclareOption{dvipdfm}{\def\pgfsysdriver{pgfsys-dvipdfm.def}}
274 \DeclareOption{pdftex}{\def\pgfsysdriver{pgfsys-pdftex.def}}
275 \DeclareOption{ps}{\def\pgfsysdriver{pgfsys-common-postscript.def}}
276 \DeclareOption{dvips}{\def\pgfsysdriver{pgfsys-dvips.def}}
277 \ExecuteOptions{dvipdfm}
278 \InputIfFileExists{pict2e.cfg}{}{}
279 \ProcessOptions\relax
280 %</xymtexpdf>
281 \usepackage{epic}
282 \usepackage{chemstr}
283 \usepackage{carom}
284 \usepackage{hetarom}
285 \usepackage{hetaromh}
286 \usepackage{lowcycle}
287 \usepackage{ccycle}
288 \usepackage{hcycle}
289 \usepackage{aliphat}
290 \usepackage{locant}
291 \usepackage{polymers}
292 \usepackage{methylen}
293 \usepackage{fusering}
294 \usepackage{sizeredc}
295 \usepackage{steroid}
296 \usepackage{lewisstruc}
297 \usepackage{bondcolor}
298 \usepackage{assurelatexmode}
299 %<xymtexps>\usepackage{xymtx-ps}
300 %<xymtexpdf>\usepackage{xymtx-pdf}
301 %<xymtex>\usepackage{chemist}
302 %<xymtex>\usepackage{xcolor}
303 %<xymtexps>\usepackage{chmst-ps}
304 %<xymtexpdf>\usepackage{chmst-pdf}
305 % \end{macrocode}
306 %
307 % \Finale
308 \endinput