Debian Codegraph @

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

raw
1 % \iffalse meta-comment
2 %% File: lowcycle.dtx
3 %
4 % Copyright 1993,1996,1998,2001,2002,2004,2010 by Shinsaku Fujita
5 %
6 % This file is part of XyMTeX system.
7 % -------------------------------------
8 %
9 % This file is a successor to:
10 %
11 % lowcycle.sty
12 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13 % \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00}
14 % \typeout{ -- Released December 1, 1993 by Shinsaku Fujita}
15 % Copyright (C) 1993 by Shinsaku Fujita, all rights reserved.
16 %
17 % This file is a part of the macro package ``XyMTeX'' which has been
18 % designed for typesetting chemical structural formulas.
19 %
20 % This file is to be contained in the ``xymtex'' directory which is
21 % an input directory for TeX. It is a LaTeX optional style file and
22 % should be used only within LaTeX, because several macros of the file
23 % are based on LaTeX commands.
24 %
25 % For the review of XyMTeX, see
26 % (1) Shinsaku Fujita, ``Typesetting structural formulas with the text
27 % formatter TeX/LaTeX'', Computers and Chemistry, in press.
28 % The following book deals with an application of TeX/LaTeX to
29 % preparation of manuscripts of chemical fields:
30 % (2) Shinsaku Fujita, ``LaTeX for Chemists and Biochemists''
31 % Tokyo Kagaku Dozin, Tokyo (1993) [in Japanese].
32 %
33 % This work may be distributed and/or modified under the
34 % conditions of the LaTeX Project Public License, either version 1.3
35 % of this license or (at your option) any later version.
36 % The latest version of this license is in
37 % http://www.latex-project.org/lppl.txt
38 % and version 1.3 or later is part of all distributions of LaTeX
39 % version 2005/12/01 or later.
40 %
41 % This work has the LPPL maintenance status `maintained'.
42 % The Current Maintainer of this work is Shinsaku Fujita.
43 %
44 % This work consists of the files lowcycle.dtx and lowcycle.ins
45 % and the derived file lowcycle.sty.
46 %
47 % Please report any bugs, comments, suggestions, etc. to:
48 % Shinsaku Fujita,
49 % Shonan Institute of Chemoinformatics and Mathematical Chemistry
50 % Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa 250-0019 Japan
51 % (old address)
52 % Ashigara Research Laboratories, Fuji Photo Film Co., Ltd.,
53 % Minami-Ashigara, Kanagawa-ken, 250-01, Japan.
54 % (old address)
55 % Department of Chemistry and Materials Technology,
56 % Kyoto Institute of Technology, \\
57 % Matsugasaki, Sakyoku, Kyoto, 606 Japan
58 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59 % \def\j@urnalname{lowcycle}
60 % \def\versi@ndate{December 01, 1993}
61 % \def\versi@nno{ver1.00}
62 % \def\copyrighth@lder{SF} % Shinsaku Fujita
63 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64 % \def\j@urnalname{lowcycle}
65 % \def\versi@ndate{August 16, 1996}
66 % \def\versi@nno{ver1.01}
67 % \def\copyrighth@lder{SF} % Shinsaku Fujita
68 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
69 % \def\j@urnalname{lowcycle}
70 % \def\versi@ndate{October 31, 1998}
71 % \def\versi@nno{ver1.02}
72 % \def\copyrighth@lder{SF} % Shinsaku Fujita
73 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
74 % \def\j@urnalname{lowcycle}
75 % \def\versi@ndate{December 25, 1998}
76 % \def\versi@nno{ver2.00}
77 % \def\copyrighth@lder{SF} % Shinsaku Fujita
78 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
79 % \def\j@urnalname{lowcycle}
80 % \def\versi@ndate{June 20, 2001}
81 % \def\versi@nno{ver2.01}
82 % \def\copyrighth@lder{SF} % Shinsaku Fujita
83 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
84 % \def\j@urnalname{lowcycle}
85 % \def\versi@ndate{April 30, 2002}
86 % \def\versi@nno{ver3.00}
87 % \def\copyrighth@lder{SF} % Shinsaku Fujita
88 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89 % \def\j@urnalname{lowcycle}
90 % \def\versi@ndate{May 30, 2002}
91 % \def\versi@nno{ver4.00}
92 % \def\copyrighth@lder{SF} % Shinsaku Fujita
93 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
94 % \def\j@urnalname{lowcycle}
95 % \def\versi@ndate{August 30, 2004}
96 % \def\versi@nno{ver4.01}
97 % \def\copyrighth@lder{SF} % Shinsaku Fujita
98 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
99 %
100 % \fi
101 %
102 % \CheckSum{175}
103 %% \CharacterTable
104 %% {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
105 %% 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
106 %% Digits \0\1\2\3\4\5\6\7\8\9
107 %% Exclamation \! Double quote \" Hash (number) \#
108 %% Dollar \$ Percent \% Ampersand \&
109 %% Acute accent \' Left paren \( Right paren \)
110 %% Asterisk \* Plus \+ Comma \,
111 %% Minus \- Point \. Solidus \/
112 %% Colon \: Semicolon \; Less than \<
113 %% Equals \= Greater than \> Question mark \?
114 %% Commercial at \@ Left bracket \[ Backslash \\
115 %% Right bracket \] Circumflex \^ Underscore \_
116 %% Grave accent \` Left brace \{ Vertical bar \|
117 %% Right brace \} Tilde \~}
118 %
119 % \setcounter{StandardModuleDepth}{1}
120 %
121 % \StopEventually{}
122 % \MakeShortVerb{\|}
123 %
124 % \iffalse
125 % \changes{v1.01}{1996/06/26}{first edition for LaTeX2e}
126 % \changes{v1.02}{1998/10/31}{revised edition for LaTeX2e}
127 % \changes{v2.00}{1998/12/25}{enhanced edition for LaTeX2e}
128 % \changes{v2.01}{2001/6/20}{Size reduction and Clip information}
129 % \changes{v3.00}{2002/4/30}{sfpicture environment, etc.}
130 % \changes{v4.00}{2002/05/30}{PostScript output and ShiftPicEnv}
131 % \changes{v4.01}{2004/08/30}{Minor additions}
132 % \changes{v5.00}{2010/10/01}{the LaTeX Project Public License}
133 % \fi
134 %
135 % \iffalse
136 %<*driver>
137 \NeedsTeXFormat{pLaTeX2e}
138 % \fi
139 \ProvidesFile{lowcycle.dtx}[2010/10/01 v5.00 XyMTeX{} package file]
140 % \iffalse
141 \documentclass{ltxdoc}
142 \GetFileInfo{lowcycle.dtx}
143 %
144 % %%XyMTeX Logo: Definition 2%%%
145 \def\UPSILON{\char'7}
146 \def\XyM{X\kern-.30em\smash{%
147 \raise.50ex\hbox{\UPSILON}}\kern-.30em{M}}
148 \def\XyMTeX{\XyM\kern-.1em\TeX}
149 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
150 \title{Lower carbocyclic compounds by {\sffamily lowcycle.sty}
151 (\fileversion) of \XyMTeX{}}
152 \author{Shinsaku Fujita \\
153 Shonan Institute of Chemoinformatics and Mathematical Chemistry, \\
154 Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa 250-0019 Japan
155 % % (old address)
156 % %Department of Chemistry and Materials Technology, \\
157 % %Kyoto Institute of Technology, \\
158 % %Matsugasaki, Sakyoku, Kyoto, 606-8585 Japan
159 % %% (old address)
160 % %% Ashigara Research Laboratories,
161 % %% Fuji Photo Film Co., Ltd., \\
162 % %% Minami-Ashigara, Kanagawa, 250-01 Japan
163 }
164 \date{\filedate}
165 %
166 \begin{document}
167 \maketitle
168 \DocInput{lowcycle.dtx}
169 \end{document}
170 %</driver>
171 % \fi
172 %
173 % \section{Introduction}\label{lowcycle:intro}
174 %
175 % \subsection{Options for {\sffamily docstrip}}
176 %
177 % \DeleteShortVerb{\|}
178 % \begin{center}
179 % \begin{tabular}{|l|l|}
180 % \hline
181 % \emph{option} & \emph{function}\\ \hline
182 % lowcycle & lowcycle.sty \\
183 % driver & driver for this dtx file \\
184 % \hline
185 % \end{tabular}
186 % \end{center}
187 % \MakeShortVerb{\|}
188 %
189 % \subsection{Version Information}
190 %
191 % \begin{macrocode}
192 %<*lowcycle>
193 \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 5.00}
194 \typeout{ -- Released October 01, 2010 by Shinsaku Fujita}
195 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
196 \def\j@urnalname{lowcycle}
197 \def\versi@ndate{October 01, 2010}
198 \def\versi@nno{ver5.00}
199 \def\copyrighth@lder{SF} % Shinsaku Fujita
200 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
201 \typeout{XyMTeX Macro File `\j@urnalname' (\versi@nno) <\versi@ndate>%
202 \space[\copyrighth@lder]}
203 % \end{macrocode}
204 %
205 % \section{List of commands for lowcycle.sty}
206 %
207 % \begin{verbatim}
208 % **********************************
209 % * lowcycle.sty: list of commands *
210 % **********************************
211 %
212 % \cyclopentanev \@cyclopentanev
213 % \cyclopentanevi \@cyclopentanevi
214 % \cyclopentaneh \@cyclopentaneh
215 % \cyclopentanehi \@cyclopentanehi
216 %
217 % \cyclobutane \@cyclobutane
218 %
219 % \cyclopropane \@cyclopropane
220 % \cyclopropanei \@cyclopropanei
221 % \cyclopropaneh \@cyclopropaneh
222 % \cyclopropanehi \@cyclopropanehi
223 %
224 % \indanev \@indanev
225 % \indanevi \@indanevi
226 % \indaneh \@indaneh
227 % \indanehi \@indanehi
228 % \end{verbatim}
229 %
230 % \section{Input of basic macros}
231 %
232 % To assure the compatibility to \LaTeX{}2.09 (the native mode),
233 % the commands added by \LaTeXe{} have not been used in the resulting sty
234 % files ({\sf lowcycle.sty} for the present case). Hence, the combination
235 % of |\input| and |\@ifundefined| is used to crossload sty
236 % files ({\sf chemstr.sty} etc. for the present case) in place of the
237 % |\RequirePackage| command of \LaTeXe{}.
238 %
239 % \begin{macrocode}
240 % *************************
241 % * input of basic macros *
242 % *************************
243 \@ifundefined{setsixringv}{\input chemstr.sty\relax}{}
244 \@ifundefined{threehetero}{\input hetarom.sty\relax}{}
245 \@ifundefined{sixheteroh}{\input hetaromh.sty\relax}{}
246 \unitlength=0.1pt
247 % \end{macrocode}
248 %
249 % \section{Cyclopentane derivatives}
250 % \subsection{Vertical type}
251 %
252 % The macros |\cyclopentanev| and |\cyclopentanevi| have an
253 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
254 % The macro |\cyclopentanev| draws a five-membered ring with a
255 % flat top bond, while the macro |\cyclopentanevi| draws an
256 % inverse ring with a flat bottom bond.
257 % \begin{verbatim}
258 % ******************************
259 % * cyclopentane derivatives *
260 % * (vertical type & inverse) *
261 % ******************************
262 %
263 % \cyclopentanev[BONDLIST]{SUBSLIST}
264 % \cyclopentanevi[BONDLIST]{SUBSLIST}
265 % \end{verbatim}
266 %
267 % The |BONDLIST| argument contains one or more
268 % characters selected from a to e, each of which indicates the presence of
269 % an inner (endcyclic) double bond on the corresponding position. The
270 % option `$n+$' ($n=1$--$5$) is used for designating a plus charge on
271 % the $n$-carbon.
272 % The option `$0+$'is used for designating a plus charge at the center
273 % of the five-membered ring.
274 % \begin{verbatim}
275 % BONDLIST: list of inner double bonds
276 %
277 % none : mother nucleus (fully saturated form)
278 % a : 1,2-double bond
279 % b : 2,3-double bond
280 % c : 4,3-double bond
281 % d : 4,5-double bond
282 % e : 5,1-double bond
283 % {n+} : plus at the n-carbon atom (n = 1 to 5)
284 % {0+} : plus at the center
285 % \end{verbatim}
286 %
287 % The |SUBSLIST| argument contains one or more substitution descriptors
288 % which are separated from each other by a semicolon. Each substitution
289 % descriptor has a locant number with a bond modifier and a substituent,
290 % where these are separated with a double equality symbol.
291 % \begin{verbatim}
292 %
293 % SUBSLIST: list of substituents
294 %
295 % for n = 1 to 5
296 %
297 % nD : exocyclic double bond at n-atom
298 % n or nS : exocyclic single bond at n-atom
299 % nA : alpha single bond at n-atom
300 % nB : beta single bond at n-atom
301 % nSA : alpha single bond at n-atom (boldface)
302 % nSB : beta single bond at n-atom (dotted line)
303 % nSa : alpha (not specified) single bond at n-atom
304 % nSb : beta (not specified) single bond at n-atom
305 % \end{verbatim}
306 %
307 % Several examples are shown as follows.
308 % \begin{verbatim}
309 % e.g.
310 %
311 % \cyclopentanev{1==H;2==F}
312 % \cyclopentanev[]{1==H;2==F}
313 % \cyclopentanev[H]{1==H;2==F}
314 % \end{verbatim}
315 %
316 % \begin{macro}{\cyclopentanev}
317 % \begin{macro}{\cyclopentanevi}
318 % \begin{macrocode}
319 \def\cyclopentanev{\@ifnextchar[{\@cyclopentanev[@}{\@cyclopentanev[]}}
320 \def\@cyclopentanev[#1]#2{%
321 \iforigpt \typeout{command `cyclopentanev' %
322 is based on `fiveheterov'.}\fi%
323 \fiveheterov[#1]{}{#2}}
324 % \end{macrocode}
325 %
326 % \begin{macrocode}
327 \def\cyclopentanevi{\@ifnextchar[{\@cyclopentanevi[@}{\@cyclopentanevi[]}}
328 \def\@cyclopentanevi[#1]#2{%
329 \iforigpt \typeout{command `cyclopentanevi' %
330 is based on `fiveheterovi'.}\fi%
331 \fiveheterovi[#1]{}{#2}}
332 % \end{macrocode}
333 % \end{macro}
334 % \end{macro}
335 %
336 % \subsection{Horizontal type}
337 %
338 % The macros |\cyclopentaneh| and |\cyclopentanehi| have an
339 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
340 % The macro |\cyclopentaneh| draws a five-membered ring with a
341 % vertical left bond, while the macro |\cyclopentanehi| draws an
342 % inverse ring with a vertical right bond.
343 % \begin{verbatim}
344 % ********************************
345 % * cyclopentane derivatives *
346 % * (horizontal type & inverse) *
347 % ********************************
348 %
349 % \cyclopentaneh[BONDLIST]{SUBSLIST}
350 % \cyclopentanehi[BONDLIST]{SUBSLIST}
351 % \end{verbatim}
352 %
353 % The |BONDLIST| argument contains one or more
354 % characters selected from a to e, each of which indicates the presence of
355 % an inner (endcyclic) double bond on the corresponding position. The
356 % option `$n+$' ($n=1$--$5$) is used for designating a plus charge on
357 % the $n$-carbon.
358 % The option `$0+$'is used for designating a plus charge at the center
359 % of the five-membered ring.
360 % \begin{verbatim}
361 %
362 % BONDLIST: list of inner double bonds
363 %
364 % none : mother nucleus (fully saturated form)
365 % a : 1,2-double bond
366 % b : 2,3-double bond
367 % c : 4,3-double bond
368 % d : 4,5-double bond
369 % e : 5,1-double bond
370 % {n+} : plus at the n-carbon atom (n = 1 to 5)
371 % {0+} : plus at the center
372 % \end{verbatim}
373 %
374 % The |SUBSLIST| argument contains one or more substitution descriptors
375 % which are separated from each other by a semicolon. Each substitution
376 % descriptor has a locant number with a bond modifier and a substituent,
377 % where these are separated with a double equality symbol.
378 % \begin{verbatim}
379 %
380 % SUBSLIST: list of substituents
381 %
382 % for n = 1 to 5
383 %
384 % nD : exocyclic double bond at n-atom
385 % n or nS : exocyclic single bond at n-atom
386 % nA : alpha single bond at n-atom
387 % nB : beta single bond at n-atom
388 % nSA : alpha single bond at n-atom (boldface)
389 % nSB : beta single bond at n-atom (dotted line)
390 % nSa : alpha (not specified) single bond at n-atom
391 % nSb : beta (not specified) single bond at n-atom
392 % \end{verbatim}
393 %
394 % Several examples are shown as follows.
395 % \begin{verbatim}
396 %
397 % e.g.
398 %
399 % \cyclopentaneh{1==H;2==F}
400 % \cyclopentanehi[]{1==H;2==F}
401 % \cyclopentanehi[H]{1==H;2==F}
402 %
403 % \end{verbatim}
404 %
405 % \begin{macro}{\cyclopentaneh}
406 % \begin{macro}{\cyclopentanehi}
407 % \begin{macrocode}
408 \def\cyclopentaneh{\@ifnextchar[{\@cyclopentaneh[@}{\@cyclopentaneh[]}}
409 \def\@cyclopentaneh[#1]#2{%
410 \iforigpt \typeout{command `cyclophentaneh' %
411 is based on `fiveheteroh'.}\fi%
412 \fiveheteroh[#1]{}{#2}}
413 % \end{macrocode}
414 %
415 % \begin{macrocode}
416 \def\cyclopentanehi{%
417 \@ifnextchar[{\@cyclopentanehi[@}{\@cyclopentanehi[]}}
418 \def\@cyclopentanehi[#1]#2{%
419 \iforigpt \typeout{command `cyclopentanehi' %
420 is based on `fiveheterohi'.}\fi%
421 \fiveheterohi[#1]{}{#2}}
422 % \end{macrocode}
423 % \end{macro}
424 % \end{macro}
425 %
426 % \section{Indan derivatives}
427 % \subsection{Vertical type}
428 %
429 % The macros |\indanev| and |\indanevi| have an
430 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
431 % The macro |\indanev| draws a five-membered ring with a
432 % flat top bond, while the macro |\indanevi| draws an
433 % inverse ring with a flat bottom bond.
434 % \begin{verbatim}
435 % ***********************************************************
436 % * indane derivatives (fused six- and five-membered rings) *
437 % * (vertical type & inverse) *
438 % ***********************************************************
439 %
440 % \indanev[BONDLIST]{SUBSLIST}
441 % \indanevi[BONDLIST]{SUBSLIST}
442 % \end{verbatim}
443 %
444 % The |BONDLIST| argument contains one or more
445 % characters selected from a to j, each of which indicates the presence of
446 % an inner (endcyclic) double bond on the corresponding position.
447 % The option `A' typesets a six-membered ring with an aromatic circle.
448 % The option `$n+$' ($n=1$--$7$) is used for designating a plus charge on
449 % the $n$-carbon.
450 % \begin{verbatim}
451 %
452 % BONDLIST: list of bonds
453 %
454 % none or r : aromatic six-membered ring
455 % H or [] : fully saturated form
456 % a : 1,2-double bond b : 2,3-double bond
457 % c : 3,3a-double bond d : 4,3a-double bond
458 % e : 4,5-double bond f : 5,6-double bond
459 % g : 6,7-double bond h : 7,7a-double bond
460 % i : 1,7a-double bond j : 3a,4a-double bond
461 % A : aromatic circle
462 % {n+} : plus at the n-nitrogen atom (n = 1 to 7)
463 % \end{verbatim}
464 %
465 % The |SUBSLIST| argument contains one or more substitution descriptors
466 % which are separated from each other by a semicolon. Each substitution
467 % descriptor has a locant number with a bond modifier and a substituent,
468 % where these are separated with a double equality symbol.
469 % \begin{verbatim}
470 %
471 % SUBSLIST: list of substituents (max 7 substitution positions)
472 %
473 % for n = 1 to 8
474 %
475 % nD : exocyclic double bond at n-atom
476 % n or nS : exocyclic single bond at n-atom
477 % nA : alpha single bond at n-atom
478 % nB : beta single bond at n-atom
479 % nSA : alpha single bond at n-atom (boldface)
480 % nSB : beta single bond at n-atom (dotted line)
481 % nSa : alpha (not specified) single bond at n-atom
482 % nSb : beta (not specified) single bond at n-atom
483 %
484 % for 8 (3a position) and 9 (7a position)
485 %
486 % nD : exocyclic double bond at n-atom
487 % n or nS : exocyclic single bond at n-atom
488 % nA : alpha single bond at n-atom
489 % nB : beta single bond at n-atom
490 % \end{verbatim}
491 %
492 % Several examples are shown as follows.
493 % \begin{verbatim}
494 %
495 % e.g.
496 %
497 % \indanev{1==Cl;2==F}
498 % \indanev[c]{1==Cl;4==F;2==CH$_{3}$}
499 % \indanev[eb]{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl}
500 %
501 % \end{verbatim}
502 %
503 % \begin{macro}{\indanev}
504 % \begin{macro}{\indanevi}
505 % \begin{macrocode}
506 \def\indanev{\@ifnextchar[{\@indanev[@}{\@indanev[rb]}}
507 \def\@indanev[#1]#2{%
508 \iforigpt \typeout{command `indanev' %
509 is based on `nonaheterov'.}\fi%
510 \nonaheterov[#1]{}{#2}}
511 % \end{macrocode}
512 %
513 % \begin{macrocode}
514 \def\indanevi{\@ifnextchar[{\@indanevi[@}{\@indanevi[rb]}}
515 \def\@indanevi[#1]#2{%
516 \iforigpt \typeout{command `indanevi' %
517 is based on `nonaheterovi'.}\fi%
518 \nonaheterovi[#1]{}{#2}}
519 % \end{macrocode}
520 % \end{macro}
521 % \end{macro}
522 %
523 % \subsection{Horizontal type}
524 %
525 % The macros |\indaneh| and |\indanehi| have an
526 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
527 % The macro |\indaneh| draws a five-membered ring with a
528 % vertical left bond, while the macro |\indanehi| draws an
529 % inverse ring with a vertical right bond.
530 % \begin{verbatim}
531 % ***********************************************************
532 % * indane derivatives (fused six- and five-membered rings) *
533 % * (horizontal type & inverse) *
534 % ***********************************************************
535 %
536 % \indaneh[BONDLIST]{SUBSLIST}
537 % \indanehi[BONDLIST]{SUBSLIST}
538 % \end{verbatim}
539 %
540 % The |BONDLIST| argument contains one or more
541 % characters selected from a to j, each of which indicates the presence of
542 % an inner (endcyclic) double bond on the corresponding position.
543 % The option `A' typesets a six-membered ring with an aromatic circle.
544 % The option `$n+$' ($n=1$--$7$) is used for designating a plus charge on
545 % the $n$-carbon.
546 % \begin{verbatim}
547 %
548 % BONDLIST: list of bonds
549 %
550 % none or r : aromatic six-membered ring
551 % H or [] : fully saturated form
552 % a : 1,2-double bond b : 2,3-double bond
553 % c : 3,3a-double bond d : 4,3a-double bond
554 % e : 4,5-double bond f : 5,6-double bond
555 % g : 6,7-double bond h : 7,7a-double bond
556 % i : 1,7a-double bond j : 3a,4a-double bond
557 % A : aromatic circle
558 % {n+} : plus at the n-nitrogen atom (n = 1 to 7)
559 % \end{verbatim}
560 %
561 % The |SUBSLIST| argument contains one or more substitution descriptors
562 % which are separated from each other by a semicolon. Each substitution
563 % descriptor has a locant number with a bond modifier and a substituent,
564 % where these are separated with a double equality symbol.
565 % \begin{verbatim}
566 %
567 % SUBSLIST: list of substituents
568 %
569 % for n = 1 to 8
570 %
571 % nD : exocyclic double bond at n-atom
572 % n or nS : exocyclic single bond at n-atom
573 % nA : alpha single bond at n-atom
574 % nB : beta single bond at n-atom
575 % nSA : alpha single bond at n-atom (boldface)
576 % nSB : beta single bond at n-atom (dotted line)
577 % nSa : alpha (not specified) single bond at n-atom
578 % nSb : beta (not specified) single bond at n-atom
579 %
580 % for 8 (3a position) and 9 (7a position)
581 %
582 % nD : exocyclic double bond at n-atom
583 % n or nS : exocyclic single bond at n-atom
584 % nA : alpha single bond at n-atom
585 % nB : beta single bond at n-atom
586 % \end{verbatim}
587 %
588 % Several examples are shown as follows.
589 % \begin{verbatim}
590 % e.g.
591 %
592 % \indaneh{1==Cl;2==F}
593 % \indaneh[c]{1==Cl;4==F;2==CH$_{3}$}
594 % \indaneh[eb]{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl}
595 % \end{verbatim}
596 %
597 % \begin{macro}{\indaneh}
598 % \begin{macro}{\indanehi}
599 % \begin{macrocode}
600 \def\indaneh{\@ifnextchar[{\@indaneh[@}{\@indaneh[rb]}}
601 \def\@indaneh[#1]#2{%
602 \iforigpt \typeout{command `indaneh' %
603 is based on `nonaheteroh'.}\fi%
604 \nonaheteroh[#1]{}{#2}}
605 \def\indanehi{\@ifnextchar[{\@indanehi[@}{\@indanehi[rb]}}
606 \def\@indanehi[#1]#2{%
607 \iforigpt \typeout{command `indanehi' %
608 is based on `nonaheterohi'.}\fi%
609 \nonaheterohi[#1]{}{#2}}
610 % \end{macrocode}
611 % \end{macro}
612 % \end{macro}
613 %
614 %
615 % \section{Cyclobutane derivatives}
616 %
617 % The macros |\cyclobutane| has an
618 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
619 % This macro is based on the \verb/\fourhetero/ command for drawing
620 % four-membered heterocycles.
621 % \begin{verbatim}
622 % ***************************
623 % * cyclobutane derivatives *
624 % ***************************
625 % The following numbering is adopted in this macro.
626 %
627 % c
628 % 4 _____ 3
629 % d | | b
630 % | |
631 % 1 ----- 2<===== the original point
632 % a
633 %
634 % \cyclobutane[BONDLIST]{SUBSLIST}
635 % \end{verbatim}
636 %
637 % The |BONDLIST| argument contains one or more
638 % characters selected from a to e, each of which indicates the presence of
639 % an inner (endcyclic) double bond on the corresponding position.
640 % The option `$n+$' ($n=1$--$4$) is used for designating a plus charge on
641 % the $n$-carbon.
642 % \begin{verbatim}
643 %
644 % BONDLIST: list of inner double bonds
645 %
646 % a : 1,2-double bond
647 % b : 2,3-double bond
648 % c : 4,3-double bond
649 % e : 4,1-double bond
650 %
651 % {n+} : plus at the n-nitrogen atom (n = 1 to 4)
652 % \end{verbatim}
653 %
654 % The |SUBSLIST| argument contains one or more substitution descriptors
655 % which are separated from each other by a semicolon. Each substitution
656 % descriptor has a locant number with a bond modifier and a substituent,
657 % where these are separated with a double equality symbol.
658 % \begin{verbatim}
659 %
660 % SUBSLIST: list of substituents (max 5 substitution positions)
661 %
662 % for n = 1 to 4
663 %
664 % nD : exocyclic double bond at n-atom
665 % n or nS : exocyclic single bond at n-atom
666 % nA : alpha single bond at n-atom
667 % nB : beta single bond at n-atom
668 % nSA : alpha single bond at n-atom (boldface)
669 % nSB : beta single bond at n-atom (dotted line)
670 % nSa : alpha (not specified) single bond at n-atom
671 % nSb : beta (not specified) single bond at n-atom
672 % \end{verbatim}
673 %
674 % Several examples are shown as follows.
675 % \begin{verbatim}
676 % e.g.
677 %
678 % \cyclobutane{1==H;2==F}
679 % \cyclobutane[c]{1==Cl;4==F;2==CH$_{3}$}
680 % \cyclobutane[eb]{1D==O;4SA==MeO;4SB==OMe}
681 % \end{verbatim}
682 %
683 % \begin{macro}{\cyclobutane}
684 % \begin{macrocode}
685 \def\cyclobutane{\@ifnextchar[{\@cyclobutane[@}{\@cyclobutane[]}}
686 \def\@cyclobutane[#1]#2{%
687 \iforigpt \typeout{command `cyclobutane' %
688 is based on `fourhetero'.}\fi%
689 \fourhetero[#1]{}{#2}}
690 % \end{macrocode}
691 % \end{macro}
692 %
693 % \section{Cyclopropane derivatives}
694 %
695 % The macros |\cyclopropane| has an
696 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
697 % This macro is based on the \verb/\threehetero/ command for drawing
698 % three-membered heterocycles.
699 % \begin{verbatim}
700 % ****************************
701 % * cyclopropane derivatives *
702 % * (vertical type) *
703 % ****************************
704 % The following numbering is adopted in this macro.
705 %
706 % b
707 % 3--------2
708 % c ` / a
709 % `1/ <===== the original point
710 %
711 %
712 % \cyclopropane[BONDLIST]{SUBSLIST}
713 % \end{verbatim}
714 %
715 % The |BONDLIST| argument contains one or more
716 % characters selected from a to c, each of which indicates the presence of
717 % an inner (endcyclic) double bond on the corresponding position.
718 % The option `A' is used for designating an aromatic character with a
719 % circle.
720 % The option `$n+$' ($n=1$--$3$) is used for designating a plus charge on
721 % the $n$-carbon, while
722 % the case $n=4$--$6$) indicates a plus charge outside the ring.
723 % The option `0+' draws a plus symbol at the center of the ring.
724 % \begin{verbatim}
725 %
726 % BONDLIST =
727 %
728 % none : saturated
729 % a : 1,2-double bond
730 % b : 2,3-double bond
731 % c : 3,1-double bond
732 % A : aromatic circle
733 % {n+} : plus at the n-hetero atom (n = 1 to 3)
734 % : n=4 -- outer plus at 1 position
735 % : n=5 -- outer plus at 2 position
736 % : n=6 -- outer plus at 3 position
737 % {0+} : plus at the center of a cyclopropane ring
738 % \end{verbatim}
739 %
740 % The |SUBSLIST| argument contains one or more substitution descriptors
741 % which are separated from each other by a semicolon. Each substitution
742 % descriptor has a locant number with a bond modifier and a substituent,
743 % where these are separated with a double equality symbol.
744 % \begin{verbatim}
745 %
746 % SUBSLIST: list of substituents (max 3 substitution positions)
747 %
748 % for n = 1 to 3
749 %
750 % nD : exocyclic double bond at n-atom
751 % n or nS : exocyclic single bond at n-atom
752 % nA : alpha single bond at n-atom
753 % nB : beta single bond at n-atom
754 % nSA : alpha single bond at n-atom (boldface)
755 % nSB : beta single bond at n-atom (dotted line)
756 % nSa : alpha (not specified) single bond at n-atom
757 % nSb : beta (not specified) single bond at n-atom
758 % \end{verbatim}
759 %
760 % Several examples are shown as follows.
761 % \begin{verbatim}
762 %
763 % e.g.
764 %
765 % \cyclopropane{1==N}{1==Cl;2==F}
766 %
767 % \end{verbatim}
768 %
769 % \begin{macro}{\cyclopropane}
770 % \begin{macro}{\cyclopropanev}
771 % \begin{macrocode}
772 \def\cyclopropane{\@ifnextchar[{\@cyclopropane[@}{\@cyclopropane[]}}
773 \def\@cyclopropane[#1]#2{%
774 \iforigpt \typeout{command `cyclopropane' %
775 is based on `threehetero'.}\fi%
776 \threehetero[#1]{}{#2}}
777 \let\cyclopropanev=\cyclopropane
778 % \end{macrocode}
779 % \end{macro}
780 % \end{macro}
781 %
782 % The macros |\cyclopropanei| has an
783 % argument |SUBSLIST| as well as an optional argument |BONDLIST|.
784 % This macro is based on the \verb/\threehetero/ command for drawing
785 % three-membered heterocycles.
786 % \begin{verbatim}
787 % ****************************
788 % * cyclopropane derivatives *
789 % * (inverse vertical type) *
790 % ****************************
791 % The following numbering is adopted in this macro.
792 %
793 % /1` <===== the original point
794 % c / ` a
795 % 3--------2
796 % b
797 %
798 % \cyclopropanei[BONDLIST]{SUBSLIST}
799 % \end{verbatim}
800 %
801 % The |BONDLIST| argument contains one or more
802 % characters selected from a to c, each of which indicates the presence of
803 % an inner (endcyclic) double bond on the corresponding position.
804 % The option `A' is used for designating an aromatic character with a
805 % circle.
806 % The option `$n+$' ($n=1$--$3$) is used for designating a plus charge on
807 % the $n$-carbon, while
808 % the case $n=4$--$6$) indicates a plus charge outside the ring.
809 % The option `0+' draws a plus symbol at the center of the ring.
810 % \begin{verbatim}
811 %
812 % BONDLIST =
813 %
814 % none : saturated
815 % a : 1,2-double bond
816 % b : 2,3-double bond
817 % c : 3,1-double bond
818 % A : aromatic circle
819 % {n+} : plus at the n-hetero atom (n = 1 to 3)
820 % : n=4 -- outer plus at 1 position
821 % : n=5 -- outer plus at 2 position
822 % : n=6 -- outer plus at 3 position
823 % {0+} : plus at the center of a cyclopropane ring
824 % \end{verbatim}
825 %
826 % The |SUBSLIST| argument contains one or more substitution descriptors
827 % which are separated from each other by a semicolon. Each substitution
828 % descriptor has a locant number with a bond modifier and a substituent,
829 % where these are separated with a double equality symbol.
830 % \begin{verbatim}
831 %
832 % SUBSLIST: list of substituents (max 3 substitution positions)
833 %
834 % for n = 1 to 3
835 %
836 % nD : exocyclic double bond at n-atom
837 % n or nS : exocyclic single bond at n-atom
838 % nA : alpha single bond at n-atom
839 % nB : beta single bond at n-atom
840 % nSA : alpha single bond at n-atom (boldface)
841 % nSB : beta single bond at n-atom (dotted line)
842 % nSa : alpha (not specified) single bond at n-atom
843 % nSb : beta (not specified) single bond at n-atom
844 % \end{verbatim}
845 %
846 % Several examples are shown as follows.
847 % \begin{verbatim}
848 %
849 % e.g.
850 %
851 % \cyclopropanei{1==N}{1==Cl;2==F}
852 %
853 % \end{verbatim}
854 % \changes{v1.02}{1998/10/20}{Newly added command}
855 %
856 % \begin{macro}{\cyclopropanei}
857 % \begin{macro}{\cyclopropenevi}
858 % \begin{macrocode}
859 \def\cyclopropanei{\@ifnextchar[{\@cyclopropanei[@}{\@cyclopropanei[]}}
860 \def\@cyclopropanei[#1]#2{%
861 \iforigpt \typeout{command `cyclopropanei' %
862 is based on `threeheteroi'.}\fi%
863 \threeheteroi[#1]{}{#2}}
864 \let\cyclopropanevi=\cyclopropanei
865 % \end{macrocode}
866 % \end{macro}
867 % \end{macro}
868 %
869 % \begin{macro}{\cyclopropaneh}
870 % \begin{macrocode}
871 \def\cyclopropaneh{\@ifnextchar[{\@cyclopropaneh[@}{\@cyclopropaneh[]}}
872 \def\@cyclopropaneh[#1]#2{%
873 \iforigpt \typeout{command `cyclopropaneh' %
874 is based on `threeheteroh'.}\fi%
875 \threeheteroh[#1]{}{#2}}
876 % \end{macrocode}
877 % \end{macro}
878 %
879 % \begin{macro}{\cyclopropanehi}
880 % \begin{macrocode}
881 \def\cyclopropanehi{\@ifnextchar[{\@cyclopropanehi[@}{\@cyclopropanehi[]}}
882 \def\@cyclopropanehi[#1]#2{%
883 \iforigpt \typeout{command `cyclopropanehi' %
884 is based on `threeheterohi'.}\fi%
885 \threeheterohi[#1]{}{#2}}
886 %</lowcycle>
887 % \end{macrocode}
888 % \end{macro}
889 %
890 % \Finale
891 %
892 \endinput