| 1 |
% \iffalse meta-comment |
| 2 |
%% File: hetarom.dtx |
| 3 |
% |
| 4 |
% Copyright 1993,1996,1998,2000,2002,2004,2006,2010,2013 by Shinsaku Fujita |
| 5 |
% |
| 6 |
% This file is part of XyMTeX system. |
| 7 |
% ------------------------------------- |
| 8 |
% |
| 9 |
% This file is a successor to: |
| 10 |
% |
| 11 |
% hetarom.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 hetarom.dtx and hetarom.ins |
| 45 |
% and the derived file hetarom.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{hetarom} |
| 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{hetarom} |
| 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{hetarom} |
| 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{hetarom} |
| 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{hetarom} |
| 80 |
% \def\versi@ndate{November 11, 2000} |
| 81 |
% \def\versi@nno{ver2.00a} |
| 82 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 83 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 84 |
% \def\j@urnalname{hetarom} |
| 85 |
% \def\versi@ndate{June 20, 2001} |
| 86 |
% \def\versi@nno{ver2.01} |
| 87 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 88 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 89 |
% \def\j@urnalname{hetarom} |
| 90 |
% \def\versi@ndate{April 30, 2002} |
| 91 |
% \def\versi@nno{ver3.00} |
| 92 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 93 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 94 |
% \def\j@urnalname{hetarom} |
| 95 |
% \def\versi@ndate{May 30, 2002} |
| 96 |
% \def\versi@nno{ver4.00} |
| 97 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 98 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 99 |
% \def\j@urnalname{hetarom} |
| 100 |
% \def\versi@ndate{August 30, 2004} |
| 101 |
% \def\versi@nno{ver4.01} |
| 102 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 103 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 104 |
% \def\j@urnalname{hetarom} |
| 105 |
% \def\versi@ndate{December 20, 2004} |
| 106 |
% \def\versi@nno{ver4.02} |
| 107 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 108 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 109 |
% \def\j@urnalname{hetarom} |
| 110 |
% \def\versi@ndate{September 5, 2006} |
| 111 |
% \def\versi@nno{ver4.03b} |
| 112 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 113 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 114 |
% \def\j@urnalname{hetarom} |
| 115 |
% \def\versi@ndate{October 01, 2010} |
| 116 |
% \def\versi@nno{ver5.00} |
| 117 |
% \def\copyrighth@lder{SF} % Shinsaku Fujita |
| 118 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 119 |
% |
| 120 |
% \fi |
| 121 |
% |
| 122 |
% \CheckSum{9032} |
| 123 |
%% \CharacterTable |
| 124 |
%% {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 |
| 125 |
%% 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 |
| 126 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 127 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 128 |
%% Dollar \$ Percent \% Ampersand \& |
| 129 |
%% Acute accent \' Left paren \( Right paren \) |
| 130 |
%% Asterisk \* Plus \+ Comma \, |
| 131 |
%% Minus \- Point \. Solidus \/ |
| 132 |
%% Colon \: Semicolon \; Less than \< |
| 133 |
%% Equals \= Greater than \> Question mark \? |
| 134 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 135 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 136 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 137 |
%% Right brace \} Tilde \~} |
| 138 |
% |
| 139 |
% \setcounter{StandardModuleDepth}{1} |
| 140 |
% |
| 141 |
% \StopEventually{} |
| 142 |
% \MakeShortVerb{\|} |
| 143 |
% |
| 144 |
% \iffalse |
| 145 |
% \changes{v1.01}{1996/06/27}{first edition for LaTeX2e} |
| 146 |
% \changes{v1.02}{1998/10/31}{revised edition for LaTeX2e} |
| 147 |
% \changes{v2.00}{1998/12/25}{enhanced edition for LaTeX2e} |
| 148 |
% \changes{v2.00a}{1998/11/11}{bug fix} |
| 149 |
% \changes{v2.01}{2001/06/20}{Size reduction and Clip infomation} |
| 150 |
% \changes{v2.01}{2001/06/21}{The command \cs{dotorline} is added.} |
| 151 |
% \changes{v3.00}{2002/04/30}{sfpicture environment etc.} |
| 152 |
% \changes{v4.00}{2002/05/30}{PostScript output and ShiftPicEnv} |
| 153 |
% \changes{v4.01}{2004/08/30}{Minor additions} |
| 154 |
% \changes{v4.02}{2004/12/20}{Exception to wedged bonds} |
| 155 |
% \changes{v4.02a}{2004/12/27}{Bug fix: \cs{ggg} to \cs{gggA}} |
| 156 |
% \changes{v4.03b}{2006/9/5}{Bug fix: \cs{decahetero} and \cs{nonahetero}} |
| 157 |
% \changes{v5.00}{2010/10/01}{for bond coloring and the LaTeX Project Public License} |
| 158 |
% \changes{v5.01}{2013/03/19}{Three and four-membered specfic commands are added} |
| 159 |
% \fi |
| 160 |
% |
| 161 |
% \iffalse |
| 162 |
%<*driver> |
| 163 |
\NeedsTeXFormat{pLaTeX2e} |
| 164 |
% \fi |
| 165 |
\ProvidesFile{hetarom.dtx}[2013/03/19 v5.01 XyMTeX{} package file] |
| 166 |
% \iffalse |
| 167 |
\documentclass{ltxdoc} |
| 168 |
\GetFileInfo{hetarom.dtx} |
| 169 |
% |
| 170 |
% %%XyMTeX Logo: Definition 2%%% |
| 171 |
\def\UPSILON{\char'7} |
| 172 |
\def\XyM{X\kern-.30em\smash{% |
| 173 |
\raise.50ex\hbox{\UPSILON}}\kern-.30em{M}} |
| 174 |
\def\XyMTeX{\XyM\kern-.1em\TeX} |
| 175 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 176 |
\title{Heterocycles of vertical type by {\sffamily hetarom.sty} |
| 177 |
(\fileversion) of \XyMTeX{}} |
| 178 |
\author{Shinsaku Fujita \\ |
| 179 |
Shonan Institute of Chemoinformatics and Mathematical Chemistry, \\ |
| 180 |
Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa 250-0019 Japan |
| 181 |
% % (old address) |
| 182 |
% %Department of Chemistry and Materials Technology, \\ |
| 183 |
% %Kyoto Institute of Technology, \\ |
| 184 |
% %Matsugasaki, Sakyoku, Kyoto, 606-8585 Japan |
| 185 |
% %% (old address) |
| 186 |
% %% Ashigara Research Laboratories, |
| 187 |
% %% Fuji Photo Film Co., Ltd., \\ |
| 188 |
% %% Minami-Ashigara, Kanagawa, 250-01 Japan |
| 189 |
} |
| 190 |
\date{\filedate} |
| 191 |
% |
| 192 |
\begin{document} |
| 193 |
\maketitle |
| 194 |
\DocInput{hetarom.dtx} |
| 195 |
\end{document} |
| 196 |
%</driver> |
| 197 |
% \fi |
| 198 |
% |
| 199 |
% \section{Introduction}\label{hetarom:intro} |
| 200 |
% |
| 201 |
% \subsection{Options for {\sffamily docstrip}} |
| 202 |
% |
| 203 |
% \DeleteShortVerb{\|} |
| 204 |
% \begin{center} |
| 205 |
% \begin{tabular}{|l|l|} |
| 206 |
% \hline |
| 207 |
% \emph{option} & \emph{function}\\ \hline |
| 208 |
% hetarom & hetarom.sty \\ |
| 209 |
% driver & driver for this dtx file \\ |
| 210 |
% \hline |
| 211 |
% \end{tabular} |
| 212 |
% \end{center} |
| 213 |
% \MakeShortVerb{\|} |
| 214 |
% |
| 215 |
% \subsection{Version Information} |
| 216 |
% |
| 217 |
% \begin{macrocode} |
| 218 |
%<*hetarom> |
| 219 |
\typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 5.01} |
| 220 |
\typeout{ -- Released March 19, 2013 by Shinsaku Fujita} |
| 221 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 222 |
\def\j@urnalname{hetarom} |
| 223 |
\def\versi@ndate{March 19, 2013} |
| 224 |
\def\versi@nno{ver5.01} |
| 225 |
\def\copyrighth@lder{SF} % Shinsaku Fujita |
| 226 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 227 |
\typeout{XyMTeX Macro File `\j@urnalname' (\versi@nno) <\versi@ndate>% |
| 228 |
\space[\copyrighth@lder]} |
| 229 |
% \end{macrocode} |
| 230 |
% |
| 231 |
% \section{List of commands for hetarom.sty} |
| 232 |
% |
| 233 |
% \begin{verbatim} |
| 234 |
% ********************************* |
| 235 |
% * hetarom.sty: list of commands * |
| 236 |
% ********************************* |
| 237 |
% |
| 238 |
% <Various flags (switches)> |
| 239 |
% |
| 240 |
% \if@gclip \@gclipfalse \@gcliptrue |
| 241 |
% \if@hclip \@hclipfalse \@hcliptrue |
| 242 |
% \if@iclip \@iclipfalse \@icliptrue |
| 243 |
% \if@jclip \@jclipfalse \@jcliptrue |
| 244 |
% \iniflag |
| 245 |
% \iniatom |
| 246 |
% \aaa |
| 247 |
% \bbb |
| 248 |
% \ccc |
| 249 |
% \ddd |
| 250 |
% \eee |
| 251 |
% \fff |
| 252 |
% \gggA |
| 253 |
% \hhh |
| 254 |
% \iii |
| 255 |
% \jjj |
| 256 |
% \end{verbatim} |
| 257 |
% |
| 258 |
% \begin{verbatim} |
| 259 |
% |
| 260 |
% <Six-Membered Heterocycles> |
| 261 |
% Setting inner double bonds |
| 262 |
% |
| 263 |
% \bonda |
| 264 |
% \bondb |
| 265 |
% \bondc |
| 266 |
% \bondd |
| 267 |
% \bonde |
| 268 |
% \bondf |
| 269 |
% \bondhoriz |
| 270 |
% \bondhorizi |
| 271 |
% |
| 272 |
% Setting skeletal bonds |
| 273 |
% |
| 274 |
% \skbonda |
| 275 |
% \skbondf |
| 276 |
% \skbondc |
| 277 |
% \skbondd |
| 278 |
% \skbondb |
| 279 |
% \skbonde |
| 280 |
% \skbondhoriz |
| 281 |
% \skbondhorizi |
| 282 |
% |
| 283 |
% Setting dotted skeletal bonds |
| 284 |
% |
| 285 |
% \dotskbonda |
| 286 |
% \dotskbondf |
| 287 |
% \dotskbondc |
| 288 |
% \dotskbondd |
| 289 |
% \dotskbondb |
| 290 |
% \dotskbonde |
| 291 |
% \dotskbondhoriz |
| 292 |
% \dotskbondhorizi |
| 293 |
% |
| 294 |
% Basic Macros |
| 295 |
% |
| 296 |
% \sixheterov \@sixheterov |
| 297 |
% \sixheterovi \@sixheterovi |
| 298 |
% |
| 299 |
% Application Macros |
| 300 |
% |
| 301 |
% \pyridinev \@pyridinev |
| 302 |
% \pyridinevi \@pyridinevi |
| 303 |
% \pyrazinev \@pyrazinev |
| 304 |
% \pyrimidinev \@pyrimidinev |
| 305 |
% \pyrimidinevi \@pyrimidinevi |
| 306 |
% \pyridazinev \@pyridazinev |
| 307 |
% \pyridazinevi \@pyridazinevi |
| 308 |
% \triazinev \@triazinev |
| 309 |
% \triazinevi \@triazinevi |
| 310 |
% \end{verbatim} |
| 311 |
% |
| 312 |
% \begin{verbatim} |
| 313 |
% |
| 314 |
% <Five-Membered Heterocycles> |
| 315 |
% Basic Macros |
| 316 |
% |
| 317 |
% \fiveheterov \@fiveheterov |
| 318 |
% \fiveheterovi \@fiveheterovi |
| 319 |
% |
| 320 |
% Application Macros |
| 321 |
% |
| 322 |
% \pyrrolev \@pyrrolev |
| 323 |
% \pyrazolev \@pyrazolev |
| 324 |
% \imidazolev \@imidazolev |
| 325 |
% \isoxazolev \@isoxazolev |
| 326 |
% \oxazolev \@oxazolev |
| 327 |
% |
| 328 |
% \furanv \@furanv |
| 329 |
% \thiophenev \@thiophenev |
| 330 |
% |
| 331 |
% \pyrrolevi \@pyrrolevi |
| 332 |
% \pyrazolevi \@pyrazolevi |
| 333 |
% \imidazolevi \@imidazolevi |
| 334 |
% \isoxazolevi \@isoxazolevi |
| 335 |
% \oxazolevi \@oxazolevi |
| 336 |
% |
| 337 |
% \furanvi \@furanvi |
| 338 |
% \thiophenevi \@thiophenevi |
| 339 |
% \end{verbatim} |
| 340 |
% |
| 341 |
% \begin{verbatim} |
| 342 |
% |
| 343 |
% <Six-Six-Fused Heterocycles> |
| 344 |
% Basic Macros |
| 345 |
% |
| 346 |
% \decaheterov \@decaheterov |
| 347 |
% \decaheterovi \@decaheterovi |
| 348 |
% \decaheterovb \@decaheterovb |
| 349 |
% \decaheterovt \@decaheterovt |
| 350 |
% |
| 351 |
% Adjustment Macros (for structures as substituents) |
| 352 |
% \changes{v1.02}{1998/10/16}{Newly added command} |
| 353 |
% |
| 354 |
% \clipdetection |
| 355 |
% \ylhetposition |
| 356 |
% \ylhetpositionb |
| 357 |
% \ylhetpositiont |
| 358 |
% |
| 359 |
% Application Macros |
| 360 |
% |
| 361 |
% \quinolinev \@quinolinev |
| 362 |
% \quinolinevi \@quinolinevi |
| 363 |
% \quinolinevb \@quinolinevb |
| 364 |
% \quinolinevt \@quinolinevt |
| 365 |
% |
| 366 |
% \isoquinolinev \@isoquinolinev |
| 367 |
% \isoquinolinevi \@isoquinolinevi |
| 368 |
% \isoquinolinevb \@isoquinolinevb |
| 369 |
% \isoquinolinevt \@isoquinolinevt |
| 370 |
% |
| 371 |
% \quinoxalinev \@quinoxalinev |
| 372 |
% \quinoxalinevi \@quinoxalinevi |
| 373 |
% \quinoxalinevb \@quinoxalinevb |
| 374 |
% \quinoxalinevt \@quinoxalinevt |
| 375 |
% |
| 376 |
% \quinazolinev \@quinazolinev |
| 377 |
% \quinazolinevi \@quinazolinevi |
| 378 |
% \quinazolinevb \@quinazolinevb |
| 379 |
% \quinazolinevt \@quinazolinevt |
| 380 |
% |
| 381 |
% \cinnolinev \@cinnolinev |
| 382 |
% \cinnolinevi \@cinnolinevi |
| 383 |
% \cinnolinevb \@cinnolinevb |
| 384 |
% \cinnolinevt \@cinnolinevt |
| 385 |
% |
| 386 |
% \pteridinev \@pteridinev |
| 387 |
% \pteridinevi \@pteridinevi |
| 388 |
% \pteridinevb \@pteridinevb |
| 389 |
% \pteridinevt \@pteridinevt |
| 390 |
% \end{verbatim} |
| 391 |
% |
| 392 |
% \begin{verbatim} |
| 393 |
% |
| 394 |
% <Six-Five-Fused Heterocycles> |
| 395 |
% Basic Macros |
| 396 |
% |
| 397 |
% \nonaheterov \@nonaheterov |
| 398 |
% \nonaheterovi \@nonaheterovi |
| 399 |
% |
| 400 |
% Application Macros |
| 401 |
% |
| 402 |
% \purinev \@purinev |
| 403 |
% \purinevi \@purinevi |
| 404 |
% \indolev \@indolev |
| 405 |
% \indolevi \@indolevi |
| 406 |
% \indolizinev \@indolizinev |
| 407 |
% \indolizinevi \@indolizinevi |
| 408 |
% \isoindolev \@isoindolev |
| 409 |
% \isoindolevi \@isoindolevi |
| 410 |
% \benzofuranev \@benzofuranev |
| 411 |
% \benzofuranevi \@benzofuranevi |
| 412 |
% \isobenzofuranev \@isobenzofuranev |
| 413 |
% \isobenzofuranevi \@isobenzofuranevi |
| 414 |
% \benzoxazolev \@benzoxazolev |
| 415 |
% \benzoxazolevi \@benzoxazolevi |
| 416 |
% \end{verbatim} |
| 417 |
% |
| 418 |
% \begin{verbatim} |
| 419 |
% |
| 420 |
% <Four-Membered Heterocycles> |
| 421 |
% Setting bonds |
| 422 |
% \bondshoriz \bondshorizi |
| 423 |
% \skbondshoriz \skbondshorizi |
| 424 |
% |
| 425 |
% Basic Macros |
| 426 |
% |
| 427 |
% \fourhetero \@fourhetero |
| 428 |
% |
| 429 |
% Application Macros |
| 430 |
% |
| 431 |
% \oxetane |
| 432 |
% \azetidine |
| 433 |
% |
| 434 |
% \end{verbatim} |
| 435 |
% |
| 436 |
% \begin{verbatim} |
| 437 |
% |
| 438 |
% <Four-Membered Heterocycles> |
| 439 |
% Setting inner double bonds |
| 440 |
% |
| 441 |
% \bondtria \bondtrib |
| 442 |
% \skbondtria \skbondtrib |
| 443 |
% \Bondtria \Bondtrib |
| 444 |
% \skBondtria \skBondtrib |
| 445 |
% |
| 446 |
% Basic Macros |
| 447 |
% |
| 448 |
% (\fourhetero) (\@fourhetero) |
| 449 |
% \set@fusionadd@fourv \set@fusion@fourv |
| 450 |
% |
| 451 |
% <Three-Membered Heterocycles> |
| 452 |
% |
| 453 |
% \threehetero \@threehetero |
| 454 |
% \threeheteroi \@threeheteroi |
| 455 |
% |
| 456 |
% \threeheterov \@threeheterov |
| 457 |
% \threeheterovi \@threeheterovi |
| 458 |
% |
| 459 |
% \set@fusionadd@threev \set@fusion@threev |
| 460 |
% \set@fusionadd@threevi \set@fusion@threevi |
| 461 |
% |
| 462 |
% Application Macros |
| 463 |
% |
| 464 |
% \oxiranev \oxiranevi |
| 465 |
% \aziridinev \aziridinevi |
| 466 |
% \thiiranev \thiiranevi |
| 467 |
% |
| 468 |
% \end{verbatim} |
| 469 |
% |
| 470 |
% \begin{verbatim} |
| 471 |
% |
| 472 |
% <Building Units> |
| 473 |
% |
| 474 |
% \sixunitv \@sixunitv |
| 475 |
% \fiveunitv \@fiveunitv |
| 476 |
% \fiveunitvi \@fiveunitvi |
| 477 |
% \end{verbatim} |
| 478 |
% |
| 479 |
% \section{Input of basic macros} |
| 480 |
% |
| 481 |
% To assure the compatibility to \LaTeX{}2.09 (the native mode), |
| 482 |
% the commands added by \LaTeXe{} have not been used in the resulting sty |
| 483 |
% files ({\sf hetarom.sty} for the present case). Hence, the combination |
| 484 |
% of |\input| and |\@ifundefined| is used to crossload sty |
| 485 |
% files ({\sf chemstr.sty} for the present case) in place of the |
| 486 |
% |\RequirePackage| command of \LaTeXe{}. |
| 487 |
% |
| 488 |
% \begin{macrocode} |
| 489 |
% ************************* |
| 490 |
% * input of basic macros * |
| 491 |
% ************************* |
| 492 |
\@ifundefined{setsixringv}{\input chemstr.sty\relax}{}% |
| 493 |
\unitlength=0.1pt% |
| 494 |
% \end{macrocode} |
| 495 |
% |
| 496 |
% The following switches and macros have been moved to {\sf chemstr.sty}; |
| 497 |
% hence, they are commented out. |
| 498 |
% \begin{macrocode} |
| 499 |
% % **************************** |
| 500 |
% % * various flags (switches) * |
| 501 |
% % **************************** |
| 502 |
% \newif\if@gclip \@gclipfalse% |
| 503 |
% \newif\if@hclip \@hclipfalse% |
| 504 |
% \newif\if@iclip \@iclipfalse% |
| 505 |
% \newif\if@jclip \@jclipfalse% |
| 506 |
% \def\iniflag{% |
| 507 |
% \@aclipfalse \@bclipfalse\@cclipfalse\@clipfalse\@eclipfalse% |
| 508 |
% \@fclipfalse\@gclipfalse\@hclipfalse\@iclipfalse\@jclipfalse% |
| 509 |
% \@clipfusefalse}% |
| 510 |
% \def\iniatom{% |
| 511 |
% \def\aaa{}\def\bbb{}\def\ccc{}\def\ddd{}\def\eee{}\def\fff{}% |
| 512 |
% \def\gggA{}\def\hhh{}\def\iii{}\def\jjj{}% |
| 513 |
% \def\@aaa{}\def\@bbb{}\def\@ccc{}\def\@ddd{}\def\@eee{}\def\@fff{}% |
| 514 |
% }% |
| 515 |
% \def\resetbdsw{\gdef\@aaa{a}\gdef\@bbb{b}\gdef\@ccc{c}% |
| 516 |
% \gdef\@ddd{d}\gdef\@eee{e}\gdef\@fff{f}}% |
| 517 |
% \end{macrocode} |
| 518 |
% |
| 519 |
% \section{Initialization} |
| 520 |
% |
| 521 |
% \begin{macrocode} |
| 522 |
\iniatom% |
| 523 |
% \end{macrocode} |
| 524 |
% |
| 525 |
% \section{Macros for setting bonds} |
| 526 |
% \subsection{Inner double bonds} |
| 527 |
% |
| 528 |
% The macros |\sixhetero| and |\fivehetero| use internal macros for setting |
| 529 |
% inner double bonds in accordance with the presence or the absence of |
| 530 |
% hetero atoms. During the processes of such setting, |
| 531 |
% the inner macros |\bonda| to |\bondf| are used to set a bond |
| 532 |
% on each edge of a six- or five-membered ring; and |
| 533 |
% the inner macros |\bondz| to |\bondzi| draw horizontal bonds |
| 534 |
% of a five-membered ring. |
| 535 |
% |
| 536 |
% Note that |
| 537 |
% comments (conerning locant numbers) on the end of each row have |
| 538 |
% lost the exact meaning, |
| 539 |
% since such a command moiety is used in many macros after copying. |
| 540 |
% |
| 541 |
% \begin{verbatim} |
| 542 |
% ****************************** |
| 543 |
% * setting inner double bonds * |
| 544 |
% ****************************** |
| 545 |
% The following numbering is adopted in these macros. |
| 546 |
% aaa |
| 547 |
% 1 |
| 548 |
% f * a |
| 549 |
% fff 6 * * 2 bbb |
| 550 |
% e | | b |
| 551 |
% | | |
| 552 |
% eee 5 * * 3 ccc |
| 553 |
% d * c |
| 554 |
% 4 <===== the original point |
| 555 |
% ddd |
| 556 |
% \end{verbatim} |
| 557 |
% |
| 558 |
% \begin{macro}{\bonda} |
| 559 |
% The macro |\bonda| refers to the control sequences representing |
| 560 |
% atoms on both of the terminal vertices (|\aaa| and |\bbb|) and |
| 561 |
% examine whether these are empty or not. Thereby, |
| 562 |
% it decides the vertices to be truncated. |
| 563 |
% |
| 564 |
% \begin{macrocode} |
| 565 |
% bond between 1 and 2 |
| 566 |
\def\bonda{% |
| 567 |
\ifx\aaa\empty% |
| 568 |
\ifx\bbb\empty% |
| 569 |
\Put@Line(6,364)(5,-3){126}% %double bond 1-2 |
| 570 |
\else% |
| 571 |
\Put@Line(6,364)(5,-3){100}% %double bond 1-2 |
| 572 |
\fi% |
| 573 |
\else% |
| 574 |
\ifx\bbb\empty% |
| 575 |
\Put@Line(35,340)(5,-3){100}% %double bond 1-2 |
| 576 |
\else% |
| 577 |
\Put@Line(35,352)(5,-3){100}% %double bond 1-2 |
| 578 |
\fi% % line <1OO not available |
| 579 |
\fi% |
| 580 |
}% |
| 581 |
% \end{macrocode} |
| 582 |
% \end{macro} |
| 583 |
% |
| 584 |
% \begin{macro}{\bondb} |
| 585 |
% The macro |\bondb| refers to the control sequences representing |
| 586 |
% atoms on both of the terminal vertices (|\bbb| and |\ccc|) and |
| 587 |
% examine whether these are empty or not. Thereby, |
| 588 |
% it decides the vertices to be truncated. |
| 589 |
% |
| 590 |
% \begin{macrocode} |
| 591 |
% bond between 3 and 2 |
| 592 |
\def\bondb{% |
| 593 |
\ifx\bbb\empty% |
| 594 |
\ifx\ccc\empty% |
| 595 |
\Put@Line(138,129)(0,1){148}% %double bond 3-2 |
| 596 |
\else% |
| 597 |
\Put@Line(138,143)(0,1){134}% %double bond 3-2 |
| 598 |
\fi% |
| 599 |
\else% |
| 600 |
\ifx\ccc\empty% |
| 601 |
\Put@Line(138,129)(0,1){134}% %double bond 3-2 |
| 602 |
\else% |
| 603 |
\Put@Line(138,143)(0,1){110}% %double bond 3-2 |
| 604 |
\fi% |
| 605 |
\fi% |
| 606 |
}% |
| 607 |
% \end{macrocode} |
| 608 |
% \end{macro} |
| 609 |
% |
| 610 |
% \begin{macro}{\bondc} |
| 611 |
% The macro |\bondc| refers to the control sequences representing |
| 612 |
% atoms on both of the terminal vertices (|\ddd| and |\ccc|) and |
| 613 |
% examine whether these are empty or not. Thereby, |
| 614 |
% it decides the vertices to be truncated. |
| 615 |
% |
| 616 |
% \begin{macrocode} |
| 617 |
% bond between 4 and 3 |
| 618 |
\def\bondc{% |
| 619 |
\ifx\ddd\empty% |
| 620 |
\ifx\ccc\empty% |
| 621 |
\Put@Line(6,42)(5,3){126}% %double bond 4-3 |
| 622 |
\else% |
| 623 |
\Put@Line(6,42)(5,3){100}% %double bond 4-3 |
| 624 |
\fi% |
| 625 |
\else% |
| 626 |
\ifx\ccc\empty% |
| 627 |
\Put@Line(35,66)(5,3){100}% %double bond 4-3 |
| 628 |
\else% |
| 629 |
\Put@Line(35,60)(5,3){100}% %double bond 4-3 |
| 630 |
\fi% % line <1OO not available |
| 631 |
\fi% |
| 632 |
}% |
| 633 |
% \end{macrocode} |
| 634 |
% \end{macro} |
| 635 |
% |
| 636 |
% \begin{macro}{\bondd} |
| 637 |
% The macro |\bondd| refers to the control sequences representing |
| 638 |
% atoms on both of the terminal vertices (|\ddd| and |\eee|) and |
| 639 |
% examine whether these are empty or not. Thereby, |
| 640 |
% it decides the vertices to be truncated. |
| 641 |
% |
| 642 |
% \begin{macrocode} |
| 643 |
% bond between 4 and 5 |
| 644 |
\def\bondd{% |
| 645 |
\ifx\ddd\empty% |
| 646 |
\ifx\eee\empty% |
| 647 |
\Put@Line(-6,42)(-5,3){126}% %double bond 4-5 |
| 648 |
\else% |
| 649 |
\Put@Line(-6,42)(-5,3){100}% %double bond 4-5 |
| 650 |
\fi% |
| 651 |
\else% |
| 652 |
\ifx\eee\empty% |
| 653 |
\Put@Line(-35,66)(-5,3){100}% %double bond 4-5 |
| 654 |
\else% |
| 655 |
\Put@Line(-35,60)(-5,3){100}% %double bond 4-5 |
| 656 |
\fi% % line <1OO not available |
| 657 |
\fi% |
| 658 |
}% |
| 659 |
% \end{macrocode} |
| 660 |
% \end{macro} |
| 661 |
% |
| 662 |
% \begin{macro}{\bonde} |
| 663 |
% The macro |\bonde| refers to the control sequences representing |
| 664 |
% atoms on both of the terminal vertices (|\fff| and |\eee|) and |
| 665 |
% examine whether these are empty or not. Thereby, |
| 666 |
% it decides the vertices to be truncated. |
| 667 |
% |
| 668 |
% \begin{macrocode} |
| 669 |
% bond between 5 and 6 |
| 670 |
\def\bonde{% |
| 671 |
\ifx\fff\empty% |
| 672 |
\ifx\eee\empty% |
| 673 |
\Put@Line(-138,129)(0,1){148}% %double bond 5-6 |
| 674 |
\else% |
| 675 |
\Put@Line(-138,143)(0,1){134}% %double bond 5-6 |
| 676 |
\fi% |
| 677 |
\else% |
| 678 |
\ifx\eee\empty% |
| 679 |
\Put@Line(-138,129)(0,1){134}% %double bond 5-6 |
| 680 |
\else% |
| 681 |
\Put@Line(-138,143)(0,1){110}% %double bond 5-6 |
| 682 |
\fi% |
| 683 |
\fi% |
| 684 |
}% |
| 685 |
% \end{macrocode} |
| 686 |
% \end{macro} |
| 687 |
% |
| 688 |
% \begin{macro}{\bondf} |
| 689 |
% The macro |\bondf| refers to the control sequences representing |
| 690 |
% atoms on both of the terminal vertices (|\aaa| and |\fff|) and |
| 691 |
% examine whether these are empty or not. Thereby, |
| 692 |
% it decides the vertices to be truncated. |
| 693 |
% |
| 694 |
% \begin{macrocode} |
| 695 |
% bond between 1 and 6 |
| 696 |
\def\bondf{% |
| 697 |
\ifx\aaa\empty% |
| 698 |
\ifx\fff\empty% |
| 699 |
\Put@Line(-6,364)(-5,-3){126}% %double bond 1-6 |
| 700 |
\else% |
| 701 |
\Put@Line(-6,364)(-5,-3){100}% %double bond 1-6 |
| 702 |
\fi% |
| 703 |
\else% |
| 704 |
\ifx\fff\empty% |
| 705 |
\Put@Line(-35,340)(-5,-3){100}% %double bond 1-6 |
| 706 |
% \Put@Line(-6,364)(-5,-3){126}% %double bond 1-6 bug fix 2010/10/01 |
| 707 |
\else% |
| 708 |
\Put@Line(-35,352)(-5,-3){100}% %double bond 1-6 |
| 709 |
\fi% % line <1OO not available |
| 710 |
\fi% |
| 711 |
}% |
| 712 |
% \end{macrocode} |
| 713 |
% \end{macro} |
| 714 |
% |
| 715 |
% \begin{macro}{\bondz} |
| 716 |
% The macro |\bondz| refers to the control sequences representing |
| 717 |
% atoms on both of the terminal vertices (|\fff| and |\bbb|) and |
| 718 |
% examine whether these are empty or not. Thereby, |
| 719 |
% it decides the vertices to be truncated. |
| 720 |
% |
| 721 |
% \begin{macrocode} |
| 722 |
% horizontal inner bond for five-membered rings |
| 723 |
\def\bondhoriz{% |
| 724 |
\ifx\fff\empty% |
| 725 |
\ifx\bbb\empty% |
| 726 |
\Put@Line(-138,270)(1,0){277}% %double bond 4-3 |
| 727 |
\else% |
| 728 |
\Put@Line(-138,270)(1,0){258}% %double bond 4-3 |
| 729 |
\fi% |
| 730 |
\else% |
| 731 |
\ifx\bbb\empty% |
| 732 |
\Put@Line(-120,270)(1,0){258}% %double bond 4-3 |
| 733 |
\else% |
| 734 |
\Put@Line(-120,270)(1,0){239}% %double bond 4-3 |
| 735 |
\fi% |
| 736 |
\fi}% |
| 737 |
% \end{macrocode} |
| 738 |
% \end{macro} |
| 739 |
% |
| 740 |
% \begin{macro}{\bondzi} |
| 741 |
% The macro |\bondzi| refers to the control sequences representing |
| 742 |
% atoms on both of the terminal vertices (|\eee| and |\ccc|) and |
| 743 |
% examine whether these are empty or not. Thereby, |
| 744 |
% it decides the vertices to be truncated. |
| 745 |
% |
| 746 |
% \begin{macrocode} |
| 747 |
% horizontal inner bond for five-membered rings (inverse type) |
| 748 |
\def\bondhorizi{% |
| 749 |
\ifx\eee\empty% |
| 750 |
\ifx\ccc\empty% |
| 751 |
\Put@Line(-138,136)(1,0){277}% %double bond 4-3 |
| 752 |
\else% |
| 753 |
\Put@Line(-138,136)(1,0){258}% %double bond 4-3 |
| 754 |
\fi% |
| 755 |
\else% |
| 756 |
\ifx\ccc\empty% |
| 757 |
\Put@Line(-120,136)(1,0){258}% %double bond 4-3 |
| 758 |
\else% |
| 759 |
\Put@Line(-120,136)(1,0){239}% %double bond 4-3 |
| 760 |
\fi% |
| 761 |
\fi}% |
| 762 |
% \end{macrocode} |
| 763 |
% \end{macro} |
| 764 |
% |
| 765 |
% \subsection{Skeletal bonds} |
| 766 |
% |
| 767 |
% The macros |\sixhetero| and |\fivehetero| use inner macros for setting |
| 768 |
% skeletal bonds in accordance with the presence or the absence of |
| 769 |
% hetero atoms. During the processes of such setting, |
| 770 |
% the inner macros |\skbonda| to |\skbondf| are used to set a bond |
| 771 |
% on each edge of a six- or five-membered ring; and |
| 772 |
% the inner macros |\skbondz| to |\skbondzi| draw horizontal bonds |
| 773 |
% of a five-membered ring. |
| 774 |
% |
| 775 |
% \begin{verbatim} |
| 776 |
% ************************** |
| 777 |
% * setting skeletal bonds * |
| 778 |
% ************************** |
| 779 |
% The following numbering is adopted in this macro. |
| 780 |
% aaa |
| 781 |
% 1 |
| 782 |
% f * a |
| 783 |
% fff 6 * * 2 bbb |
| 784 |
% e | | b |
| 785 |
% | | |
| 786 |
% eee 5 * * 3 ccc |
| 787 |
% d * c |
| 788 |
% 4 <===== the original point |
| 789 |
% ddd |
| 790 |
% |
| 791 |
% \end{verbatim} |
| 792 |
% |
| 793 |
% \begin{macro}{\skbonda} |
| 794 |
% The macro |\skbonda| refers to the control sequences representing |
| 795 |
% atoms on both of the terminal vertices (|\aaa| and |\bbb|) and |
| 796 |
% examine whether these are empty or not. Thereby, |
| 797 |
% it decides the vertices to be truncated. |
| 798 |
% |
| 799 |
% \begin{macrocode} |
| 800 |
%bond between 1 and 2 |
| 801 |
\def\skbonda{% |
| 802 |
\ifx\aaa\empty% |
| 803 |
\ifx\bbb\empty% |
| 804 |
\Put@Line(0,406)(5,-3){171}% %bond 1-2 |
| 805 |
\else% |
| 806 |
\Put@Line(0,406)(5,-3){136}% %bond 1-2 |
| 807 |
\fi% |
| 808 |
\else% |
| 809 |
\ifx\bbb\empty% |
| 810 |
\Put@Line(35,385)(5,-3){136}% %bond 1-2 |
| 811 |
\else% |
| 812 |
\Put@Line(35,385)(5,-3){100}% %bond 1-2 |
| 813 |
\fi% |
| 814 |
\fi}% |
| 815 |
% \end{macrocode} |
| 816 |
% \end{macro} |
| 817 |
% |
| 818 |
% \begin{macro}{\skbondf} |
| 819 |
% The macro |\skbonda| refers to the control sequences representing |
| 820 |
% atoms on both of the terminal vertices (|\aaa| and |\fff|) and |
| 821 |
% examine whether these are empty or not. Thereby, |
| 822 |
% it decides the vertices to be truncated. |
| 823 |
% |
| 824 |
% \begin{macrocode} |
| 825 |
%bond between 1 and 6 |
| 826 |
\def\skbondf{% |
| 827 |
\ifx\aaa\empty% |
| 828 |
\ifx\fff\empty% |
| 829 |
\Put@Line(0,406)(-5,-3){171}% %bond 1-6 |
| 830 |
\else% |
| 831 |
\Put@Line(0,406)(-5,-3){136}% %bond 1-6 |
| 832 |
\fi% |
| 833 |
\else% |
| 834 |
\ifx\fff\empty% |
| 835 |
\Put@Line(-35,385)(-5,-3){136}% %bond 1-6 |
| 836 |
\else% |
| 837 |
\Put@Line(-35,385)(-5,-3){100}% %bond 1-6 |
| 838 |
\fi% |
| 839 |
\fi}% |
| 840 |
% \end{macrocode} |
| 841 |
% \end{macro} |
| 842 |
% |
| 843 |
% \begin{macro}{\skbondc} |
| 844 |
% The macro |\skbondc| refers to the control sequences representing |
| 845 |
% atoms on both of the terminal vertices (|\ccc| and |\ddd|) and |
| 846 |
% examine whether these are empty or not. Thereby, |
| 847 |
% it decides the vertices to be truncated. |
| 848 |
% |
| 849 |
% \begin{macrocode} |
| 850 |
%bond between 4 and 3 |
| 851 |
\def\skbondc{% |
| 852 |
\ifx\ddd\empty% |
| 853 |
\ifx\ccc\empty% |
| 854 |
\Put@Line(0,0)(5,3){171}% %bond 4-3 |
| 855 |
\else% |
| 856 |
\Put@Line(0,0)(5,3){136}% %bond 4-3 |
| 857 |
\fi% |
| 858 |
\else% |
| 859 |
\ifx\ccc\empty% |
| 860 |
\Put@Line(35,21)(5,3){138}% %bond 4-3 |
| 861 |
\else% |
| 862 |
\Put@Line(35,21)(5,3){100}% %bond 4-3 |
| 863 |
\fi% |
| 864 |
\fi}% |
| 865 |
% \end{macrocode} |
| 866 |
% \end{macro} |
| 867 |
% |
| 868 |
% \begin{macro}{\skbondd} |
| 869 |
% The macro |\skbondd| refers to the control sequences representing |
| 870 |
% atoms on both of the terminal vertices (|\ddd| and |\eee|) and |
| 871 |
% examine whether these are empty or not. Thereby, |
| 872 |
% it decides the vertices to be truncated. |
| 873 |
% |
| 874 |
% \begin{macrocode} |
| 875 |
%bond between 4 and 5 |
| 876 |
\def\skbondd{% |
| 877 |
\ifx\ddd\empty% |
| 878 |
\ifx\eee\empty% |
| 879 |
\Put@Line(0,0)(-5,3){171}% %bond 4-5 |
| 880 |
\else% |
| 881 |
\Put@Line(0,0)(-5,3){136}% %bond 4-5 |
| 882 |
\fi% |
| 883 |
\else% |
| 884 |
\ifx\eee\empty% |
| 885 |
\Put@Line(-35,21)(-5,3){138}% %bond 4-5 |
| 886 |
\else% |
| 887 |
\Put@Line(-35,21)(-5,3){100}% %bond 4-5 |
| 888 |
\fi% |
| 889 |
\fi}% |
| 890 |
% \end{macrocode} |
| 891 |
% \end{macro} |
| 892 |
% |
| 893 |
% \begin{macro}{\skbondb} |
| 894 |
% The macro |\skbondb| refers to the control sequences representing |
| 895 |
% atoms on both of the terminal vertices (|\bbb| and |\ccc|) and |
| 896 |
% examine whether these are empty or not. Thereby, |
| 897 |
% it decides the vertices to be truncated. |
| 898 |
% |
| 899 |
% \begin{macrocode} |
| 900 |
%bond between 3 and 2 |
| 901 |
\def\skbondb{% |
| 902 |
\ifx\bbb\empty%% |
| 903 |
\ifx\ccc\empty%% |
| 904 |
\Put@Line(171,103)(0,1){200}% %bond 3-2 |
| 905 |
\else% |
| 906 |
\Put@Line(171,143)(0,1){160}% %bond 3-2 |
| 907 |
\fi% |
| 908 |
\else% |
| 909 |
\ifx\ccc\empty%% |
| 910 |
\Put@Line(171,103)(0,1){150}% %bond 3-2 |
| 911 |
\else% |
| 912 |
\Put@Line(171,143)(0,1){110}% %bond 3-2 |
| 913 |
\fi% |
| 914 |
\fi}% |
| 915 |
% \end{macrocode} |
| 916 |
% \end{macro} |
| 917 |
% |
| 918 |
% \begin{macro}{\skbonde} |
| 919 |
% The macro |\skbonde| refers to the control sequences representing |
| 920 |
% atoms on both of the terminal vertices (|\eee| and |\fff|) and |
| 921 |
% examine whether these are empty or not. Thereby, |
| 922 |
% it decides the vertices to be truncated. |
| 923 |
% |
| 924 |
% \begin{macrocode} |
| 925 |
%bond between 5 and 6 |
| 926 |
\def\skbonde{% |
| 927 |
\ifx\eee\empty% |
| 928 |
\ifx\fff\empty% |
| 929 |
\Put@Line(-171,103)(0,1){200}% %bond 5-6 |
| 930 |
\else% |
| 931 |
\Put@Line(-171,103)(0,1){150}% %bond 5-6 |
| 932 |
\fi% |
| 933 |
\else% |
| 934 |
\ifx\fff\empty% |
| 935 |
\Put@Line(-171,143)(0,1){160}% %bond 5-6 |
| 936 |
\else% |
| 937 |
\Put@Line(-171,143)(0,1){110}% %bond 5-6 |
| 938 |
\fi% |
| 939 |
\fi}% |
| 940 |
% \end{macrocode} |
| 941 |
% \end{macro} |
| 942 |
% |
| 943 |
% \begin{macro}{\skbondhoriz} |
| 944 |
% The macro |\skbondhoriz| refers to the control sequences representing |
| 945 |
% atoms on both of the terminal vertices (|\fff| and |\bbb|) and |
| 946 |
% examine whether these are empty or not. Thereby, |
| 947 |
% it decides the vertices to be truncated. |
| 948 |
% |
| 949 |
% \begin{macrocode} |
| 950 |
%horizontal bond for five-membered rings |
| 951 |
\def\skbondhoriz{% |
| 952 |
\ifx\fff\empty% |
| 953 |
\ifx\bbb\empty% |
| 954 |
\Put@Line(-171,303)(1,0){342}% %bond 4-3 |
| 955 |
\else% |
| 956 |
\Put@Line(-171,303)(1,0){300}% %bond 4-3 |
| 957 |
\fi% |
| 958 |
\else% |
| 959 |
\ifx\bbb\empty% |
| 960 |
\Put@Line(171,303)(-1,0){300}% %bond 4-3 |
| 961 |
\else% |
| 962 |
\Put@Line(-129,303)(1,0){258}% %bond 4-3 |
| 963 |
\fi% |
| 964 |
\fi}% |
| 965 |
% \end{macrocode} |
| 966 |
% \end{macro} |
| 967 |
% |
| 968 |
% \begin{macro}{\skbondhorizi} |
| 969 |
% The macro |\skbondhorizi| refers to the control sequences representing |
| 970 |
% atoms on both of the terminal vertices (|\eee| and |\ccc|) and |
| 971 |
% examine whether these are empty or not. Thereby, |
| 972 |
% it decides the vertices to be truncated. |
| 973 |
% |
| 974 |
% \begin{macrocode} |
| 975 |
%horizontal bond for five-membered rings (inverse type) |
| 976 |
\def\skbondhorizi{% |
| 977 |
\ifx\eee\empty% |
| 978 |
\ifx\ccc\empty% |
| 979 |
\Put@Line(-171,103)(1,0){342}% %bond 4-3 |
| 980 |
\else% |
| 981 |
\Put@Line(-171,103)(1,0){300}% %bond 4-3 |
| 982 |
\fi% |
| 983 |
\else% |
| 984 |
\ifx\ccc\empty% |
| 985 |
\Put@Line(171,103)(-1,0){300}% %bond 4-3 |
| 986 |
\else% |
| 987 |
\Put@Line(-129,103)(1,0){258}% %bond 4-3 |
| 988 |
\fi% |
| 989 |
\fi}% |
| 990 |
% \end{macrocode} |
| 991 |
% \end{macro} |
| 992 |
% |
| 993 |
% \begin{macro}{\set@outskel@sixv} |
| 994 |
% The macro |\set@outskel@sixv| is to typeset a series of |
| 995 |
% outer-skeleton bonds to six rings. It is |
| 996 |
% used in |\sixheterov| and |\sixheterovi|. |
| 997 |
% |
| 998 |
% \begin{macrocode} |
| 999 |
\def\set@outskel@sixv{% |
| 1000 |
\skbonda% bond between 1 and 2 |
| 1001 |
\skbondf% bond between 1 and 6 |
| 1002 |
\skbondc% bond between 4 and 3 |
| 1003 |
\skbondd% bond between 4 and 5 |
| 1004 |
\skbondb% bond between 3 and 2 |
| 1005 |
\skbonde% bond between 5 and 6 |
| 1006 |
} |
| 1007 |
% \end{macrocode} |
| 1008 |
% \end{macro} |
| 1009 |
% |
| 1010 |
% \subsection{Dotted Skeletal Bonds} |
| 1011 |
% |
| 1012 |
% The macros |\sixfusev| etc. use inner macros for setting |
| 1013 |
% skeletal bonds in accordance with the presence or the absence of |
| 1014 |
% hetero atoms. During the processes of such setting, |
| 1015 |
% the inner macros |\dotskbonda| to |\dotskbondf| are used |
| 1016 |
% to set a dotted bond on each edge of a six- or five-membered ring. |
| 1017 |
% |
| 1018 |
% \begin{macro}{\dotskbonda} |
| 1019 |
% The macro |\dotskbonda| is the dotted couterpart of |\skbonda|, |
| 1020 |
% which refers to the control sequences representing |
| 1021 |
% atoms on both of the terminal vertices (|\aaa| and |\bbb|) and |
| 1022 |
% examine whether these are empty or not. Thereby, |
| 1023 |
% it decides the vertices to be truncated. |
| 1024 |
% |
| 1025 |
% \begin{macrocode} |
| 1026 |
%bond between 1 and 2 |
| 1027 |
\def\dotskbonda{% |
| 1028 |
\ifx\aaa\empty% |
| 1029 |
\ifx\bbb\empty% |
| 1030 |
\dotorline(0,406)(5,-3){171}/(0,406)(171,303)% |
| 1031 |
\else% |
| 1032 |
\dotorline(0,406)(5,-3){136}/(0,406)(136,324)% |
| 1033 |
\fi% |
| 1034 |
\else% |
| 1035 |
\ifx\bbb\empty% |
| 1036 |
\dotorline(35,385)(5,-3){136}/(35,386)(171,303)% |
| 1037 |
\else% |
| 1038 |
\dotorline(35,385)(5,-3){100}/(35,386)(136,324)% |
| 1039 |
\fi% |
| 1040 |
\fi}% |
| 1041 |
% \end{macrocode} |
| 1042 |
% \end{macro} |
| 1043 |
% |
| 1044 |
% \begin{macro}{\dotskbondb} |
| 1045 |
% The macro |\dotskbondb| is the dotted couterpart of |\skbondb|, |
| 1046 |
% which refers to the control sequences representing |
| 1047 |
% atoms on both of the terminal vertices (|\bbb| and |\ccc|) and |
| 1048 |
% examine whether these are empty or not. Thereby, |
| 1049 |
% it decides the vertices to be truncated. |
| 1050 |
% |
| 1051 |
% \begin{macrocode} |
| 1052 |
%bond between 3 and 2 |
| 1053 |
\def\dotskbondb{% |
| 1054 |
\ifx\bbb\empty%% |
| 1055 |
\ifx\ccc\empty%% |
| 1056 |
\dotorline(171,103)(0,1){200}/(171,103)(171,303)% |
| 1057 |
\else% |
| 1058 |
\dotorline(171,143)(0,1){160}/(171,143)(171,303)% |
| 1059 |
\fi% |
| 1060 |
\else% |
| 1061 |
\ifx\ccc\empty%% |
| 1062 |
\dotorline(171,103)(0,1){150}/(171,103)(171,253)% |
| 1063 |
\else% |
| 1064 |
\dotorline(171,143)(0,1){110}/(171,143)(171,253)% |
| 1065 |
\fi% |
| 1066 |
\fi}% |
| 1067 |
% \end{macrocode} |
| 1068 |
% \end{macro} |
| 1069 |
% |
| 1070 |
% \begin{macro}{\dotskbondc} |
| 1071 |
% The macro |\dotskbondc| is the dotted couterpart of |\skbondc|, |
| 1072 |
% which refers to the control sequences representing |
| 1073 |
% atoms on both of the terminal vertices (|\ccc| and |\ddd|) and |
| 1074 |
% examine whether these are empty or not. Thereby, |
| 1075 |
% it decides the vertices to be truncated. |
| 1076 |
% |
| 1077 |
% \begin{macrocode} |
| 1078 |
%bond between 4 and 3 |
| 1079 |
\def\dotskbondc{% |
| 1080 |
\ifx\ddd\empty% |
| 1081 |
\ifx\ccc\empty%% |
| 1082 |
\dotorline(0,0)(5,3){171}/(0,0)(171,103)% |
| 1083 |
\else% |
| 1084 |
\dotorline(0,0)(5,3){136}/(0,0)(136,81)% |
| 1085 |
\fi% |
| 1086 |
\else% |
| 1087 |
\ifx\ccc\empty% |
| 1088 |
\dotorline(35,21)(5,3){138}/(35,21)(171,103)% |
| 1089 |
\else% |
| 1090 |
\dotorline(35,21)(5,3){100}/(35,21)(136,81)% |
| 1091 |
\fi% |
| 1092 |
\fi}% |
| 1093 |
% \end{macrocode} |
| 1094 |
% \end{macro} |
| 1095 |
% |
| 1096 |
% \begin{macro}{\dotskbondd} |
| 1097 |
% The macro |\dotskbondd| is the dotted couterpart of |\skbondd|, |
| 1098 |
% which refers to the control sequences representing |
| 1099 |
% atoms on both of the terminal vertices (|\ddd| and |\eee|) and |
| 1100 |
% examine whether these are empty or not. Thereby, |
| 1101 |
% it decides the vertices to be truncated. |
| 1102 |
% |
| 1103 |
% \begin{macrocode} |
| 1104 |
%bond between 4 and 5 |
| 1105 |
\def\dotskbondd{% |
| 1106 |
\ifx\ddd\empty% |
| 1107 |
\ifx\eee\empty% |
| 1108 |
\dotorline(0,0)(-5,3){171}/(0,0)(-171,103)% |
| 1109 |
\else% |
| 1110 |
\dotorline(0,0)(-5,3){136}/(0,0)(-136,81)% |
| 1111 |
\fi% |
| 1112 |
\else% |
| 1113 |
\ifx\eee\empty% |
| 1114 |
\dotorline(-35,21)(-5,3){138}/(-35,21)(-171,103)% |
| 1115 |
\else% |
| 1116 |
\dotorline(-35,21)(-5,3){100}/(-35,21)(-136,81)% |
| 1117 |
\fi% |
| 1118 |
\fi}% |
| 1119 |
% \end{macrocode} |
| 1120 |
% \end{macro} |
| 1121 |
% |
| 1122 |
% \begin{macro}{\dotskbonde} |
| 1123 |
% The macro |\dotskbonde| is the dotted couterpart of |\skbonde|, |
| 1124 |
% which refers to the control sequences representing |
| 1125 |
% atoms on both of the terminal vertices (|\eee| and |\fff|) and |
| 1126 |
% examine whether these are empty or not. Thereby, |
| 1127 |
% it decides the vertices to be truncated. |
| 1128 |
% |
| 1129 |
% \begin{macrocode} |
| 1130 |
%bond between 5 and 6 |
| 1131 |
\def\dotskbonde{% |
| 1132 |
\ifx\eee\empty% |
| 1133 |
\ifx\fff\empty% |
| 1134 |
\dotorline(-171,103)(0,1){200}/(-171,103)(-171,303)% |
| 1135 |
\else% |
| 1136 |
\dotorline(-171,103)(0,1){150}/(-171,103)(-171,253)% |
| 1137 |
\fi% |
| 1138 |
\else% |
| 1139 |
\ifx\fff\empty% |
| 1140 |
\dotorline(-171,143)(0,1){160}/(-171,143)(-171,303)% |
| 1141 |
\else% |
| 1142 |
\dotorline(-171,143)(0,1){110}/(-171,143)(-171,253)% |
| 1143 |
\fi% |
| 1144 |
\fi}% |
| 1145 |
% \end{macrocode} |
| 1146 |
% \end{macro} |
| 1147 |
% |
| 1148 |
% \begin{macro}{\dotskbondf} |
| 1149 |
% The macro |\dotskbondf| is the dotted couterpart of |\skbondf|, |
| 1150 |
% which refers to the control sequences representing |
| 1151 |
% atoms on both of the terminal vertices (|\aaa| and |\fff|) and |
| 1152 |
% examine whether these are empty or not. Thereby, |
| 1153 |
% it decides the vertices to be truncated. |
| 1154 |
% |
| 1155 |
% \begin{macrocode} |
| 1156 |
%bond between 1 and 6 |
| 1157 |
\def\dotskbondf{% |
| 1158 |
\ifx\aaa\empty% |
| 1159 |
\ifx\fff\empty% |
| 1160 |
\dotorline(0,406)(-5,-3){171}/(0,406)(-171,303)% |
| 1161 |
\else% |
| 1162 |
\dotorline(0,406)(-5,-3){136}/(0,406)(-136,325)% |
| 1163 |
\fi% |
| 1164 |
\else% |
| 1165 |
\ifx\fff\empty% |
| 1166 |
\dotorline(-35,385)(-5,-3){136}/(-35,385)(-171,303)% |
| 1167 |
\else% |
| 1168 |
\dotorline(-35,385)(-5,-3){100}/(-35,385)(-136,325)% |
| 1169 |
\fi% |
| 1170 |
\fi}% |
| 1171 |
% \end{macrocode} |
| 1172 |
% \end{macro} |
| 1173 |
% |
| 1174 |
% \begin{macro}{\dotskbondhoriz} |
| 1175 |
% The macro |\dotskbondhoriz| is the dotted couterpart of |\skbondhoriz|, |
| 1176 |
% which refers to the control sequences representing |
| 1177 |
% atoms on both of the terminal vertices (|\fff| and |\bbb|) and |
| 1178 |
% examine whether these are empty or not. Thereby, |
| 1179 |
% it decides the vertices to be truncated. |
| 1180 |
% |
| 1181 |
% \begin{macrocode} |
| 1182 |
%horizontal bond for five-membered rings |
| 1183 |
\def\dotskbondhoriz{% |
| 1184 |
\ifx\fff\empty% |
| 1185 |
\ifx\bbb\empty% |
| 1186 |
\dotorline(-171,303)(1,0){342}/(-171,303)(171,303)% |
| 1187 |
\else% |
| 1188 |
\dotorline(-171,303)(1,0){300}/(-171,303)(129,303)% |
| 1189 |
\fi% |
| 1190 |
\else% |
| 1191 |
\ifx\bbb\empty% |
| 1192 |
\dotorline(171,303)(-1,0){300}/(171,303)(-129,303)% |
| 1193 |
\else% |
| 1194 |
\dotorline(-129,303)(1,0){258}/(-129,303)(129,303)% |
| 1195 |
\fi% |
| 1196 |
\fi}% |
| 1197 |
% \end{macrocode} |
| 1198 |
% \end{macro} |
| 1199 |
% |
| 1200 |
% \begin{macro}{\dotskbondhorizi} |
| 1201 |
% The macro |\dotskbondhorizi| refers to the control sequences representing |
| 1202 |
% atoms on both of the terminal vertices (|\eee| and |\ccc|) and |
| 1203 |
% examine whether these are empty or not. Thereby, |
| 1204 |
% it decides the vertices to be truncated. |
| 1205 |
% |
| 1206 |
% \begin{macrocode} |
| 1207 |
%horizontal bond for five-membered rings (inverse type) |
| 1208 |
\def\dotskbondhorizi{% |
| 1209 |
\ifx\eee\empty% |
| 1210 |
\ifx\ccc\empty% |
| 1211 |
\dotorline(-171,103)(1,0){342}/(-171,103)(171,103)% |
| 1212 |
\else% |
| 1213 |
\dotorline(-171,103)(1,0){300}/(-171,103)(129,103)% |
| 1214 |
\fi% |
| 1215 |
\else% |
| 1216 |
\ifx\ccc\empty% |
| 1217 |
\dotorline(171,103)(-1,0){300}/(171,103)(-129,103)% |
| 1218 |
\else% |
| 1219 |
\dotorline(-129,103)(1,0){258}/(-129,103)(129,103)% |
| 1220 |
\fi% |
| 1221 |
\fi}% |
| 1222 |
% \end{macrocode} |
| 1223 |
% \end{macro} |
| 1224 |
% |
| 1225 |
% The macro |\set@skel@bond| is used in such commands as |\sixheterov| |
| 1226 |
% and |\sixfusev| for setting skeletal bonds (outer bonds), |
| 1227 |
% when |\@aaa| etc. (produced by |\csname|...|\endcsname|) are equal |
| 1228 |
% to `a' etc. (given as \#2). Thinline, thickline and dotted-line |
| 1229 |
% skeletal bonds are available. |
| 1230 |
% |
| 1231 |
% \begin{macro}{\if@skbondlist} |
| 1232 |
% \begin{macrocode} |
| 1233 |
\newif\if@skbondlist |
| 1234 |
\@skbondlistfalse |
| 1235 |
% \end{macrocode} |
| 1236 |
% \end{macro}% from fusering.sty to hetarom.sty |
| 1237 |
% |
| 1238 |
% \changes{v4.02}{2004/12/20}{The positions of \cs{@skbondlisttrue} are changed.} |
| 1239 |
% \changes{v5.00}{2010/10/01}{For bond coloring} |
| 1240 |
% |
| 1241 |
% \begin{macro}{\set@skel@bond} |
| 1242 |
% \begin{macrocode} |
| 1243 |
\def\set@skel@bond#1#2#3{% |
| 1244 |
\expandafter\if\csname @#2#2#2\endcsname #2\relax%OK |
| 1245 |
% \if\@aaa #2\relax%OK |
| 1246 |
\def\skbondreplace{#3}% |
| 1247 |
\@skbondlistfalse |
| 1248 |
\@tfor\member:=#1\do{% |
| 1249 |
\expandafter\twoCH@@R\member//% |
| 1250 |
\if\@@tmpa #2\relax% |
| 1251 |
\if\@@tmpb A\relax% |
| 1252 |
\@skbondlisttrue |
| 1253 |
\expandafter\csname dotskbond#3\endcsname% \dotskbonda etc. |
| 1254 |
% \@skbondlisttrue |
| 1255 |
\else\if\@@tmpb B\relax% |
| 1256 |
\@skbondlisttrue |
| 1257 |
{\thicklines |
| 1258 |
\expandafter\csname skbond#3\endcsname% \skbonda etc. |
| 1259 |
}% |
| 1260 |
% \@skbondlisttrue |
| 1261 |
\else%%%added for color 2010/10/01 |
| 1262 |
\@skbondlisttrue% |
| 1263 |
\put(0,0){\@@tmpb}% |
| 1264 |
\fi\fi |
| 1265 |
\fi% |
| 1266 |
}% |
| 1267 |
\if@skbondlist\else |
| 1268 |
{\thinlines |
| 1269 |
\expandafter\csname skbond#3\endcsname% \skbonda etc. |
| 1270 |
}% |
| 1271 |
\fi% |
| 1272 |
\else |
| 1273 |
\expandafter\ifx\csname @#2#2#2\endcsname \empty\relax% |
| 1274 |
% \ifx\@aaa\empty\relax |
| 1275 |
\@tfor\member:=#1\do{% |
| 1276 |
\expandafter\twoCH@@R\member//% |
| 1277 |
\if\@@tmpa #2\relax% |
| 1278 |
\XyMTeXWarning{Unavailable bond `#2' in SKBONDLIST}\fi |
| 1279 |
}% |
| 1280 |
\fi\fi |
| 1281 |
}% end of \set@skel@bond |
| 1282 |
% \end{macrocode} |
| 1283 |
% \end{macro} |
| 1284 |
% |
| 1285 |
% The macro |\set@skel@longbond| is used in |\fivefusev| etc. |
| 1286 |
% for setting skeletal bonds (outer bonds), when |\@aaa| etc. |
| 1287 |
% (produced by |\csname|...|\endcsname|) are equal to `a' |
| 1288 |
% etc. (given as \#2). Thinline, thickline and dotted-line |
| 1289 |
% skeletal bonds are available. |
| 1290 |
% |
| 1291 |
% hetarom.dtx |
| 1292 |
% \changes{v4.02}{2004/12/20}{The positions of \cs{@skbondlisttrue} are changed.} |
| 1293 |
% \changes{v5.00}{2010/10/01}{For bond coloring} |
| 1294 |
% |
| 1295 |
% \begin{macro}{\set@skel@longbond} |
| 1296 |
% \begin{macrocode} |
| 1297 |
\newif\iflongskbond \longskbondfalse |
| 1298 |
\def\set@skel@longbond#1#2#3{% |
| 1299 |
\expandafter\if\csname @#2#2#2\endcsname #2\relax%OK |
| 1300 |
% \if\@aaa #2\relax%OK |
| 1301 |
\def\skbondreplace{#3}% |
| 1302 |
\longskbondtrue% |
| 1303 |
\@skbondlistfalse |
| 1304 |
\@tfor\member:=#1\do{% |
| 1305 |
\expandafter\twoCH@@R\member//% |
| 1306 |
\if\@@tmpa #2\relax% |
| 1307 |
\if\@@tmpb A\relax% |
| 1308 |
\@skbondlisttrue |
| 1309 |
\expandafter\csname dot#3\endcsname% \dotskbonda etc. |
| 1310 |
% \@skbondlisttrue |
| 1311 |
\else\if\@@tmpb B\relax% |
| 1312 |
\@skbondlisttrue |
| 1313 |
{\thicklines |
| 1314 |
\expandafter\csname #3\endcsname% \skbonda etc. |
| 1315 |
}% |
| 1316 |
% \@skbondlisttrue |
| 1317 |
\else%%%added for color 2010/10/01 |
| 1318 |
\@skbondlisttrue% |
| 1319 |
\put(0,0){\@@tmpb}% |
| 1320 |
\fi\fi |
| 1321 |
\fi% |
| 1322 |
}% |
| 1323 |
\if@skbondlist\else |
| 1324 |
{\thinlines |
| 1325 |
\expandafter\csname #3\endcsname% \skbonda etc. |
| 1326 |
}% |
| 1327 |
\fi% |
| 1328 |
\else |
| 1329 |
\expandafter\ifx\csname @#2#2#2\endcsname \empty\relax% |
| 1330 |
% \ifx\@aaa\empty\relax |
| 1331 |
\@tfor\member:=#1\do{% |
| 1332 |
\expandafter\twoCH@@R\member//% |
| 1333 |
\if\@@tmpa #2\relax% |
| 1334 |
\XyMTeXWarning{Unavailable bond `#2' in SKBONDLIST}\fi |
| 1335 |
}% |
| 1336 |
\fi\fi |
| 1337 |
\longskbondfalse |
| 1338 |
}% end of \set@skel@longbond |
| 1339 |
% \end{macrocode} |
| 1340 |
% \end{macro} |
| 1341 |
% |
| 1342 |
% The macro |\@bond@@omit| is used in |\sixheterov| etc. |
| 1343 |
% for detecting omitted bonds, where |\@aaa| etc. are empty if |
| 1344 |
% they are omitted. |
| 1345 |
% |
| 1346 |
% \begin{macro}{\@bond@@omit} |
| 1347 |
% \begin{macrocode} |
| 1348 |
\def\@bond@@omit#1{% |
| 1349 |
\@tfor\memBer:=#1\do{% |
| 1350 |
\if\memBer a\relax\gdef\@aaa{}\fi% |
| 1351 |
\if\memBer A\relax\gdef\@aaa{}\fi% |
| 1352 |
\if\memBer b\relax\gdef\@bbb{}\fi% |
| 1353 |
\if\memBer B\relax\gdef\@bbb{}\fi% |
| 1354 |
\if\memBer c\relax\gdef\@ccc{}\fi% |
| 1355 |
\if\memBer C\relax\gdef\@ccc{}\fi% |
| 1356 |
\if\memBer d\relax\gdef\@ddd{}\fi% |
| 1357 |
\if\memBer D\relax\gdef\@ddd{}\fi% |
| 1358 |
\if\memBer e\relax\gdef\@eee{}\fi% |
| 1359 |
\if\memBer E\relax\gdef\@eee{}\fi% |
| 1360 |
\if\memBer f\relax\gdef\@fff{}\fi% |
| 1361 |
\if\memBer F\relax\gdef\@fff{}\fi% |
| 1362 |
\if\memBer g\relax\gdef\@ggg{}\fi% |
| 1363 |
\if\memBer G\relax\gdef\@ggg{}\fi% |
| 1364 |
\if\memBer h\relax\gdef\@hhh{}\fi% |
| 1365 |
\if\memBer H\relax\gdef\@hhh{}\fi% |
| 1366 |
\if\memBer i\relax\gdef\@iii{}\fi% |
| 1367 |
\if\memBer I\relax\gdef\@iii{}\fi% |
| 1368 |
\if\memBer j\relax\gdef\@jjj{}\fi% |
| 1369 |
\if\memBer J\relax\gdef\@jjj{}\fi% |
| 1370 |
\if\memBer k\relax\gdef\@kkk{}\fi% |
| 1371 |
\if\memBer K\relax\gdef\@kkk{}\fi% |
| 1372 |
}}% |
| 1373 |
% \end{macrocode} |
| 1374 |
% \end{macro} |
| 1375 |
% |
| 1376 |
% \section{Six-membered heterocyles} |
| 1377 |
% \subsection{Vertical type} |
| 1378 |
% |
| 1379 |
% The standard skeleton of a six-membered heterocycle is selected |
| 1380 |
% to have the following locant numbers. |
| 1381 |
% |
| 1382 |
% \begin{verbatim} |
| 1383 |
% ************************* |
| 1384 |
% * sixhetero derivatives * |
| 1385 |
% * (vertical type) * |
| 1386 |
% ************************* |
| 1387 |
% The following numbering is adopted in this macro. |
| 1388 |
% |
| 1389 |
% 1 |
| 1390 |
% * |
| 1391 |
% 6 * * 2 |
| 1392 |
% | | |
| 1393 |
% | | |
| 1394 |
% 5 * * 3 |
| 1395 |
% * |
| 1396 |
% 4 <===== the original point |
| 1397 |
% \end{verbatim} |
| 1398 |
% |
| 1399 |
% The macro |\sixheterov| has two arguments |ATOMLIST| and |SUBSLIST| |
| 1400 |
% as well as an optional argument |BONDLIST|. |
| 1401 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 1402 |
% treat stereochemical information or other bond situations. |
| 1403 |
% |
| 1404 |
% \begin{verbatim} |
| 1405 |
% \sixheterov(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 1406 |
% \end{verbatim} |
| 1407 |
% |
| 1408 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 1409 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 1410 |
% character selected from bond specifiers `a' to `f' and a uppercase |
| 1411 |
% character `A' or `B'. |
| 1412 |
% |
| 1413 |
% The |BONDLIST| argument contains one |
| 1414 |
% character selected from a to f, each of which indicates the presence of |
| 1415 |
% an inner (endcyclic) double bond on the corresponding position. |
| 1416 |
% The option `A' represents an aromatic circle. The option |
| 1417 |
% `$n+$' ($n=1$ to $6$) represents a plus charge on a hetero atom |
| 1418 |
% at the $n$-position. |
| 1419 |
% |
| 1420 |
% \begin{verbatim} |
| 1421 |
% BONDLIST = |
| 1422 |
% |
| 1423 |
% none or r : sixhetero (right-handed) |
| 1424 |
% l : sixhetero (left-handed) |
| 1425 |
% [] : fully saturated form |
| 1426 |
% a : 1,2-double bond |
| 1427 |
% b : 2,3-double bond |
| 1428 |
% c : 4,3-double bond |
| 1429 |
% d : 4,5-double bond |
| 1430 |
% e : 5,6-double bond |
| 1431 |
% f : 6,1-double bond |
| 1432 |
% A : aromatic circle |
| 1433 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 6) |
| 1434 |
% \end{verbatim} |
| 1435 |
% |
| 1436 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 1437 |
% which are separated from each other by a semicolon. Each heteroatom |
| 1438 |
% descriptor consists of a locant number and a heteroatom, |
| 1439 |
% where these are separated with a double equality symbol. |
| 1440 |
% |
| 1441 |
% \begin{verbatim} |
| 1442 |
% |
| 1443 |
% ATOMLIST: list of heteroatoms (max 6 atoms) |
| 1444 |
% |
| 1445 |
% for n = 1 to 6 |
| 1446 |
% |
| 1447 |
% n : Hetero atom, e.g. N, O, etc. at n-position, |
| 1448 |
% e.g. 1==N for N at 1-position |
| 1449 |
% \end{verbatim} |
| 1450 |
% |
| 1451 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 1452 |
% which are separated from each other by a semicolon. Each substitution |
| 1453 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 1454 |
% where these are separated with a double equality symbol. |
| 1455 |
% \begin{verbatim} |
| 1456 |
% |
| 1457 |
% SUBSLIST: list of substituents |
| 1458 |
% |
| 1459 |
% for n = 1 to 6 |
| 1460 |
% |
| 1461 |
% nD : exocyclic double bond at n-atom |
| 1462 |
% n or nS : exocyclic single bond at n-atom |
| 1463 |
% nA : alpha single bond at n-atom |
| 1464 |
% nB : beta single bond at n-atom |
| 1465 |
% nSA : alpha single bond at n-atom (boldface) |
| 1466 |
% nSB : beta single bond at n-atom (dotted line) |
| 1467 |
% nSa : alpha (not specified) single bond at n-atom |
| 1468 |
% nSb : beta (not specified) single bond at n-atom |
| 1469 |
% |
| 1470 |
% nSd : alpha single bond at n-atom (dotted line) |
| 1471 |
% with an alternative direction to nSA |
| 1472 |
% nSu : beta single bond at n-atom (boldface) |
| 1473 |
% with an alternative direction to nSB |
| 1474 |
% nFA : alpha single bond at n-atom (dotted line) |
| 1475 |
% for ring fusion |
| 1476 |
% nFB : beta single bond at n-atom (boldface) |
| 1477 |
% for ring fusion |
| 1478 |
% nGA : alpha single bond at n-atom (dotted line) |
| 1479 |
% for the other ring fusion |
| 1480 |
% nGB : beta single bond at n-atom (boldface) |
| 1481 |
% for the other ring fusion |
| 1482 |
% |
| 1483 |
% \end{verbatim} |
| 1484 |
% |
| 1485 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 1486 |
% The omitted edges may be regarded as both fused and non-fused |
| 1487 |
% positions. |
| 1488 |
% |
| 1489 |
% \begin{verbatim} |
| 1490 |
% OMIT: one or more bonds omitted (a, b, c, d, e, or f) |
| 1491 |
% \end{verbatim} |
| 1492 |
% |
| 1493 |
% Several examples are shown as follows. |
| 1494 |
% \begin{verbatim} |
| 1495 |
% e.g. |
| 1496 |
% |
| 1497 |
% \sixheterov{1==N}{1==Cl;2==F} |
| 1498 |
% \sixheterov[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 1499 |
% \sixheterov[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 1500 |
% \end{verbatim} |
| 1501 |
% |
| 1502 |
% The definition of |\sixheterov| uses a picture environment and |
| 1503 |
% consists of the following unit processes: |
| 1504 |
% \begin{enumerate} |
| 1505 |
% \item treatment of atom list, |
| 1506 |
% \item placing outer skeletons, |
| 1507 |
% \item placing inner double bonds, |
| 1508 |
% \item setting hetero atoms, and |
| 1509 |
% \item placing substituents by |\setsixringv|. |
| 1510 |
% \end{enumerate} |
| 1511 |
% |
| 1512 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 1513 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 1514 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 1515 |
% \changes{v2.00}{1998/11/15}{Adding \cs{test@vertix@sixv}} |
| 1516 |
% |
| 1517 |
% \begin{macro}{\sixheterov} |
| 1518 |
% \begin{macro}{\@six@heterov} |
| 1519 |
% \begin{macro}{\@six@@heterov} |
| 1520 |
% \begin{macro}{\@sixheterov} |
| 1521 |
% \begin{macrocode} |
| 1522 |
\def\sixheterov{\@ifnextchar({\@six@heterov(@}{\@six@heterov(@)}} |
| 1523 |
\def\@six@heterov(#1){\@ifnextchar[{\@six@@heterov(#1)[@}% |
| 1524 |
{\@six@@heterov(#1)[@]}} |
| 1525 |
\def\@six@@heterov(#1)[#2]#3#4{\@ifnextchar[% |
| 1526 |
{\@sixheterov(#1)[#2]{#3}{#4}[@}% |
| 1527 |
{\@sixheterov(#1)[#2]{#3}{#4}[@]}} |
| 1528 |
\def\@sixheterov(#1)[#2]#3#4[#5]{% |
| 1529 |
% \end{macrocode} |
| 1530 |
% |
| 1531 |
% \changes{v3.01}{2002/4/30}{Replaced by \cs{ShiftPicEnv}} |
| 1532 |
% |
| 1533 |
% \begin{macrocode} |
| 1534 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1535 |
% % treatment of atom list % |
| 1536 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1537 |
\iniatom\iniflag%initialize |
| 1538 |
\test@vertix@sixv{#3}{a}{b}{c}{d}{e}{f}% |
| 1539 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1540 |
% % adustment of subs positions % |
| 1541 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1542 |
\@reset@ylsw% |
| 1543 |
\ylposition{#4}{0}{0}{7}{0}% |
| 1544 |
\begin{ShiftPicEnv}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 1545 |
(800,880)(-\shiftii,-\shifti){sixheterov}%2002/4/30 by S. Fujita |
| 1546 |
% \end{macrocode} |
| 1547 |
% |
| 1548 |
% \begin{macrocode} |
| 1549 |
% %%%%%%%%%%%%%%%%%% |
| 1550 |
% % outer skeleton % |
| 1551 |
% %%%%%%%%%%%%%%%%%% |
| 1552 |
{% |
| 1553 |
\resetbdsw% |
| 1554 |
\@bond@@omit{#5}% |
| 1555 |
\set@skel@bond{#1}{a}{a}% bond between 1 and 2 \@aaa -> \skbonda etc |
| 1556 |
\set@skel@bond{#1}{b}{b}% bond between 2 and 3 \@bbb -> \skbondb etc |
| 1557 |
\set@skel@bond{#1}{c}{c}% bond between 3 and 4 \@ccc -> \skbondc etc |
| 1558 |
\set@skel@bond{#1}{d}{d}% bond between 4 and 5 \@ddd -> \skbondd etc |
| 1559 |
\set@skel@bond{#1}{e}{e}% bond between 5 and 6 \@eee -> \skbonde etc |
| 1560 |
\set@skel@bond{#1}{f}{f}% bond between 6 and 1 \@fff -> \skbondf etc |
| 1561 |
}% |
| 1562 |
%%%%%\set@outskel@sixv % replaced by above 1998/12/30 |
| 1563 |
% %%%%%%%%%%%%%%%%%%%%% |
| 1564 |
% % inner double bond % |
| 1565 |
% %%%%%%%%%%%%%%%%%%%%% |
| 1566 |
\@tfor\member:=#2\do{% |
| 1567 |
\if\member r\relax \bondd \bondf \bondb% |
| 1568 |
\else\if\member l\relax \bonda \bondc \bonde% |
| 1569 |
\else\if\member a\relax \bonda% |
| 1570 |
\else\if\member b\relax \bondb% |
| 1571 |
\else\if\member c\relax \bondc% |
| 1572 |
\else\if\member d\relax \bondd% |
| 1573 |
\else\if\member e\relax \bonde% |
| 1574 |
\else\if\member f\relax \bondf% |
| 1575 |
\else\if\member A%left aromatic circle |
| 1576 |
\Put@oCircle(0,203){240}% %circle |
| 1577 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 1578 |
% % inner bond attachment % |
| 1579 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 1580 |
\else \expandafter\twoCH@@R\member//% |
| 1581 |
\set@fusionadd@sixv% |
| 1582 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 1583 |
}% |
| 1584 |
% \end{macrocode} |
| 1585 |
% |
| 1586 |
% \begin{macrocode} |
| 1587 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1588 |
% % setting hetero atoms % |
| 1589 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1590 |
\set@hetatom@sixv{#3}{0}{0}{7}{0}% %atom 1--6% |
| 1591 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1592 |
% % setting substituents % |
| 1593 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1594 |
\setsixringv{#4}{0}{0}{7}{0}% %subst 1--6 |
| 1595 |
\end{ShiftPicEnv}\iniatom\iniflag}% %end of \sixheterov macro |
| 1596 |
% \end{macrocode} |
| 1597 |
% \end{macro} |
| 1598 |
% \end{macro} |
| 1599 |
% \end{macro} |
| 1600 |
% \end{macro} |
| 1601 |
% |
| 1602 |
% \subsection{Inverse vertical type} |
| 1603 |
% |
| 1604 |
% The standard skeleton of a six-membered heterocycle of inverse type |
| 1605 |
% is selected to have the following locant numbers. |
| 1606 |
% |
| 1607 |
% \begin{verbatim} |
| 1608 |
% ********************************** |
| 1609 |
% * sixhetero derivatives * |
| 1610 |
% * (vertical type, inverse type) * |
| 1611 |
% ********************************** |
| 1612 |
% The following numbering is adopted in this macro. |
| 1613 |
% |
| 1614 |
% 4 |
| 1615 |
% * |
| 1616 |
% 5 * * 3 |
| 1617 |
% | | |
| 1618 |
% | | |
| 1619 |
% 6 * * 2 |
| 1620 |
% * |
| 1621 |
% 1 <===== the original point |
| 1622 |
% \end{verbatim} |
| 1623 |
% |
| 1624 |
% The macro |\sixheterovi| has two arguments |ATOMLIST| and |SUBSLIST| |
| 1625 |
% as well as an optional argument |BONDLIST|. |
| 1626 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 1627 |
% treat stereochemical information or other bond situations. |
| 1628 |
% |
| 1629 |
% \begin{verbatim} |
| 1630 |
% \sixheterovi(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 1631 |
% \end{verbatim} |
| 1632 |
% |
| 1633 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 1634 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 1635 |
% character selected from bond specifiers `a' to `f' and a uppercase |
| 1636 |
% character `A' or `B'. |
| 1637 |
% |
| 1638 |
% The |BONDLIST| argument contains one |
| 1639 |
% character selected from a to f, each of which indicates the presence of |
| 1640 |
% an inner (endcyclic) double bond on the corresponding position. |
| 1641 |
% The option `A' represents an aromatic circle. The option |
| 1642 |
% `$n+$' ($n=1$ to $6$) represents a plus charge on a hetero atom |
| 1643 |
% at the $n$-position. |
| 1644 |
% |
| 1645 |
% \begin{verbatim} |
| 1646 |
% |
| 1647 |
% BONDLIST = |
| 1648 |
% |
| 1649 |
% none or r : sixhetero (right-handed) |
| 1650 |
% l : sixhetero (left-handed) |
| 1651 |
% [] : fully saturated form |
| 1652 |
% a : 1,2-double bond |
| 1653 |
% b : 2,3-double bond |
| 1654 |
% c : 4,3-double bond |
| 1655 |
% d : 4,5-double bond |
| 1656 |
% e : 5,6-double bond |
| 1657 |
% f : 6,1-double bond |
| 1658 |
% A : aromatic circle |
| 1659 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 6) |
| 1660 |
% \end{verbatim} |
| 1661 |
% |
| 1662 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 1663 |
% which are separated from each other by a semicolon. Each heteroatom |
| 1664 |
% descriptor consists of a locant number and a heteroatom, |
| 1665 |
% where these are separated with a double equality symbol. |
| 1666 |
% |
| 1667 |
% \begin{verbatim} |
| 1668 |
% |
| 1669 |
% ATOMLIST: list of heteroatoms (max 6 atoms) |
| 1670 |
% |
| 1671 |
% for n = 1 to 6 |
| 1672 |
% |
| 1673 |
% n : Hetero atom, e.g. N, O, etc. at n-position, |
| 1674 |
% e.g. 1==N for N at 1-position |
| 1675 |
% \end{verbatim} |
| 1676 |
% |
| 1677 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 1678 |
% which are separated from each other by a semicolon. Each substitution |
| 1679 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 1680 |
% where these are separated with a double equality symbol. |
| 1681 |
% \begin{verbatim} |
| 1682 |
% |
| 1683 |
% SUBSLIST: list of substituents |
| 1684 |
% |
| 1685 |
% for n = 1 to 6 |
| 1686 |
% |
| 1687 |
% nD : exocyclic double bond at n-atom |
| 1688 |
% n or nS : exocyclic single bond at n-atom |
| 1689 |
% nA : alpha single bond at n-atom |
| 1690 |
% nB : beta single bond at n-atom |
| 1691 |
% nSA : alpha single bond at n-atom (boldface) |
| 1692 |
% nSB : beta single bond at n-atom (dotted line) |
| 1693 |
% nSa : alpha (not specified) single bond at n-atom |
| 1694 |
% nSb : beta (not specified) single bond at n-atom |
| 1695 |
% |
| 1696 |
% nSd : alpha single bond at n-atom (dotted line) |
| 1697 |
% with an alternative direction to nSA |
| 1698 |
% nSu : beta single bond at n-atom (boldface) |
| 1699 |
% with an alternative direction to nSB |
| 1700 |
% nFA : alpha single bond at n-atom (dotted line) |
| 1701 |
% for ring fusion |
| 1702 |
% nFB : beta single bond at n-atom (boldface) |
| 1703 |
% for ring fusion |
| 1704 |
% nGA : alpha single bond at n-atom (dotted line) |
| 1705 |
% for the other ring fusion |
| 1706 |
% nGB : beta single bond at n-atom (boldface) |
| 1707 |
% for the other ring fusion |
| 1708 |
% |
| 1709 |
% \end{verbatim} |
| 1710 |
% |
| 1711 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 1712 |
% The omitted edges may be regarded as both fused and non-fused |
| 1713 |
% positions. |
| 1714 |
% |
| 1715 |
% \begin{verbatim} |
| 1716 |
% OMIT: one or more bonds omitted (a, b, c, d, e, or f) |
| 1717 |
% \end{verbatim} |
| 1718 |
% |
| 1719 |
% Several examples are shown as follows. |
| 1720 |
% \begin{verbatim} |
| 1721 |
% e.g. |
| 1722 |
% |
| 1723 |
% \sixheterovi{1==N}{1==Cl;2==F} |
| 1724 |
% \sixheterovi[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 1725 |
% \sixheterovi[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 1726 |
% |
| 1727 |
% \end{verbatim} |
| 1728 |
% |
| 1729 |
% The definition of |\sixheterovi| uses a picture environment and |
| 1730 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 1731 |
% \begin{enumerate} |
| 1732 |
% \item treatment of atom list, |
| 1733 |
% \item placing outer skeletons, |
| 1734 |
% \item placing inner double bonds, |
| 1735 |
% \item setting hetero atoms, and |
| 1736 |
% \item placing substituents by |\setsixringv|. |
| 1737 |
% \end{enumerate} |
| 1738 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 1739 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 1740 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 1741 |
% |
| 1742 |
% \begin{macro}{\sixheterovi} |
| 1743 |
% \begin{macro}{\@six@heterovi} |
| 1744 |
% \begin{macro}{\@six@@heterovi} |
| 1745 |
% \begin{macro}{\@sixheterovi} |
| 1746 |
% \begin{macrocode} |
| 1747 |
\def\sixheterovi{\@ifnextchar({\@six@heterovi(@}{\@six@heterovi(@)}} |
| 1748 |
\def\@six@heterovi(#1){\@ifnextchar[{\@six@@heterovi(#1)[@}% |
| 1749 |
{\@six@@heterovi(#1)[@]}} |
| 1750 |
\def\@six@@heterovi(#1)[#2]#3#4{\@ifnextchar[% |
| 1751 |
{\@sixheterovi(#1)[#2]{#3}{#4}[@}% |
| 1752 |
{\@sixheterovi(#1)[#2]{#3}{#4}[@]}} |
| 1753 |
\def\@sixheterovi(#1)[#2]#3#4[#5]{% |
| 1754 |
% \end{macrocode} |
| 1755 |
% |
| 1756 |
% \changes{v3.01}{2002/4/30}{Replaced by \cs{ShiftPicEnv}} |
| 1757 |
% \begin{macrocode} |
| 1758 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1759 |
% % treatment of atom list % |
| 1760 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1761 |
\iniatom\iniflag%initialize |
| 1762 |
\test@vertix@sixv{#3}{d}{c}{b}{a}{f}{e}% |
| 1763 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1764 |
% % adjustment of subs positions % |
| 1765 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1766 |
\@reset@ylsw% |
| 1767 |
\ylposition{#4}{5}{0}{5}{-1}% %subst 1--4 |
| 1768 |
\ylposition{#4}{11}{4}{7}{-1}% %subst 5 and 6 |
| 1769 |
\begin{ShiftPicEnv}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 1770 |
(800,880)(-\shiftii,-\shifti){sixheterovi}%2002/4/30 by S. Fujita |
| 1771 |
% \end{macrocode} |
| 1772 |
% |
| 1773 |
% \begin{macrocode} |
| 1774 |
% %%%%%%%%%%%%%%%%%% |
| 1775 |
% % outer skeleton % |
| 1776 |
% %%%%%%%%%%%%%%%%%% |
| 1777 |
{\resetbdsw% |
| 1778 |
\@bond@@omit{#5}% |
| 1779 |
\set@skel@bond{#1}{a}{c}% bond between 1 and 2 \@aaa -> \skbondc etc |
| 1780 |
\set@skel@bond{#1}{b}{b}% bond between 2 and 3 \@bbb -> \skbondb etc |
| 1781 |
\set@skel@bond{#1}{c}{a}% bond between 3 and 4 \@ccc -> \skbonda etc |
| 1782 |
\set@skel@bond{#1}{d}{f}% bond between 4 and 5 \@ddd -> \skbondf etc |
| 1783 |
\set@skel@bond{#1}{e}{e}% bond between 5 and 6 \@eee -> \skbonde etc |
| 1784 |
\set@skel@bond{#1}{f}{d}% bond between 6 and 1 \@fff -> \skbondd etc |
| 1785 |
}% |
| 1786 |
%%%\set@outskel@sixv% replaced by the above 1998/12/30 |
| 1787 |
% %%%%%%%%%%%%%%%%%%%%% |
| 1788 |
% % inner double bond % |
| 1789 |
% %%%%%%%%%%%%%%%%%%%%% |
| 1790 |
\@tfor\member:=#2\do{% |
| 1791 |
\if\member r\relax \bondd \bondf \bondb% |
| 1792 |
\else\if\member l\relax \bonda \bondc \bonde% |
| 1793 |
\else\if\member a\relax \bondc% |
| 1794 |
\else\if\member b\relax \bondb% |
| 1795 |
\else\if\member c\relax \bonda% |
| 1796 |
\else\if\member d\relax \bondf% |
| 1797 |
\else\if\member e\relax \bonde% |
| 1798 |
\else\if\member f\relax \bondd% |
| 1799 |
\else\if\member A%left aromatic circle |
| 1800 |
\Put@oCircle(0,203){240}% %circle |
| 1801 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 1802 |
% % inner bond attachment % |
| 1803 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 1804 |
\else \expandafter\twoCH@@R\member//% |
| 1805 |
\set@fusionadd@sixvi% |
| 1806 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 1807 |
}% |
| 1808 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1809 |
% % setting hetero atoms % |
| 1810 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1811 |
\set@hetatom@sixv{#3}{5}{0}{5}{-1}% %atom 1--4% |
| 1812 |
\set@hetatom@sixv{#3}{11}{4}{7}{-1}% %atom 5 and 6% |
| 1813 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1814 |
% % setting substituents % |
| 1815 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 1816 |
\setsixringv{#4}{5}{0}{5}{-1}% %subst 1--4 |
| 1817 |
\setsixringv{#4}{11}{4}{7}{-1}% %subst 5 and 6 |
| 1818 |
\end{ShiftPicEnv}\iniatom\iniflag}% %end of \sixheterovi macro |
| 1819 |
% \end{macrocode} |
| 1820 |
% \end{macro} |
| 1821 |
% \end{macro} |
| 1822 |
% \end{macro} |
| 1823 |
% \end{macro} |
| 1824 |
% |
| 1825 |
% \subsection{Pyridine derivatives of vertical type} |
| 1826 |
% |
| 1827 |
% The macros |\sixheterov| and |\sixheterovi| can be used in the |
| 1828 |
% form of a fixed |ATOMLIST|. Hence, the resulting commands for |
| 1829 |
% drawing a six-membered heterocyle with one or more nitrogen atoms |
| 1830 |
% have an argument |SUBSLIST| as well as an optional argument |BONDLIST|. |
| 1831 |
% |
| 1832 |
% \begin{verbatim} |
| 1833 |
% ************************ |
| 1834 |
% * pyridine derivatives * |
| 1835 |
% * (vertical type) * |
| 1836 |
% ************************ |
| 1837 |
% |
| 1838 |
% \pyridinev[BONDLIST]{SUBSLIST} |
| 1839 |
% \pyridinevi[BONDLIST]{SUBSLIST} |
| 1840 |
% \pyrazinev[BONDLIST]{SUBSLIST} |
| 1841 |
% \pyrimidinev[BONDLIST]{SUBSLIST} |
| 1842 |
% \pyrimidinevi[BONDLIST]{SUBSLIST} |
| 1843 |
% \triazinev[BONDLIST]{SUBSLIST} |
| 1844 |
% \triazinevi[BONDLIST]{SUBSLIST} |
| 1845 |
% \end{verbatim} |
| 1846 |
% |
| 1847 |
% The |BONDLIST| argument contains one |
| 1848 |
% character selected from a to f, each of which indicates the presence of |
| 1849 |
% an inner (endcyclic) double bond on the corresponding position. |
| 1850 |
% The option `A' represents an aromatic circle. The option |
| 1851 |
% `$n+$' ($n=1$ to $6$) represents a plus charge on a hetero atom |
| 1852 |
% at the $n$-position. |
| 1853 |
% |
| 1854 |
% \begin{verbatim} |
| 1855 |
% BONDLIST = |
| 1856 |
% |
| 1857 |
% none or r : pyridine (right-handed) |
| 1858 |
% l : pyridine (left-handed) |
| 1859 |
% [] : fully saturated ring |
| 1860 |
% a : 1,2-double bond |
| 1861 |
% b : 2,3-double bond |
| 1862 |
% c : 4,3-double bond |
| 1863 |
% d : 4,5-double bond |
| 1864 |
% e : 5,6-double bond |
| 1865 |
% f : 6,1-double bond |
| 1866 |
% A : aromatic circle |
| 1867 |
% {n+} : plus at the n-nitrogen atom |
| 1868 |
% \end{verbatim} |
| 1869 |
% |
| 1870 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 1871 |
% which are separated from each other by a semicolon. Each substitution |
| 1872 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 1873 |
% where these are separated with a double equality symbol. |
| 1874 |
% \begin{verbatim} |
| 1875 |
% |
| 1876 |
% SUBSLIST: list of substituents |
| 1877 |
% |
| 1878 |
% for n = 1 to 6 |
| 1879 |
% |
| 1880 |
% nD : exocyclic double bond at n-atom |
| 1881 |
% n or nS : exocyclic single bond at n-atom |
| 1882 |
% nA : alpha single bond at n-atom |
| 1883 |
% nB : beta single bond at n-atom |
| 1884 |
% nSA : alpha single bond at n-atom (boldface) |
| 1885 |
% nSB : beta single bond at n-atom (dotted line) |
| 1886 |
% nSa : alpha (not specified) single bond at n-atom |
| 1887 |
% nSb : beta (not specified) single bond at n-atom |
| 1888 |
% |
| 1889 |
% nSd : alpha single bond at n-atom (dotted line) |
| 1890 |
% with an alternative direction to nSA |
| 1891 |
% nSu : beta single bond at n-atom (boldface) |
| 1892 |
% with an alternative direction to nSB |
| 1893 |
% nFA : alpha single bond at n-atom (dotted line) |
| 1894 |
% for ring fusion |
| 1895 |
% nFB : beta single bond at n-atom (boldface) |
| 1896 |
% for ring fusion |
| 1897 |
% nGA : alpha single bond at n-atom (dotted line) |
| 1898 |
% for the other ring fusion |
| 1899 |
% nGB : beta single bond at n-atom (boldface) |
| 1900 |
% for the other ring fusion |
| 1901 |
% \end{verbatim} |
| 1902 |
% |
| 1903 |
% Several examples are shown as follows. |
| 1904 |
% \begin{verbatim} |
| 1905 |
% e.g. |
| 1906 |
% |
| 1907 |
% \pyridinev{1==Cl;2==F} |
| 1908 |
% \pyridinev[c]{1==Cl;4==F;2==CH$_{3}$} |
| 1909 |
% \pyridinev[eb]{1D==O;4SA==MeO;4SB==OMe;5W==Cl;6==Cl} |
| 1910 |
% \end{verbatim} |
| 1911 |
% |
| 1912 |
% \begin{macro}{\pridinev} |
| 1913 |
% \begin{macro}{\pridinevi} |
| 1914 |
% \begin{macrocode} |
| 1915 |
\def\pyridinev{\@ifnextchar[{\@pyridinev[@}{\@pyridinev[r]}} |
| 1916 |
\def\@pyridinev[#1]#2{% |
| 1917 |
\iforigpt \typeout{command `pyridinev' % |
| 1918 |
is based on `sixheterov'.}\fi% |
| 1919 |
\sixheterov[#1]{1==N}{#2}}%end of \pyridinev macro |
| 1920 |
\def\pyridinevi{\@ifnextchar[{\@pyridinevi[@}{\@pyridinevi[r]}} |
| 1921 |
\def\@pyridinevi[#1]#2{% |
| 1922 |
\iforigpt \typeout{command `pyridinevi' % |
| 1923 |
is based on `sixheterovi'.}\fi% |
| 1924 |
\sixheterovi[#1]{1==N}{#2}}%end of \pyridinevi macro |
| 1925 |
% \end{macrocode} |
| 1926 |
% \end{macro} |
| 1927 |
% \end{macro} |
| 1928 |
% |
| 1929 |
% \begin{macro}{\pyrazinev} |
| 1930 |
% \begin{macro}{\pyrazinevi} |
| 1931 |
% \begin{macrocode} |
| 1932 |
\def\pyrazinev{\@ifnextchar[{\@pyrazinev[@}{\@pyrazinev[r]}} |
| 1933 |
\def\@pyrazinev[#1]#2{% |
| 1934 |
\iforigpt \typeout{command `pyrazinev' % |
| 1935 |
is based on `sixheterov'.}\fi% |
| 1936 |
\sixheterov[#1]{1==N;4==N}{#2}}%end of \pyrazinev macro |
| 1937 |
%the same formula with an alternative locant numbering |
| 1938 |
\def\pyrazinevi{\@ifnextchar[{\@pyrazinevi[@}{\@pyrazinevi[r]}} |
| 1939 |
\def\@pyrazinevi[#1]#2{% |
| 1940 |
\iforigpt \typeout{command `pyrazinevi' % |
| 1941 |
is based on `sixheterovi'.}\fi% |
| 1942 |
\sixheterovi[#1]{1==N;4==N}{#2}}%end of \pyrazinevi macro |
| 1943 |
% \end{macrocode} |
| 1944 |
% \end{macro} |
| 1945 |
% \end{macro} |
| 1946 |
% |
| 1947 |
% \begin{macro}{\pyrimidinev} |
| 1948 |
% \begin{macro}{\pyrimidinevi} |
| 1949 |
% \begin{macrocode} |
| 1950 |
\def\pyrimidinev{\@ifnextchar[{\@pyrimidinev[@}{\@pyrimidinev[r]}} |
| 1951 |
\def\@pyrimidinev[#1]#2{% |
| 1952 |
\iforigpt \typeout{command `pyrimidinev' % |
| 1953 |
is based on `sixheterov'.}\fi% |
| 1954 |
\sixheterov[#1]{1==N;3==N}{#2}}%end of \pyrimidinev macro |
| 1955 |
\def\pyrimidinevi{\@ifnextchar[{\@pyrimidinevi[@}{\@pyrimidinevi[r]}} |
| 1956 |
\def\@pyrimidinevi[#1]#2{% |
| 1957 |
\iforigpt \typeout{command `pyrimidinevi' % |
| 1958 |
is based on `sixheterovi'.}\fi% |
| 1959 |
\sixheterovi[#1]{1==N;3==N}{#2}}%end of \pyrimidinevi macro |
| 1960 |
% \end{macrocode} |
| 1961 |
% \end{macro} |
| 1962 |
% \end{macro} |
| 1963 |
% |
| 1964 |
% \begin{macro}{\pyridazinev} |
| 1965 |
% \begin{macro}{\pyridazinevi} |
| 1966 |
% \begin{macrocode} |
| 1967 |
\def\pyridazinev{\@ifnextchar[{\@pyridazinev[@}{\@pyridazinev[r]}} |
| 1968 |
\def\@pyridazinev[#1]#2{% |
| 1969 |
\iforigpt \typeout{command `pyridazinev' % |
| 1970 |
is based on `sixheterov'.}\fi% |
| 1971 |
\sixheterov[#1]{1==N;2==N}{#2}}%end of \pyridazinev macro |
| 1972 |
\def\pyridazinevi{\@ifnextchar[{\@pyridazinevi[@}{\@pyridazinevi[r]}} |
| 1973 |
\def\@pyridazinevi[#1]#2{% |
| 1974 |
\iforigpt \typeout{command `pyridazinev' % |
| 1975 |
is based on `sixheterovi'.}\fi% |
| 1976 |
\sixheterovi[#1]{1==N;2==N}{#2}}%end of \pyridazinevi macro |
| 1977 |
% \end{macrocode} |
| 1978 |
% \end{macro} |
| 1979 |
% \end{macro} |
| 1980 |
% |
| 1981 |
% \begin{macro}{\triazinev} |
| 1982 |
% \begin{macro}{\triazinevi} |
| 1983 |
% \begin{macrocode} |
| 1984 |
\def\triazinev{\@ifnextchar[{\@triazinev[@}{\@triazinev[r]}} |
| 1985 |
\def\@triazinev[#1]#2{% |
| 1986 |
\iforigpt \typeout{command `triazinev' % |
| 1987 |
is based on `sixheterov'.}\fi% |
| 1988 |
\sixheterov[#1]{1==N;3==N;5==N}{#2}}%end of \triazinev macro |
| 1989 |
\def\triazinevi{\@ifnextchar[{\@triazinevi[@}{\@triazinevi[r]}} |
| 1990 |
\def\@triazinevi[#1]#2{% |
| 1991 |
\iforigpt \typeout{command `triazinevi' % |
| 1992 |
is based on `sixheterovi'.}\fi% |
| 1993 |
\sixheterovi[#1]{1==N;3==N;5==N}{#2}}%end of \triazinevi macro |
| 1994 |
% \end{macrocode} |
| 1995 |
% \end{macro} |
| 1996 |
% \end{macro} |
| 1997 |
% |
| 1998 |
% \section{Five-membered heterocycles} |
| 1999 |
% \subsection{Vertical type} |
| 2000 |
% |
| 2001 |
% The standard skeleton of a five-membered heterocycle |
| 2002 |
% is selected to have the following locant numbers. |
| 2003 |
% |
| 2004 |
% \begin{verbatim} |
| 2005 |
% ************************** |
| 2006 |
% * fivehetero derivatives * |
| 2007 |
% * (vertical type) * |
| 2008 |
% ************************** |
| 2009 |
% The following numbering is adopted in this macro. |
| 2010 |
% |
| 2011 |
% 4 _____ 3 |
| 2012 |
% | | |
| 2013 |
% | | |
| 2014 |
% 5 * * 2 |
| 2015 |
% * |
| 2016 |
% 1 <===== the original point |
| 2017 |
% \end{verbatim} |
| 2018 |
% |
| 2019 |
% The macro |\fiveheterov| has two arguments |ATOMLIST| and |SUBSLIST| |
| 2020 |
% as well as an optional argument |BONDLIST|. |
| 2021 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 2022 |
% treat stereochemical information or other bond situations. |
| 2023 |
% |
| 2024 |
% \begin{verbatim} |
| 2025 |
% \fiveheterov(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 2026 |
% \end{verbatim} |
| 2027 |
% |
| 2028 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 2029 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 2030 |
% character selected from bond specifiers `a' to `e' and a uppercase |
| 2031 |
% character `A' or `B'. |
| 2032 |
% |
| 2033 |
% The |BONDLIST| argument contains one |
| 2034 |
% character selected from a to e, each of which indicates the presence of |
| 2035 |
% an inner (endcyclic) double bond on the corresponding position. |
| 2036 |
% The option `A' represents an aromatic circle. The option |
| 2037 |
% `$n+$' ($n=1$ to $5$) represents a plus charge on a hetero atom |
| 2038 |
% at the $n$-position. |
| 2039 |
% The option `$0+$' typesets a plus charge at the center of the ring. |
| 2040 |
% |
| 2041 |
% \begin{verbatim} |
| 2042 |
% BONDLIST: list of inner double bonds |
| 2043 |
% |
| 2044 |
% a : 1,2-double bond |
| 2045 |
% b : 2,3-double bond |
| 2046 |
% c : 4,3-double bond |
| 2047 |
% d : 4,5-double bond |
| 2048 |
% e : 5,1-double bond |
| 2049 |
% A : aromatic circle |
| 2050 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 5) |
| 2051 |
% {0+} : plus (or minus) at the center |
| 2052 |
% \end{verbatim} |
| 2053 |
% |
| 2054 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 2055 |
% which are separated from each other by a semicolon. Each heteroatom |
| 2056 |
% descriptor consists of a locant number and a heteroatom, |
| 2057 |
% where these are separated with a double equality symbol. |
| 2058 |
% |
| 2059 |
% \begin{verbatim} |
| 2060 |
% |
| 2061 |
% ATOMLIST: list of heteroatoms (max 5 atoms) |
| 2062 |
% |
| 2063 |
% for n = 1 to 5 |
| 2064 |
% |
| 2065 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 2066 |
% e.g. 1==N for N at 1-position |
| 2067 |
% \end{verbatim} |
| 2068 |
% |
| 2069 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 2070 |
% which are separated from each other by a semicolon. Each substitution |
| 2071 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 2072 |
% where these are separated with a double equality symbol. |
| 2073 |
% |
| 2074 |
% \begin{verbatim} |
| 2075 |
% SUBSLIST: list of substituents |
| 2076 |
% |
| 2077 |
% for n = 1 to 5 |
| 2078 |
% |
| 2079 |
% nD : exocyclic double bond at n-atom |
| 2080 |
% n or nS : exocyclic single bond at n-atom |
| 2081 |
% nA : alpha single bond at n-atom |
| 2082 |
% nB : beta single bond at n-atom |
| 2083 |
% nSA : alpha single bond at n-atom (boldface) |
| 2084 |
% nSB : beta single bond at n-atom (dotted line) |
| 2085 |
% nSa : alpha (not specified) single bond at n-atom |
| 2086 |
% nSb : beta (not specified) single bond at n-atom |
| 2087 |
% |
| 2088 |
% nSd : alpha single bond at n-atom (dotted line) |
| 2089 |
% with an alternative direction to nSA |
| 2090 |
% nSu : beta single bond at n-atom (boldface) |
| 2091 |
% with an alternative direction to nSB |
| 2092 |
% nFA : alpha single bond at n-atom (dotted line) |
| 2093 |
% for ring fusion |
| 2094 |
% nFB : beta single bond at n-atom (boldface) |
| 2095 |
% for ring fusion |
| 2096 |
% nGA : alpha single bond at n-atom (dotted line) |
| 2097 |
% for the other ring fusion |
| 2098 |
% nGB : beta single bond at n-atom (boldface) |
| 2099 |
% for the other ring fusion |
| 2100 |
% \end{verbatim} |
| 2101 |
% |
| 2102 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 2103 |
% The omitted edges may be regarded as both fused and non-fused |
| 2104 |
% positions. |
| 2105 |
% |
| 2106 |
% \begin{verbatim} |
| 2107 |
% OMIT: one or more bonds omitted (a, b, c, d, or e) |
| 2108 |
% \end{verbatim} |
| 2109 |
% |
| 2110 |
% Several examples are shown as follows. |
| 2111 |
% \begin{verbatim} |
| 2112 |
% e.g. |
| 2113 |
% |
| 2114 |
% \fiveheterov{1==N}{1==H;2==F} |
| 2115 |
% \fiveheterov[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 2116 |
% \fiveheterov[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5W==Cl;6==Cl} |
| 2117 |
% \end{verbatim} |
| 2118 |
% |
| 2119 |
% The definition of |\fiveheterov| uses a picture environment and |
| 2120 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 2121 |
% \begin{enumerate} |
| 2122 |
% \item treatment of atom list, |
| 2123 |
% \item placing outer skeletons, |
| 2124 |
% \item placing inner double bonds, |
| 2125 |
% \item setting hetero atoms, and |
| 2126 |
% \item placing substituents by using |\setsixringv| partially. |
| 2127 |
% \end{enumerate} |
| 2128 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 2129 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 2130 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 2131 |
% \changes{v2.00}{1998/10/31}{Add: fused and spiro rings} |
| 2132 |
% |
| 2133 |
% \begin{macro}{\fiveheterov} |
| 2134 |
% \begin{macro}{\@five@heterov} |
| 2135 |
% \begin{macro}{\@five@@heterov} |
| 2136 |
% \begin{macro}{\@fiveheterov} |
| 2137 |
% \begin{macrocode} |
| 2138 |
\def\fiveheterov{\@ifnextchar({\@five@heterov(@}{\@five@heterov(@)}} |
| 2139 |
\def\@five@heterov(#1){\@ifnextchar[{\@five@@heterov(#1)[@}% |
| 2140 |
{\@five@@heterov(#1)[@]}} |
| 2141 |
\def\@five@@heterov(#1)[#2]#3#4{\@ifnextchar[% |
| 2142 |
{\@fiveheterov(#1)[#2]{#3}{#4}[@}% |
| 2143 |
{\@fiveheterov(#1)[#2]{#3}{#4}[@]}} |
| 2144 |
\def\@fiveheterov(#1)[#2]#3#4[#5]{% |
| 2145 |
\iniatom\iniflag%initialize |
| 2146 |
% %%%%%%%%%%%%% |
| 2147 |
% % atom list % |
| 2148 |
% %%%%%%%%%%%%% |
| 2149 |
\test@vertix@sixv{#3}{d}{c}{b}{f}{e}{a}% |
| 2150 |
% \end{macrocode} |
| 2151 |
% |
| 2152 |
% \changes{v3.01}{2002/4/30}{Replaced by \cs{ShiftPicEnv}} |
| 2153 |
% \begin{macrocode} |
| 2154 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2155 |
% % adustment of subs positions % |
| 2156 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2157 |
\@reset@ylsw% |
| 2158 |
\ylposition{#4}{5}{1}{5}{-1}% % for 1 to 3 |
| 2159 |
\ylposition{#4}{10}{4}{7}{-1}% % for 4 to 5 |
| 2160 |
\begin{ShiftPicEnv}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 2161 |
(800,880)(-\shiftii,-\shifti){fiveheterov}%2002/4/30 by S. Fujita |
| 2162 |
% \end{macrocode} |
| 2163 |
% |
| 2164 |
% \begin{macrocode} |
| 2165 |
% %%%%%%%%%%%%%%%%%% |
| 2166 |
% % outer skeleton % |
| 2167 |
% %%%%%%%%%%%%%%%%%% |
| 2168 |
{\resetbdsw% |
| 2169 |
\@bond@@omit{#5}% |
| 2170 |
\set@skel@bond{#1}{a}{c}% bond between 1 and 2 \@aaa -> \skbondc etc |
| 2171 |
\set@skel@bond{#1}{b}{b}% bond between 2 and 3 \@bbb -> \skbondb etc |
| 2172 |
\set@skel@longbond{#1}{c}{skbondhoriz}% |
| 2173 |
% bond between 3 and 4 \@ccc -> \skbondhoriz etc |
| 2174 |
\set@skel@bond{#1}{d}{e}% bond between 4 and 5 \@ddd -> \skbonde etc |
| 2175 |
\set@skel@bond{#1}{e}{d}% bond between 5 and 1 \@eee -> \skbondd etc |
| 2176 |
}% |
| 2177 |
% \end{macrocode} |
| 2178 |
% |
| 2179 |
% \begin{macrocode} |
| 2180 |
% %%%%%%%%%%%%%%%%%%%%% |
| 2181 |
% % inner double bond % |
| 2182 |
% %%%%%%%%%%%%%%%%%%%%% |
| 2183 |
\@tfor\member:=#2\do{% |
| 2184 |
\if\member r% |
| 2185 |
\else\if\member a\relax \bondc% |
| 2186 |
\else\if\member b\relax \bondb% |
| 2187 |
\else\if\member c\relax \bondhoriz% |
| 2188 |
\else\if\member d\relax \bonde% |
| 2189 |
\else\if\member e\relax \bondd% |
| 2190 |
\else\if\member A\relax% |
| 2191 |
\Put@oCircle(0,173){180}%aromatic circle |
| 2192 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 2193 |
% % inner bond attachment % |
| 2194 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 2195 |
\else |
| 2196 |
\expandafter\twoCH@@R\member//% |
| 2197 |
\set@fusionadd@fivev |
| 2198 |
\fi\fi\fi\fi\fi\fi\fi}% |
| 2199 |
% \end{macrocode} |
| 2200 |
% |
| 2201 |
% \begin{macrocode} |
| 2202 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 2203 |
% % setting heteroatoms % |
| 2204 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 2205 |
\set@hetatom@sixv{#3}{5}{1}{5}{-1}% % for 1 to 3 |
| 2206 |
\set@hetatom@sixv{#3}{10}{4}{7}{-1}% % for 4 to 5 |
| 2207 |
% \end{macrocode} |
| 2208 |
% |
| 2209 |
% \begin{macrocode} |
| 2210 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 2211 |
% % setting substituents % |
| 2212 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 2213 |
\setsixringv{#4}{5}{1}{5}{-1}% % for 1 to 3 |
| 2214 |
\setsixringv{#4}{10}{4}{7}{-1}% % for 4 to 5 |
| 2215 |
\end{ShiftPicEnv}\iniatom\iniflag}% %end of \fiveheterov macro |
| 2216 |
% \end{macrocode} |
| 2217 |
% \end{macro} |
| 2218 |
% \end{macro} |
| 2219 |
% \end{macro} |
| 2220 |
% \end{macro} |
| 2221 |
% |
| 2222 |
% \subsection{Inverse vertical type} |
| 2223 |
% |
| 2224 |
% The standard skeleton of a five-membered heterocycle of inverse type |
| 2225 |
% is selected to have the following locant numbers. |
| 2226 |
% |
| 2227 |
% \begin{verbatim} |
| 2228 |
% ***************************** |
| 2229 |
% * fivehetero derivatives * |
| 2230 |
% * (vertical type, inverse) * |
| 2231 |
% ***************************** |
| 2232 |
% The following numbering is adopted in this macro. |
| 2233 |
% |
| 2234 |
% 1 |
| 2235 |
% * |
| 2236 |
% 6 * * 2 |
| 2237 |
% | | |
| 2238 |
% |_____| |
| 2239 |
% 4 3 |
| 2240 |
% * |
| 2241 |
% (0,0) <===== the original point |
| 2242 |
% \end{verbatim} |
| 2243 |
% |
| 2244 |
% The macro |\fiveheterovi| has two arguments |ATOMLIST| and |SUBSLIST| |
| 2245 |
% as well as an optional argument |BONDLIST|. |
| 2246 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 2247 |
% treat stereochemical information or other bond situations. |
| 2248 |
% |
| 2249 |
% \begin{verbatim} |
| 2250 |
% \fiveheterovi(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 2251 |
% \end{verbatim} |
| 2252 |
% |
| 2253 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 2254 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 2255 |
% character selected from bond specifiers `a' to `f' and a uppercase |
| 2256 |
% character `A' or `B'. |
| 2257 |
% |
| 2258 |
% The |BONDLIST| argument contains one |
| 2259 |
% character selected from a to e, each of which indicates the presence of |
| 2260 |
% an inner (endcyclic) double bond on the corresponding position. |
| 2261 |
% The option `A' represents an aromatic circle. The option |
| 2262 |
% `$n+$' ($n=1$ to $5$) represents a plus charge on a hetero atom |
| 2263 |
% at the $n$-position. |
| 2264 |
% The option `$0+$' typesets a plus charge at the center of the ring. |
| 2265 |
% |
| 2266 |
% \begin{verbatim} |
| 2267 |
% BONDLIST: list of inner double bonds |
| 2268 |
% |
| 2269 |
% a : 1,2-double bond |
| 2270 |
% b : 2,3-double bond |
| 2271 |
% c : 4,3-double bond |
| 2272 |
% d : 4,5-double bond |
| 2273 |
% e : 5,1-double bond |
| 2274 |
% A : aromatic circle |
| 2275 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 5) |
| 2276 |
% {0+} : plus (or minus) at the center |
| 2277 |
% \end{verbatim} |
| 2278 |
% |
| 2279 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 2280 |
% which are separated from each other by a semicolon. Each heteroatom |
| 2281 |
% descriptor consists of a locant number and a heteroatom, |
| 2282 |
% where these are separated with a double equality symbol. |
| 2283 |
% |
| 2284 |
% \begin{verbatim} |
| 2285 |
% ATOMLIST: list of heteroatoms (max 5 atoms) |
| 2286 |
% |
| 2287 |
% for n = 1 to 5 |
| 2288 |
% |
| 2289 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 2290 |
% e.g. 1==N for N at 1-position |
| 2291 |
% \end{verbatim} |
| 2292 |
% |
| 2293 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 2294 |
% which are separated from each other by a semicolon. Each substitution |
| 2295 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 2296 |
% where these are separated with a double equality symbol. |
| 2297 |
% |
| 2298 |
% \begin{verbatim} |
| 2299 |
% SUBSLIST: list of substituents |
| 2300 |
% |
| 2301 |
% for n = 1 to 5 |
| 2302 |
% |
| 2303 |
% nD : exocyclic double bond at n-atom |
| 2304 |
% n or nS : exocyclic single bond at n-atom |
| 2305 |
% nA : alpha single bond at n-atom |
| 2306 |
% nB : beta single bond at n-atom |
| 2307 |
% nSA : alpha single bond at n-atom (boldface) |
| 2308 |
% nSB : beta single bond at n-atom (dotted line) |
| 2309 |
% nSa : alpha (not specified) single bond at n-atom |
| 2310 |
% nSb : beta (not specified) single bond at n-atom |
| 2311 |
% |
| 2312 |
% nSd : alpha single bond at n-atom (dotted line) |
| 2313 |
% with an alternative direction to nSA |
| 2314 |
% nSu : beta single bond at n-atom (boldface) |
| 2315 |
% with an alternative direction to nSB |
| 2316 |
% nFA : alpha single bond at n-atom (dotted line) |
| 2317 |
% for ring fusion |
| 2318 |
% nFB : beta single bond at n-atom (boldface) |
| 2319 |
% for ring fusion |
| 2320 |
% nGA : alpha single bond at n-atom (dotted line) |
| 2321 |
% for the other ring fusion |
| 2322 |
% nGB : beta single bond at n-atom (boldface) |
| 2323 |
% for the other ring fusion |
| 2324 |
% \end{verbatim} |
| 2325 |
% |
| 2326 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 2327 |
% The omitted edges may be regarded as both fused and non-fused |
| 2328 |
% positions. |
| 2329 |
% |
| 2330 |
% \begin{verbatim} |
| 2331 |
% OMIT: one or more bonds omitted (a, b, c, d, or e) |
| 2332 |
% \end{verbatim} |
| 2333 |
% |
| 2334 |
% Several examples are shown as follows. |
| 2335 |
% \begin{verbatim} |
| 2336 |
% e.g. |
| 2337 |
% |
| 2338 |
% \fiveheterovi{1==N}{1==H;2==F} |
| 2339 |
% \fiveheterovi[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 2340 |
% \fiveheterovi[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 2341 |
% \end{verbatim} |
| 2342 |
% |
| 2343 |
% The definition of |\fiveheterovi| uses a picture environment and |
| 2344 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 2345 |
% \begin{enumerate} |
| 2346 |
% \item treatment of atom list, |
| 2347 |
% \item placing outer skeletons, |
| 2348 |
% \item placing inner double bonds, |
| 2349 |
% \item setting hetero atoms, and |
| 2350 |
% \item placing substituents by using |\setsixringv| partially. |
| 2351 |
% \end{enumerate} |
| 2352 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 2353 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 2354 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 2355 |
% |
| 2356 |
% \begin{macro}{\fiveheterovi} |
| 2357 |
% \begin{macro}{\@five@heterovi} |
| 2358 |
% \begin{macro}{\@five@@heterovi} |
| 2359 |
% \begin{macro}{\@fiveheterovi} |
| 2360 |
% \begin{macrocode} |
| 2361 |
\def\fiveheterovi{\@ifnextchar({\@five@heterovi(@}{\@five@heterovi(@)}} |
| 2362 |
\def\@five@heterovi(#1){\@ifnextchar[{\@five@@heterovi(#1)[@}% |
| 2363 |
{\@five@@heterovi(#1)[@]}} |
| 2364 |
\def\@five@@heterovi(#1)[#2]#3#4{\@ifnextchar[% |
| 2365 |
{\@fiveheterovi(#1)[#2]{#3}{#4}[@}% |
| 2366 |
{\@fiveheterovi(#1)[#2]{#3}{#4}[@]}} |
| 2367 |
\def\@fiveheterovi(#1)[#2]#3#4[#5]{% |
| 2368 |
\iniatom\iniflag%initialize |
| 2369 |
% \end{macrocode} |
| 2370 |
% |
| 2371 |
% \changes{v3.01}{2002/4/30}{Replaced by \cs{ShiftPicEnv}} |
| 2372 |
% \begin{macrocode} |
| 2373 |
% %%%%%%%%%%%%% |
| 2374 |
% % atom list % |
| 2375 |
% %%%%%%%%%%%%% |
| 2376 |
\test@vertix@sixv{#3}{a}{b}{c}{e}{f}{d}% d -- dummy |
| 2377 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2378 |
% % adustment of subs positions % |
| 2379 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2380 |
\@reset@ylsw% |
| 2381 |
\ylposition{#4}{0}{0}{4}{0}% % for 1 to 3 |
| 2382 |
\ylposition{#4}{1}{4}{7}{0}% % for 4 to 5 |
| 2383 |
\begin{ShiftPicEnv}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 2384 |
(800,880)(-\shiftii,-\shifti){fiveheterov}%2002/4/30 by S. Fujita |
| 2385 |
% \end{macrocode} |
| 2386 |
% |
| 2387 |
% \begin{macrocode} |
| 2388 |
% %%%%%%%%%%%%%%%%%% |
| 2389 |
% % outer skeleton % |
| 2390 |
% %%%%%%%%%%%%%%%%%% |
| 2391 |
{\resetbdsw% |
| 2392 |
\@bond@@omit{#5}% |
| 2393 |
\set@skel@bond{#1}{a}{a}% bond between 1 and 2 \@aaa -> \skbonda etc |
| 2394 |
\set@skel@bond{#1}{b}{b}% bond between 2 and 3 \@bbb -> \skbondb etc |
| 2395 |
\set@skel@longbond{#1}{c}{skbondhorizi}% |
| 2396 |
% bond between 3 and 4 \@ccc -> \skbondhorizi etc |
| 2397 |
\set@skel@bond{#1}{d}{e}% bond between 4 and 5 \@ddd -> \skbonde etc |
| 2398 |
\set@skel@bond{#1}{e}{f}% bond between 5 and 6 \@eee -> \skbondf etc |
| 2399 |
}% |
| 2400 |
% \end{macrocode} |
| 2401 |
% |
| 2402 |
% \begin{macrocode} |
| 2403 |
% %%%%%%%%%%%%%%%%%%%%% |
| 2404 |
% % inner double bond % |
| 2405 |
% %%%%%%%%%%%%%%%%%%%%% |
| 2406 |
\@tfor\member:=#2\do{% |
| 2407 |
\if\member r% |
| 2408 |
\else\if\member a\relax \bonda% |
| 2409 |
\else\if\member b\relax \bondb% |
| 2410 |
\else\if\member c\relax \bondhorizi% |
| 2411 |
\else\if\member d\relax \bonde% |
| 2412 |
\else\if\member e\relax \bondf% |
| 2413 |
\else\if\member A\relax% |
| 2414 |
\Put@oCircle(0,233){180}%aromatic circle |
| 2415 |
\else |
| 2416 |
\expandafter\twoCH@@R\member//% |
| 2417 |
\set@fusionadd@fivevi |
| 2418 |
\fi\fi\fi\fi\fi\fi\fi}% |
| 2419 |
% \end{macrocode} |
| 2420 |
% |
| 2421 |
% \begin{macrocode} |
| 2422 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 2423 |
% % setting heteroatoms % |
| 2424 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 2425 |
\set@hetatom@sixv{#3}{0}{0}{4}{0}% % for 1 to 3 |
| 2426 |
\set@hetatom@sixv{#3}{1}{4}{7}{0}% % for 4 to 5 |
| 2427 |
% \end{macrocode} |
| 2428 |
% |
| 2429 |
% \begin{macrocode} |
| 2430 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 2431 |
% % setting substituents % |
| 2432 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 2433 |
\setsixringv{#4}{0}{0}{4}{0}% % for 1 to 3 |
| 2434 |
\setsixringv{#4}{1}{4}{7}{0}% % for 4 to 5 |
| 2435 |
\end{ShiftPicEnv}\iniatom\iniflag}% %end of \fiveheterovi macro |
| 2436 |
% \end{macrocode} |
| 2437 |
% \end{macro} |
| 2438 |
% \end{macro} |
| 2439 |
% \end{macro} |
| 2440 |
% \end{macro} |
| 2441 |
% |
| 2442 |
% \subsection{Pyrrole derivatives of vertical type} |
| 2443 |
% |
| 2444 |
% The macro |\fiveheterov| can be used in the |
| 2445 |
% form of a fixed |ATOMLIST|. Hence, the resulting commands for |
| 2446 |
% drawing a five-membered heterocyle with one or more nitrogen atoms |
| 2447 |
% have an argument |SUBSLIST| as well as an optional argument |BONDLIST|. |
| 2448 |
% |
| 2449 |
% \begin{verbatim} |
| 2450 |
% *********************************** |
| 2451 |
% * pyrrole derivatives and others * |
| 2452 |
% * (vertical type) * |
| 2453 |
% *********************************** |
| 2454 |
% |
| 2455 |
% \pyrrolev[BONDLIST]{SUBSLIST} |
| 2456 |
% \pyrazolev[BONDLIST]{SUBSLIST} |
| 2457 |
% \imidazolev[BONDLIST]{SUBSLIST} |
| 2458 |
% \isoxazolev[BONDLIST]{SUBSLIST} |
| 2459 |
% \oxazolev[BONDLIST]{SUBSLIST} |
| 2460 |
% \end{verbatim} |
| 2461 |
% |
| 2462 |
% The |BONDLIST| argument contains one |
| 2463 |
% character selected from a to e, each of which indicates the presence of |
| 2464 |
% an inner (endcyclic) double bond on the corresponding position. |
| 2465 |
% The option |
| 2466 |
% `$n+$' ($n=1$ to $5$) represents a plus charge on a hetero atom |
| 2467 |
% at the $n$-position. |
| 2468 |
% |
| 2469 |
% \begin{verbatim} |
| 2470 |
% BONDLIST: list of inner double bonds |
| 2471 |
% |
| 2472 |
% none : mother nucleus |
| 2473 |
% [] : fully saturated form |
| 2474 |
% a : 1,2-double bond |
| 2475 |
% b : 2,3-double bond |
| 2476 |
% c : 4,3-double bond |
| 2477 |
% d : 4,5-double bond |
| 2478 |
% e : 5,1-double bond |
| 2479 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 5) |
| 2480 |
% \end{verbatim} |
| 2481 |
% |
| 2482 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 2483 |
% which are separated from each other by a semicolon. Each substitution |
| 2484 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 2485 |
% where these are separated with a double equality symbol. |
| 2486 |
% |
| 2487 |
% \begin{verbatim} |
| 2488 |
% SUBSLIST: list of substituents |
| 2489 |
% |
| 2490 |
% for n = 1 to 5 |
| 2491 |
% |
| 2492 |
% nD : exocyclic double bond at n-atom |
| 2493 |
% n or nS : exocyclic single bond at n-atom |
| 2494 |
% nA : alpha single bond at n-atom |
| 2495 |
% nB : beta single bond at n-atom |
| 2496 |
% nSA : alpha single bond at n-atom (boldface) |
| 2497 |
% nSB : beta single bond at n-atom (dotted line) |
| 2498 |
% nSa : alpha (not specified) single bond at n-atom |
| 2499 |
% nSb : beta (not specified) single bond at n-atom |
| 2500 |
% |
| 2501 |
% nSd : alpha single bond at n-atom (dotted line) |
| 2502 |
% with an alternative direction to nSA |
| 2503 |
% nSu : beta single bond at n-atom (boldface) |
| 2504 |
% with an alternative direction to nSB |
| 2505 |
% nFA : alpha single bond at n-atom (dotted line) |
| 2506 |
% for ring fusion |
| 2507 |
% nFB : beta single bond at n-atom (boldface) |
| 2508 |
% for ring fusion |
| 2509 |
% nGA : alpha single bond at n-atom (dotted line) |
| 2510 |
% for the other ring fusion |
| 2511 |
% nGB : beta single bond at n-atom (boldface) |
| 2512 |
% for the other ring fusion |
| 2513 |
% \end{verbatim} |
| 2514 |
% |
| 2515 |
% Several examples are shown as follows. |
| 2516 |
% \begin{verbatim} |
| 2517 |
% e.g. |
| 2518 |
% |
| 2519 |
% \pyrrolev{1==H;2==F} |
| 2520 |
% \pyrrolev[]{1==H;2==F} |
| 2521 |
% \imidazolev[c]{1==Cl;4==F;2==CH$_{3}$} |
| 2522 |
% \isoxazolev[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5W==Cl;6==Cl} |
| 2523 |
% \end{verbatim} |
| 2524 |
% |
| 2525 |
% \begin{macro}{\pyrrolev} |
| 2526 |
% \begin{macro}{\pyrazolev} |
| 2527 |
% \begin{macro}{\imidazolev} |
| 2528 |
% \begin{macro}{\isoxazolev} |
| 2529 |
% \begin{macro}{\oxazolev} |
| 2530 |
% \begin{macrocode} |
| 2531 |
\def\pyrrolev{\@ifnextchar[{\@pyrrolev[@}{\@pyrrolev[bd]}} |
| 2532 |
\def\@pyrrolev[#1]#2{% |
| 2533 |
\iforigpt \typeout{command `pyrrolev' % |
| 2534 |
is based on `fiveheterov'.}\fi% |
| 2535 |
\fiveheterov[#1]{1==N}{#2}} |
| 2536 |
\def\pyrazolev{\@ifnextchar[{\@pyrazolev[@}{\@pyrazolev[bd]}} |
| 2537 |
\def\@pyrazolev[#1]#2{% |
| 2538 |
\iforigpt \typeout{command `pyrazolev' % |
| 2539 |
is based on `fiveheterov'.}\fi% |
| 2540 |
\fiveheterov[#1]{1==N;2==N}{#2}} |
| 2541 |
\def\imidazolev{\@ifnextchar[{\@imidazolev[@}{\@imidazolev[bd]}} |
| 2542 |
\def\@imidazolev[#1]#2{% |
| 2543 |
\iforigpt \typeout{command `imidazolev' % |
| 2544 |
is based on `fiveheterov'.}\fi% |
| 2545 |
\fiveheterov[#1]{1==N;3==N}{#2}} |
| 2546 |
\def\isoxazolev{\@ifnextchar[{\@isoxazolev[@}{\@isoxazolev[bd]}} |
| 2547 |
\def\@isoxazolev[#1]#2{% |
| 2548 |
\iforigpt \typeout{command `isoxazolev' % |
| 2549 |
is based on `fiveheterov'.}\fi% |
| 2550 |
\fiveheterov[#1]{1==O;2==N}{#2}} |
| 2551 |
\def\oxazolev{\@ifnextchar[{\@oxazolev[@}{\@oxazolev[bd]}} |
| 2552 |
\def\@oxazolev[#1]#2{% |
| 2553 |
\iforigpt \typeout{command `oxazolev' % |
| 2554 |
is based on `fiveheterov'.}\fi% |
| 2555 |
\fiveheterov[#1]{1==O;3==N}{#2}} |
| 2556 |
% \end{macrocode} |
| 2557 |
% \end{macro} |
| 2558 |
% \end{macro} |
| 2559 |
% \end{macro} |
| 2560 |
% \end{macro} |
| 2561 |
% \end{macro} |
| 2562 |
% |
| 2563 |
% \begin{macro}{\furanv} |
| 2564 |
% \begin{macro}{\thiophenev} |
| 2565 |
% \begin{macrocode} |
| 2566 |
\def\furanv{\@ifnextchar[{\@furanv[@}{\@furanv[bd]}} |
| 2567 |
\def\@furanv[#1]#2{% |
| 2568 |
\iforigpt \typeout{command `furanv' % |
| 2569 |
is based on `fiveheterov'.}\fi% |
| 2570 |
\fiveheterov[#1]{1==O}{#2}} |
| 2571 |
\def\thiophenev{\@ifnextchar[{\@thiophenev[@}{\@thiophenev[bd]}} |
| 2572 |
\def\@thiophenev[#1]#2{% |
| 2573 |
\iforigpt \typeout{command `thiophenev' % |
| 2574 |
is based on `fiveheterov'.}\fi% |
| 2575 |
\fiveheterov[#1]{1==S}{#2}} |
| 2576 |
% \end{macrocode} |
| 2577 |
% \end{macro} |
| 2578 |
% \end{macro} |
| 2579 |
% |
| 2580 |
% \subsection{Pyrrole derivatives of inverse vertical type} |
| 2581 |
% |
| 2582 |
% The macro |\fiveheterovi| can be used in the |
| 2583 |
% form of a fixed |ATOMLIST|. Hence, the resulting commands for |
| 2584 |
% drawing a five-membered heterocyle with one or more nitrogen atoms |
| 2585 |
% have an argument |SUBSLIST| as well as an optional argument |BONDLIST|. |
| 2586 |
% |
| 2587 |
% \begin{verbatim} |
| 2588 |
% *********************************** |
| 2589 |
% * pyrrole derivatives and others * |
| 2590 |
% * (vertical type, inverse) * |
| 2591 |
% *********************************** |
| 2592 |
% |
| 2593 |
% \pyrrolevi[BONDLIST]{SUBSLIST} |
| 2594 |
% \pyrazolevi[BONDLIST]{SUBSLIST} |
| 2595 |
% \imidazolevi[BONDLIST]{SUBSLIST} |
| 2596 |
% \isoxazolevi[BONDLIST]{SUBSLIST} |
| 2597 |
% \oxazolevi[BONDLIST]{SUBSLIST} |
| 2598 |
% \end{verbatim} |
| 2599 |
% |
| 2600 |
% The |BONDLIST| argument contains one |
| 2601 |
% character selected from a to e, each of which indicates the presence of |
| 2602 |
% an inner (endcyclic) double bond on the corresponding position. |
| 2603 |
% The option |
| 2604 |
% `$n+$' ($n=1$ to $5$) represents a plus charge on a hetero atom |
| 2605 |
% at the $n$-position. |
| 2606 |
% |
| 2607 |
% \begin{verbatim} |
| 2608 |
% BONDLIST: list of inner double bonds |
| 2609 |
% |
| 2610 |
% none : mother nucleus |
| 2611 |
% [] : fully saturated form |
| 2612 |
% a : 1,2-double bond |
| 2613 |
% b : 2,3-double bond |
| 2614 |
% c : 4,3-double bond |
| 2615 |
% d : 4,5-double bond |
| 2616 |
% e : 5,1-double bond |
| 2617 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 5) |
| 2618 |
% \end{verbatim} |
| 2619 |
% |
| 2620 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 2621 |
% which are separated from each other by a semicolon. Each substitution |
| 2622 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 2623 |
% where these are separated with a double equality symbol. |
| 2624 |
% |
| 2625 |
% \begin{verbatim} |
| 2626 |
% SUBSLIST: list of substituents (max 6 substitution positions) |
| 2627 |
% |
| 2628 |
% for n = 1 to 5 |
| 2629 |
% |
| 2630 |
% nD : exocyclic double bond at n-atom |
| 2631 |
% n or nS : exocyclic single bond at n-atom |
| 2632 |
% nA : alpha single bond at n-atom |
| 2633 |
% nB : beta single bond at n-atom |
| 2634 |
% nSA : alpha single bond at n-atom (boldface) |
| 2635 |
% nSB : beta single bond at n-atom (dotted line) |
| 2636 |
% nSa : alpha (not specified) single bond at n-atom |
| 2637 |
% nSb : beta (not specified) single bond at n-atom |
| 2638 |
% |
| 2639 |
% nSd : alpha single bond at n-atom (dotted line) |
| 2640 |
% with an alternative direction to nSA |
| 2641 |
% nSu : beta single bond at n-atom (boldface) |
| 2642 |
% with an alternative direction to nSB |
| 2643 |
% nFA : alpha single bond at n-atom (dotted line) |
| 2644 |
% for ring fusion |
| 2645 |
% nFB : beta single bond at n-atom (boldface) |
| 2646 |
% for ring fusion |
| 2647 |
% nGA : alpha single bond at n-atom (dotted line) |
| 2648 |
% for the other ring fusion |
| 2649 |
% nGB : beta single bond at n-atom (boldface) |
| 2650 |
% for the other ring fusion |
| 2651 |
% \end{verbatim} |
| 2652 |
% |
| 2653 |
% Several examples are shown as follows. |
| 2654 |
% \begin{verbatim} |
| 2655 |
% e.g. |
| 2656 |
% |
| 2657 |
% \pyrrolevi{1==H;2==F} |
| 2658 |
% \pyrrolevi[]{1==H;2==F} |
| 2659 |
% \imidazolevi[c]{1==Cl;4==F;2==CH$_{3}$} |
| 2660 |
% \isoxazolevi[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5W==Cl;6==Cl} |
| 2661 |
% \end{verbatim} |
| 2662 |
% |
| 2663 |
% \begin{macro}{\pyrrolevi} |
| 2664 |
% \begin{macro}{\pyrazolevi} |
| 2665 |
% \begin{macro}{\imidazolevi} |
| 2666 |
% \begin{macro}{\isoxazolevi} |
| 2667 |
% \begin{macro}{\oxazolevi} |
| 2668 |
% \begin{macrocode} |
| 2669 |
\def\pyrrolevi{\@ifnextchar[{\@pyrrolevi[@}{\@pyrrolevi[bd]}} |
| 2670 |
\def\@pyrrolevi[#1]#2{% |
| 2671 |
\iforigpt \typeout{command `pyrrolevi' % |
| 2672 |
is based on `fiveheterovi'.}\fi% |
| 2673 |
\fiveheterovi[#1]{1==N}{#2}} |
| 2674 |
\def\pyrazolevi{\@ifnextchar[{\@pyrazolevi[@}{\@pyrazolevi[bd]}} |
| 2675 |
\def\@pyrazolevi[#1]#2{% |
| 2676 |
\iforigpt \typeout{command `pyrazolevi' % |
| 2677 |
is based on `fiveheterovi'.}\fi% |
| 2678 |
\fiveheterovi[#1]{1==N;2==N}{#2}} |
| 2679 |
\def\imidazolevi{\@ifnextchar[{\@imidazolevi[@}{\@imidazolevi[bd]}} |
| 2680 |
\def\@imidazolevi[#1]#2{% |
| 2681 |
\iforigpt \typeout{command `imidazolevi' % |
| 2682 |
is based on `fiveheterovi'.}\fi% |
| 2683 |
\fiveheterovi[#1]{1==N;3==N}{#2}} |
| 2684 |
\def\isoxazolevi{\@ifnextchar[{\@isoxazolevi[@}{\@isoxazolevi[bd]}} |
| 2685 |
\def\@isoxazolevi[#1]#2{% |
| 2686 |
\iforigpt \typeout{command `isoxazolevi' % |
| 2687 |
is based on `fiveheterovi'.}\fi% |
| 2688 |
\fiveheterovi[#1]{1==O;2==N}{#2}} |
| 2689 |
\def\oxazolevi{\@ifnextchar[{\@oxazolevi[@}{\@oxazolevi[bd]}} |
| 2690 |
\def\@oxazolevi[#1]#2{% |
| 2691 |
\iforigpt \typeout{command `oxazolevi' % |
| 2692 |
is based on `fiveheterovi'.}\fi% |
| 2693 |
\fiveheterovi[#1]{1==O;3==N}{#2}} |
| 2694 |
% \end{macrocode} |
| 2695 |
% \end{macro} |
| 2696 |
% \end{macro} |
| 2697 |
% \end{macro} |
| 2698 |
% \end{macro} |
| 2699 |
% \end{macro} |
| 2700 |
% |
| 2701 |
% \begin{macro}{\furanvi} |
| 2702 |
% \begin{macro}{\thiophenevi} |
| 2703 |
% \begin{macrocode} |
| 2704 |
\def\furanvi{\@ifnextchar[{\@furanvi[@}{\@furanvi[bd]}} |
| 2705 |
\def\@furanvi[#1]#2{% |
| 2706 |
\iforigpt \typeout{command `furanvi' % |
| 2707 |
is based on `fiveheterovi'.}\fi% |
| 2708 |
\fiveheterovi[#1]{1==O}{#2}} |
| 2709 |
\def\thiophenevi{\@ifnextchar[{\@thiophenevi[@}{\@thiophenevi[bd]}} |
| 2710 |
\def\@thiophenevi[#1]#2{% |
| 2711 |
\iforigpt \typeout{command `thiophenevi' % |
| 2712 |
is based on `fiveheterovi'.}\fi% |
| 2713 |
\fiveheterovi[#1]{1==S}{#2}} |
| 2714 |
% \end{macrocode} |
| 2715 |
% \end{macro} |
| 2716 |
% \end{macro} |
| 2717 |
% |
| 2718 |
% \section{Six-to-six fused heterocyles} |
| 2719 |
% \subsection{Vertical type} |
| 2720 |
% |
| 2721 |
% The standard skeleton of a six-to-six fused heterocycle is selected |
| 2722 |
% to have the following locant numbers. |
| 2723 |
% |
| 2724 |
% \begin{verbatim} |
| 2725 |
% ************************** |
| 2726 |
% * decahetero derivatives * |
| 2727 |
% * (vertical type) * |
| 2728 |
% ************************** |
| 2729 |
% The following numbering is adopted in this macro. |
| 2730 |
% |
| 2731 |
% 8 (10)1 |
| 2732 |
% * 8a * |
| 2733 |
% 7 * * * * 2 |
| 2734 |
% | | | |
| 2735 |
% | | | |
| 2736 |
% 6 * * * * 3 |
| 2737 |
% * 4a * |
| 2738 |
% 5 (9) 4 |
| 2739 |
% ^ |
| 2740 |
% | |
| 2741 |
% the original point |
| 2742 |
% \end{verbatim} |
| 2743 |
% |
| 2744 |
% The macro |\decaheterov| has two arguments |ATOMLIST| and |SUBSLIST| |
| 2745 |
% as well as an optional argument |BONDLIST|. |
| 2746 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 2747 |
% treat stereochemical information or other bond situations. |
| 2748 |
% |
| 2749 |
% \begin{verbatim} |
| 2750 |
% \decaheterov(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 2751 |
% \end{verbatim} |
| 2752 |
% |
| 2753 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 2754 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 2755 |
% character selected from bond specifiers `a' to `k' and a uppercase |
| 2756 |
% character `A' or `B'. |
| 2757 |
% |
| 2758 |
% The |BONDLIST| argument contains one |
| 2759 |
% character selected from a to k, each of which indicates the presence of |
| 2760 |
% an inner (endcyclic) double bond on the corresponding position. |
| 2761 |
% The option `A' and `B' represent aromatic circles. The option |
| 2762 |
% `$n+$' ($n=1$ to $10$) represents a plus charge on a hetero atom |
| 2763 |
% at the $n$-position. |
| 2764 |
% |
| 2765 |
% \begin{verbatim} |
| 2766 |
% BONDLIST: list of bonds |
| 2767 |
% |
| 2768 |
% none or r : decahetero (right-handed) |
| 2769 |
% l : decahetero (left-handed) |
| 2770 |
% [] : fully saturated form |
| 2771 |
% a : 1,2-double bond b : 2,3-double bond |
| 2772 |
% c : 4,3-double bond d : 4,4a-double bond |
| 2773 |
% e : 4a,5-double bond f : 5,6-double bond |
| 2774 |
% g : 6,7-double bond h : 7,8-double bond |
| 2775 |
% i : 8,8a-double bond j : 1,8a-double bond |
| 2776 |
% k : 4a,8a-double bond |
| 2777 |
% A : aromatic circle B : aromatic circle |
| 2778 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 10) |
| 2779 |
% \end{verbatim} |
| 2780 |
% |
| 2781 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 2782 |
% which are separated from each other by a semicolon. Each heteroatom |
| 2783 |
% descriptor consists of a locant number and a heteroatom, |
| 2784 |
% where these are separated with a double equality symbol. |
| 2785 |
% |
| 2786 |
% \begin{verbatim} |
| 2787 |
% ATOMLIST: list of heteroatoms (max 10 atoms) |
| 2788 |
% |
| 2789 |
% for n = 1 to 8 |
| 2790 |
% |
| 2791 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 2792 |
% e.g. 1==N for N at 1-position |
| 2793 |
% na : Hetero atom at 4a or 8b (n=4 or 8) |
| 2794 |
% e.g. 4a==N (or 9==N) for N at 4a-position |
| 2795 |
% 8a==N (or {{10}}==N) for N at 8a-position |
| 2796 |
% \end{verbatim} |
| 2797 |
% |
| 2798 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 2799 |
% which are separated from each other by a semicolon. Each substitution |
| 2800 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 2801 |
% where these are separated with a double equality symbol. |
| 2802 |
% |
| 2803 |
% \begin{verbatim} |
| 2804 |
% SUBSLIST: list of substituents |
| 2805 |
% |
| 2806 |
% for n = 1 to 8 |
| 2807 |
% |
| 2808 |
% nD : exocyclic double bond at n-atom |
| 2809 |
% n or nS : exocyclic single bond at n-atom |
| 2810 |
% nA : alpha single bond at n-atom |
| 2811 |
% nB : beta single bond at n-atom |
| 2812 |
% nSA : alpha single bond at n-atom (boldface) |
| 2813 |
% nSB : beta single bond at n-atom (dotted line) |
| 2814 |
% nSa : alpha (not specified) single bond at n-atom |
| 2815 |
% nSb : beta (not specified) single bond at n-atom |
| 2816 |
% |
| 2817 |
% nSd : alpha single bond at n-atom (dotted line) |
| 2818 |
% with an alternative direction to nSA |
| 2819 |
% nSu : beta single bond at n-atom (boldface) |
| 2820 |
% with an alternative direction to nSB |
| 2821 |
% nFA : alpha single bond at n-atom (dotted line) |
| 2822 |
% for ring fusion |
| 2823 |
% nFB : beta single bond at n-atom (boldface) |
| 2824 |
% for ring fusion |
| 2825 |
% nGA : alpha single bond at n-atom (dotted line) |
| 2826 |
% for the other ring fusion |
| 2827 |
% nGB : beta single bond at n-atom (boldface) |
| 2828 |
% for the other ring fusion |
| 2829 |
% |
| 2830 |
% for 9 (4a position) and 10 (8a position) |
| 2831 |
% |
| 2832 |
% nD : exocyclic double bond at n-atom |
| 2833 |
% n or nS : exocyclic single bond at n-atom |
| 2834 |
% nA : alpha single bond at n-atom |
| 2835 |
% nB : beta single bond at n-atom |
| 2836 |
% \end{verbatim} |
| 2837 |
% |
| 2838 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 2839 |
% The omitted edges may be regarded as both fused and non-fused |
| 2840 |
% positions. |
| 2841 |
% |
| 2842 |
% \begin{verbatim} |
| 2843 |
% OMIT: one or more bonds omitted (a to k: see BONDLIST) |
| 2844 |
% \end{verbatim} |
| 2845 |
% |
| 2846 |
% Several examples are shown as follows. |
| 2847 |
% \begin{verbatim} |
| 2848 |
% e.g. |
| 2849 |
% |
| 2850 |
% \decaheterov{1==N}{1==Cl;2==F} |
| 2851 |
% \decaheterov[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 2852 |
% \decaheterov[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 2853 |
% \end{verbatim} |
| 2854 |
% |
| 2855 |
% The definition of |\decaheterov| uses a picture environment and |
| 2856 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 2857 |
% \begin{enumerate} |
| 2858 |
% \item treatment of atom list, |
| 2859 |
% \item placing outer skeletons, |
| 2860 |
% \item placing inner double bonds, |
| 2861 |
% \item setting hetero atoms, and |
| 2862 |
% \item placing substituents by using |\setsixringv| several times. |
| 2863 |
% \end{enumerate} |
| 2864 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 2865 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 2866 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 2867 |
% \changes{v2.00}{1998/12/25}{Spiro rings and fused rings |
| 2868 |
% \cs{test@vertix@sixv}, \cs{test@vertix@decav}, etc.} |
| 2869 |
% \changes{v4.03b}{2006/9/5}{bug fix \cs{ggg} to \cs{gggA} etc. in \cs{test@vertix@sixv}} |
| 2870 |
% |
| 2871 |
% \begin{macro}{\decaheterov} |
| 2872 |
% \begin{macro}{\@deca@heterov} |
| 2873 |
% \begin{macro}{\@deca@@heterov} |
| 2874 |
% \begin{macro}{\@decaheterov} |
| 2875 |
% \begin{macrocode} |
| 2876 |
\def\decaheterov{\@ifnextchar({\@deca@heterov(@}{\@deca@heterov(@)}} |
| 2877 |
\def\@deca@heterov(#1){\@ifnextchar[{\@deca@@heterov(#1)[@}% |
| 2878 |
{\@deca@@heterov(#1)[@]}} |
| 2879 |
\def\@deca@@heterov(#1)[#2]#3#4{\@ifnextchar[% |
| 2880 |
{\@decaheterov(#1)[#2]{#3}{#4}[@}% |
| 2881 |
{\@decaheterov(#1)[#2]{#3}{#4}[@]}}% |
| 2882 |
\def\@decaheterov(#1)[#2]#3#4[#5]{% |
| 2883 |
% \end{macrocode} |
| 2884 |
% |
| 2885 |
% \begin{macrocode} |
| 2886 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2887 |
% % treatment of atom list % |
| 2888 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2889 |
\iniflag\iniatom% |
| 2890 |
\test@vertix@sixv{#3}{a}{b}{c}{d}{e}{f}% |
| 2891 |
\test@vertix@decav{#3}{g}{h}{i}{j}{@}{@}% |
| 2892 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 2893 |
% % adjustment for (yl) % |
| 2894 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 2895 |
\@reset@ylsw% |
| 2896 |
\ylhetposition{#4}{0}{0}{5}{0}% %substituents on 1 to 4 |
| 2897 |
\if@ylsw \ifx\@@ylii\empty |
| 2898 |
\def\@@ylii{-342}\def\@@yli{0}\fi |
| 2899 |
\else |
| 2900 |
\ylhetposition{#4}{-1}{3}{7}{0}% %substituents on 5 to 7 |
| 2901 |
\fi |
| 2902 |
\if@ylsw \ifx\@@ylii\empty |
| 2903 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 2904 |
\else |
| 2905 |
\ylhetposition{#4}{-7}{0}{2}{0}% %substituent on 8 |
| 2906 |
\fi |
| 2907 |
\if@ylsw \ifx\@@ylii\empty |
| 2908 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 2909 |
\else |
| 2910 |
{% |
| 2911 |
\clipdetection% |
| 2912 |
\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 2913 |
\ylatombondposition{#4}{-8}{7}% %9 %for 4a position |
| 2914 |
}% |
| 2915 |
\fi |
| 2916 |
\if@ylsw \ifx\@@ylii\empty |
| 2917 |
\def\@@ylii{-171}\def\@@yli{-103}\fi |
| 2918 |
\else |
| 2919 |
{% |
| 2920 |
\clipdetection% |
| 2921 |
\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 2922 |
\ylatombondposition{#4}{-9}{1}% %10 for 8a position |
| 2923 |
}% |
| 2924 |
\fi |
| 2925 |
\if@ylsw \ifx\@@ylii\empty |
| 2926 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 2927 |
\fi |
| 2928 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 2929 |
(1200,880)(-\shiftii,-\shifti){decaheterov}%2002/4/30 by S. Fujita |
| 2930 |
% \end{macrocode} |
| 2931 |
% |
| 2932 |
% \begin{macrocode} |
| 2933 |
% %%%%%%%%%%%%%%%%%% |
| 2934 |
% % outer skeleton % |
| 2935 |
% %%%%%%%%%%%%%%%%%% |
| 2936 |
\begingroup |
| 2937 |
\resetbdsw% |
| 2938 |
\@bond@@omit{#5}% |
| 2939 |
{\let\fff=\jjj \let\eee=\iii% |
| 2940 |
\Put@Direct(342,0){\set@skel@bond{#1}{a}{a}}% |
| 2941 |
% bond between 1 and 2 \@aaa -> \skbonda etc |
| 2942 |
\Put@Direct(342,0){\set@skel@bond{#1}{b}{b}}% |
| 2943 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 2944 |
\Put@Direct(342,0){\set@skel@bond{#1}{c}{c}}% |
| 2945 |
% bond between 3 and 4 \@ccc -> \skbondc etc |
| 2946 |
\Put@Direct(342,0){\set@skel@bond{#1}{d}{d}}% |
| 2947 |
% bond between 4 and 4a \@ddd -> \skbondd etc |
| 2948 |
\Put@Direct(342,0){\set@skel@bond{#1}{k}{e}}% |
| 2949 |
% bond between 4a and 8a \@kkk -> \skbonde etc |
| 2950 |
\Put@Direct(342,0){\set@skel@bond{#1}{j}{f}}% |
| 2951 |
% bond between 8a and 1 \@jjj -> \skbondf etc |
| 2952 |
}% |
| 2953 |
{\let\aaa=\hhh \let\ddd=\eee \let\eee=\fff \let\fff=\gggA% |
| 2954 |
\let\ccc=\iii \let\bbb=\jjj% |
| 2955 |
\set@skel@bond{#1}{i}{a}% bond between 8 and 8a \@iii -> \skbonda etc |
| 2956 |
\set@skel@bond{#1}{e}{c}% bond between 5 and 4a \@eee -> \skbondc etc |
| 2957 |
\set@skel@bond{#1}{f}{d}% bond between 5 and 6 \@fff -> \skbondd etc |
| 2958 |
\set@skel@bond{#1}{g}{e}% bond between 6 and 7 \@ggg -> \skbonde etc |
| 2959 |
\set@skel@bond{#1}{h}{f}% bond between 7 and 8 \@hhh -> \skbondf etc |
| 2960 |
}% |
| 2961 |
\endgroup |
| 2962 |
% \end{macrocode} |
| 2963 |
% |
| 2964 |
% \begin{macrocode} |
| 2965 |
% %%%%%%%%%%%%%%%%%%%%% |
| 2966 |
% % inner double bond % |
| 2967 |
% %%%%%%%%%%%%%%%%%%%%% |
| 2968 |
\@tfor\member:=#2\do{% |
| 2969 |
\if\member r\relax% |
| 2970 |
{\let\fff=\jjj \let\eee=\iii% |
| 2971 |
\Put@Direct(342,0){\bonda}% bond between 1 and 2 |
| 2972 |
\Put@Direct(342,0){\bondc}% bond between 3 and 4 |
| 2973 |
}% |
| 2974 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA% |
| 2975 |
\let\ccc=\iii\let\bbb=\jjj% |
| 2976 |
\Put@Direct(0,0){\bondb}% bond between 8a and 4a |
| 2977 |
\Put@Direct(0,0){\bondf}% bond between 8 and 7 |
| 2978 |
\Put@Direct(0,0){\bondd}% bond between 5 and 6 |
| 2979 |
}% |
| 2980 |
\else\if\member l\relax% |
| 2981 |
\else\if\member a\relax% |
| 2982 |
\Put@Direct(342,0){\bonda}% bond between 1 and 2 |
| 2983 |
\else\if\member b\relax |
| 2984 |
\Put@Direct(342,0){\bondb}% bond between 2 and 3 |
| 2985 |
\else\if\member c\relax |
| 2986 |
\Put@Direct(342,0){\bondc}% bond between 3 and 4 |
| 2987 |
\else\if\member d\relax% |
| 2988 |
{\let\eee=\iii% |
| 2989 |
\Put@Direct(342,0){\bondd}% bond between 4 and 4a |
| 2990 |
}% |
| 2991 |
\else\if\member e\relax% |
| 2992 |
{\let\ccc=\iii \let\ddd=\eee% |
| 2993 |
\Put@Direct(0,0){\bondc}% bond between 5 and 4a |
| 2994 |
}% |
| 2995 |
\else\if\member f\relax% |
| 2996 |
{\let\ddd=\eee \let\eee=\fff% |
| 2997 |
\Put@Direct(0,0){\bondd}% bond between 5 and 6 |
| 2998 |
}% |
| 2999 |
\else\if\member g\relax% |
| 3000 |
{\let\eee=\fff \let\fff=\gggA% |
| 3001 |
\Put@Direct(0,0){\bonde}% bond between 6 and 7 |
| 3002 |
}% |
| 3003 |
\else\if\member h\relax% |
| 3004 |
{\let\aaa=\hhh \let\fff=\gggA% |
| 3005 |
\Put@Direct(0,0){\bondf}% bond between 8 and 7 |
| 3006 |
}% |
| 3007 |
\else\if\member i\relax% |
| 3008 |
{\let\aaa=\hhh \let\bbb=\jjj% |
| 3009 |
\Put@Direct(0,0){\bonda}% bond between 8 and 8a |
| 3010 |
}% |
| 3011 |
\else\if\member j\relax% |
| 3012 |
{\let\fff=\jjj% |
| 3013 |
\Put@Direct(342,0){\bondf}% bond between 1 and 8a |
| 3014 |
}% |
| 3015 |
\else\if\member k\relax% |
| 3016 |
{\let\ccc=\iii\let\bbb=\jjj% |
| 3017 |
\Put@Direct(0,0){\bondb}% bond between 8a and 4a |
| 3018 |
}% |
| 3019 |
\else\if\member K\relax% |
| 3020 |
{\let\eee=\iii\let\fff=\jjj% |
| 3021 |
\Put@Direct(342,0){\bonde}% bond between 8a and 4a in the other ring |
| 3022 |
}% |
| 3023 |
\else\if\member A%left aromatic circle |
| 3024 |
\Put@oCircle(0,203){240}% %circle |
| 3025 |
\else\if\member B%left aromatic circle |
| 3026 |
\Put@oCircle(342,203){240}% %circle |
| 3027 |
\else |
| 3028 |
\expandafter\twoCH@@R\member//% |
| 3029 |
\def\aax{8a}\def\aay{4a}\def\aaz{10}% |
| 3030 |
\if\@@tmpa 1\relax% % plus charge etc. |
| 3031 |
\putratom{304}{282}{\@@tmpb}% % right type |
| 3032 |
\else\if\@@tmpa 2\relax% |
| 3033 |
\putratom{402}{253}{\@@tmpb}% % right type |
| 3034 |
\else\if\@@tmpa 3\relax% |
| 3035 |
\putratom{402}{120}{\@@tmpb}% % right type |
| 3036 |
\else\if\@@tmpa 4\relax% |
| 3037 |
\putratom{304}{68}{\@@tmpb}% % right type |
| 3038 |
\else\if\@@tmpa 5\relax% |
| 3039 |
\putratom{-38}{68}{\@@tmpb}% % right type |
| 3040 |
\else\if\@@tmpa 6\relax% |
| 3041 |
\putlatom{-60}{253}{\@@tmpb}% % left type |
| 3042 |
\else\if\@@tmpa 7\relax% |
| 3043 |
\putlatom{-60}{120}{\@@tmpb}% % left type |
| 3044 |
\else\if\@@tmpa 8\relax% |
| 3045 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 3046 |
\else\if\@@tmpa 9\relax% |
| 3047 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 3048 |
% \else\if\@@tmpa 10\relax% |
| 3049 |
\else\ifx\@@tmpa\aaz\relax%1998/10/17 |
| 3050 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 3051 |
\else\ifx\@@tmpa\aax\relax% |
| 3052 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 3053 |
\else\ifx\@@tmpa\aay\relax% |
| 3054 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 3055 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 3056 |
% *********************** |
| 3057 |
% * setting fused rings * |
| 3058 |
% *********************** |
| 3059 |
\expandafter\twoCH@R\member//% |
| 3060 |
\set@fusion@decav |
| 3061 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 3062 |
\fi\fi\fi\fi\fi\fi% |
| 3063 |
}% |
| 3064 |
% \end{macrocode} |
| 3065 |
% |
| 3066 |
% \changes{v2.00a}{2000/11/11}{The |
| 3067 |
% \cs{iniflag} command is added to 5- and 8-substitution.} |
| 3068 |
% \changes{v2.01}{2001/6/20}{The \cs{storeclipinfo} command is added.} |
| 3069 |
% \changes{v4.03b}{2006/9/5}{The \cs{storeclipinfo} command, bugfixed} |
| 3070 |
% |
| 3071 |
% \begin{macrocode} |
| 3072 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3073 |
% % setting hetero atoms and spiro rings % |
| 3074 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3075 |
\iniflag |
| 3076 |
\Put@Direct(342,0){\set@hetatom@sixv{#3}{0}{0}{5}{0}% |
| 3077 |
% \if@aclip \global\@acliptrue\fi |
| 3078 |
% \if@bclip \global\@bcliptrue\fi |
| 3079 |
% \if@cclip \global\@ccliptrue\fi |
| 3080 |
% \if@clip \global\@cliptrue\fi |
| 3081 |
\storeclipinfo%2001/06/20 |
| 3082 |
}% %substituents on 1 to 4 |
| 3083 |
{% |
| 3084 |
%\developclipinfo%2001/06/20 %2006/9/5deleted |
| 3085 |
\Put@Direct(0,0){\iniflag%2000/11/11 by S. Fujita |
| 3086 |
\set@hetatom@sixv{#3}{-1}{3}{7}{0}% |
| 3087 |
% \@gclipfalse \if@fclip \global\@gcliptrue \fi% |
| 3088 |
% \@fclipfalse \if@eclip \global\@fcliptrue \fi% |
| 3089 |
% \@eclipfalse \if@clip \global\@ecliptrue \fi |
| 3090 |
% |
| 3091 |
\@gclipfalse \if@fclip \@gcliptrue \fi% |
| 3092 |
\@fclipfalse \if@eclip \@fcliptrue \fi% |
| 3093 |
\@eclipfalse \if@clip \@ecliptrue \fi |
| 3094 |
\@clipfalse%2006/9/5added |
| 3095 |
% |
| 3096 |
\storeclipinfo%2001/06/20 |
| 3097 |
}%substituents on 5 to 7 |
| 3098 |
}{% |
| 3099 |
%\developclipinfo%2001/06/20 2006/9/5deleted |
| 3100 |
\Put@Direct(0,0){\iniflag%2000/11/11 by S. Fujita |
| 3101 |
\set@hetatom@sixv{#3}{-7}{0}{2}{0}% |
| 3102 |
%% \@hclipfalse \if@aclip \global\@hcliptrue \fi |
| 3103 |
\@hclipfalse \if@aclip \@hcliptrue \fi |
| 3104 |
\@aclipfalse%2006/9/5added |
| 3105 |
\storeclipinfo%%2001/06/20 |
| 3106 |
%%====\clipinfo====%%%2006/9/5test |
| 3107 |
}%%substituent on 8 |
| 3108 |
}{% |
| 3109 |
%\developclipinfo%%2001/06/20 2006/9/5deleted |
| 3110 |
\Put@Direct(0,0){\set@vrtx@fuse{#3}% |
| 3111 |
% \if@iclip \global\@icliptrue \fi |
| 3112 |
% \if@jclip \global\@jcliptrue \fi |
| 3113 |
\storeclipinfo%%2001/06/20 |
| 3114 |
}% fused positions |
| 3115 |
}% |
| 3116 |
%====\clipinfo====%%2006/9/5test |
| 3117 |
\developclipinfo%%2001/06/20 |
| 3118 |
% \end{macrocode} |
| 3119 |
% |
| 3120 |
% \begin{macrocode} |
| 3121 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3122 |
% % setting substituents and exocyclic bonds % |
| 3123 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3124 |
\global\drawsamesubsttrue%2002/05/30 warning on |
| 3125 |
{%2006/9/5bugfix |
| 3126 |
\Put@Direct(342,0){\setsixringv{#4}{0}{0}{5}{0}}% %substituents on 1 to 4 |
| 3127 |
}% |
| 3128 |
\global\drawsamesubstfalse%2002/05/30 warning off |
| 3129 |
{% |
| 3130 |
\@clipfalse \if@eclip \@cliptrue \fi% %substituents on 5 to 7 |
| 3131 |
\@eclipfalse \if@fclip \@ecliptrue \fi% |
| 3132 |
\@fclipfalse \if@gclip \@fcliptrue \fi% |
| 3133 |
\Put@Direct(0,0){\setsixringv{#4}{-1}{3}{7}{0}}% |
| 3134 |
}% |
| 3135 |
{\@aclipfalse \if@hclip \@acliptrue \fi% %substituent on 8 |
| 3136 |
\Put@Direct(0,0){\setsixringv{#4}{-7}{0}{2}{0}}% |
| 3137 |
}% |
| 3138 |
{\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 3139 |
\Put@Direct(171,103){\setatombond{#4}{-8}{7}}% %9 %for 4a position |
| 3140 |
}% |
| 3141 |
{\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 3142 |
\Put@Direct(171,303){\setatombond{#4}{-9}{1}}% %10 for 8a position |
| 3143 |
}% |
| 3144 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \decaheterov macro |
| 3145 |
% \end{macrocode} |
| 3146 |
% \end{macro} |
| 3147 |
% \end{macro} |
| 3148 |
% \end{macro} |
| 3149 |
% \end{macro} |
| 3150 |
% |
| 3151 |
% The |\clipdetection| command is used for the detection of |
| 3152 |
% clippings for a six-six ring. In particular, the clippings |
| 3153 |
% at the fused positions are detected in the |\decaheterov| command, |
| 3154 |
% where the data are applied to the command |
| 3155 |
% |\ylatombondposition| (chemstr.dtx). |
| 3156 |
% \changes{v1.02}{1998/10/16}{Newly added command} |
| 3157 |
% \changes{v2.01}{2001/6/20}{The |
| 3158 |
% \cs{storeclipinfo} command is added.} |
| 3159 |
% |
| 3160 |
% \begin{macro}{\clipdetection} |
| 3161 |
% \begin{macrocode} |
| 3162 |
\def\clipdetection{% |
| 3163 |
% hetero atom on 1 |
| 3164 |
\ifx\aaa\empty\else% |
| 3165 |
\@acliptrue% |
| 3166 |
\fi% |
| 3167 |
% hetero atom on 2 |
| 3168 |
\ifx\bbb\empty\else% |
| 3169 |
\@bcliptrue% |
| 3170 |
\fi% |
| 3171 |
% hetero atom on 3 |
| 3172 |
\ifx\ccc\empty\else% |
| 3173 |
\@ccliptrue% |
| 3174 |
\fi% |
| 3175 |
% hetero atom on 4 |
| 3176 |
\ifx\ddd\empty\else% |
| 3177 |
\@cliptrue% |
| 3178 |
\fi% |
| 3179 |
% hetero atom on 4a |
| 3180 |
{\let\eee=\iii% |
| 3181 |
\ifx\eee\empty\else% |
| 3182 |
% \global\@icliptrue% |
| 3183 |
\@icliptrue% |
| 3184 |
\storeclipinfo%2001/06/20 |
| 3185 |
\fi% |
| 3186 |
}% |
| 3187 |
\developclipinfo%2001/06/20 |
| 3188 |
% hetero atom on 8a |
| 3189 |
{\let\fff=\jjj% |
| 3190 |
\ifx\fff\empty\else% |
| 3191 |
% \global\@jcliptrue% |
| 3192 |
\@jcliptrue% |
| 3193 |
\storeclipinfo%2001/06/20 |
| 3194 |
\fi% |
| 3195 |
}% |
| 3196 |
\developclipinfo%2001/06/20 |
| 3197 |
% hetero atom on 5 |
| 3198 |
{\let\ddd=\eee% |
| 3199 |
\ifx\ddd\empty\else |
| 3200 |
% \global\@ecliptrue% |
| 3201 |
\@ecliptrue% |
| 3202 |
\storeclipinfo%2001/06/20 |
| 3203 |
\fi% |
| 3204 |
}% |
| 3205 |
\developclipinfo%2001/06/20 |
| 3206 |
% hetero atom on 6 |
| 3207 |
{\let\eee=\fff% |
| 3208 |
\ifx\eee\empty\else% |
| 3209 |
% \global\@fcliptrue% |
| 3210 |
\@fcliptrue% |
| 3211 |
\storeclipinfo%2001/06/20 |
| 3212 |
\fi% |
| 3213 |
}% |
| 3214 |
\developclipinfo%2001/06/20 |
| 3215 |
% hetero atom on 7 |
| 3216 |
{\let\fff=\gggA% |
| 3217 |
\ifx\fff\empty\else% |
| 3218 |
% \global\@gcliptrue% |
| 3219 |
\@gcliptrue% |
| 3220 |
\storeclipinfo%2001/06/20 |
| 3221 |
\fi% |
| 3222 |
}% |
| 3223 |
\developclipinfo%2001/06/20 |
| 3224 |
% hetero atom on 8 |
| 3225 |
{\let\aaa=\hhh% |
| 3226 |
\ifx\aaa\empty\else% |
| 3227 |
% \global\@hcliptrue% |
| 3228 |
\@hcliptrue% |
| 3229 |
\storeclipinfo%2001/06/20 |
| 3230 |
\fi% |
| 3231 |
}% |
| 3232 |
\developclipinfo%2001/06/20 |
| 3233 |
}% end \clipdetection |
| 3234 |
% \end{macrocode} |
| 3235 |
% \end{macro} |
| 3236 |
% |
| 3237 |
% The command |\ylhetposition| is used in the |\decaheterov| command, |
| 3238 |
% giving the sift values for drawing a structure as a substituent. |
| 3239 |
% \changes{v1.02}{1998/10/16}{Newly added command} |
| 3240 |
% \changes{v5.01}{2012/03/25}{Bug fixed} |
| 3241 |
% |
| 3242 |
% \begin{macro}{\ylhetposition} |
| 3243 |
% \begin{macrocode} |
| 3244 |
\def\ylhetposition#1#2#3#4#5{% |
| 3245 |
\@@ylswfalse%%%\@reset@ylsw |
| 3246 |
\@forsemicol\member:=#1\do{% |
| 3247 |
\if@@ylsw\else% |
| 3248 |
\ifx\member\empty\else% |
| 3249 |
\expandafter\@m@mb@r\member;\relax% |
| 3250 |
\expandafter\threech@r\@membera{}{}\relax% |
| 3251 |
\ifx\@memberb\@yl\relax\@@ylswtrue\else\@@ylswfalse\fi |
| 3252 |
\if@@ylsw |
| 3253 |
\ifnum#5<0\relax% |
| 3254 |
\@tmpaa=-\@tmpa\relax \advance\@tmpaa by#2\relax% |
| 3255 |
\else\@tmpaa=\@tmpa\relax \advance\@tmpaa by#2\relax\fi |
| 3256 |
\ifnum\@tmpaa>#3\relax% |
| 3257 |
\ifnum\@tmpaa<#4\relax% |
| 3258 |
\ifcase\@tmpaa%0 omit |
| 3259 |
% \end{macrocode} |
| 3260 |
% |
| 3261 |
% The flags |\@lyatrue| etc are not used in a revised edition. |
| 3262 |
% |
| 3263 |
% \begin{macrocode} |
| 3264 |
\or |
| 3265 |
\ifx\aaa\empty |
| 3266 |
\ifx\hhh\empty% aaa and hhh are absent |
| 3267 |
\gdef\@ylii{0}\gdef\@yli{-406}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 3268 |
\else% hhh is present |
| 3269 |
\def\@ylii{0}\def\@yli{-442}\@ylswtrue%\@ylatrue% subst. on 1 |
| 3270 |
\fi |
| 3271 |
\else%aaa is present |
| 3272 |
\def\@ylii{0}\def\@yli{-442}\@ylswtrue%\@ylatrue% subst. on 1 |
| 3273 |
\fi |
| 3274 |
\or\ifx\bbb\empty |
| 3275 |
\def\@ylii{-171}\def\@yli{-303}\@ylswtrue%\@ylbtrue% subst. on 2 |
| 3276 |
% \def\@ylii{-513}\def\@yli{-303}\@ylswtrue%\@ylbtrue% subst. on 2 |
| 3277 |
\else |
| 3278 |
\def\@ylii{-213}\def\@yli{-327}\@ylswtrue%\@ylbtrue% subst. on 2 |
| 3279 |
% \def\@ylii{-555}\def\@yli{-327}\@ylswtrue%\@ylbtrue% subst. on 2 |
| 3280 |
\fi |
| 3281 |
\or\ifx\ccc\empty |
| 3282 |
\def\@ylii{-171}\def\@yli{-103}\@ylswtrue%\@ylctrue% subst. on 3 |
| 3283 |
% \def\@ylii{-513}\def\@yli{-103}\@ylswtrue%\@ylctrue% subst. on 3 |
| 3284 |
\else |
| 3285 |
\def\@ylii{-213}\def\@yli{-79}\@ylswtrue%\@ylctrue% subst. on 3 |
| 3286 |
% \def\@ylii{-555}\def\@yli{-79}\@ylswtrue%\@ylctrue% subst. on 3 |
| 3287 |
\fi |
| 3288 |
\or\ifx\ddd\empty |
| 3289 |
\ifx\eee\empty% ddd and eee are absent |
| 3290 |
\gdef\@ylii{0}\gdef\@yli{0}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 3291 |
\else% eee present |
| 3292 |
\gdef\@ylii{0}\gdef\@yli{36}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 3293 |
\fi |
| 3294 |
\else% ddd present |
| 3295 |
\gdef\@ylii{0}\gdef\@yli{36}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 3296 |
\fi |
| 3297 |
\or |
| 3298 |
\ifx\eee\empty |
| 3299 |
\ifx\iii\empty |
| 3300 |
\ifx\fff\empty% eee, iii and fff are absent |
| 3301 |
% \def\@ylii{173}\def\@yli{-103}\@ylswtrue%\@yletrue% subst. on 5 |
| 3302 |
\def\@ylii{171}\def\@yli{-103}\@ylswtrue%\@yletrue% subst. on 5 refined 2013/03/25 |
| 3303 |
\else% fff is present |
| 3304 |
\def\@ylii{213}\def\@yli{-79}\@ylswtrue%\@yletrue% subst. on 5 |
| 3305 |
\fi |
| 3306 |
% \else% iii is present; fused position => no action here |
| 3307 |
% \def\@ylii{0}\def\@yli{-36}\@ylswtrue%\@yletrue% subst. on 5 |
| 3308 |
\fi |
| 3309 |
\else% eee is present |
| 3310 |
% \def\@ylii{213}\def\@yli{-79}\@ylswtrue%\@yletrue% subst. on 5 |
| 3311 |
\def\@ylii{171}\def\@yli{-103}\@ylswtrue%\@yletrue% subst. on 5 bug fix 2013/03/25 |
| 3312 |
\fi |
| 3313 |
\or |
| 3314 |
\ifx\fff\empty |
| 3315 |
\ifx\jjj\empty |
| 3316 |
\ifx\gggA\empty% fff, jjj, and ggg are absent |
| 3317 |
% \def\@ylii{173}\def\@yli{-303}\@ylswtrue%\@ylftrue% subst. on 6 |
| 3318 |
\def\@ylii{171}\def\@yli{-303}\@ylswtrue%\@ylftrue% subst. on 6 refined 2013/03/25 |
| 3319 |
\else%ggg is present |
| 3320 |
\def\@ylii{213}\def\@yli{-327}\@ylswtrue%\@ylftrue% subst. on 6 |
| 3321 |
\fi |
| 3322 |
% \else%jjj is present; fused position => no action here |
| 3323 |
% \def\@ylii{213}\def\@yli{-327}\@ylswtrue%\@ylftrue% subst. on 6 |
| 3324 |
\fi |
| 3325 |
\else%fff is present |
| 3326 |
\def\@ylii{213}\def\@yli{-327}\@ylswtrue%\@ylftrue% subst. on 6 |
| 3327 |
\fi% |
| 3328 |
\fi%end of ifcase |
| 3329 |
\fi\fi\fi\fi\fi}}% |
| 3330 |
% \end{macrocode} |
| 3331 |
% \end{macro} |
| 3332 |
% |
| 3333 |
% \subsection{Inverse vertical type} |
| 3334 |
% |
| 3335 |
% The standard skeleton of a six-to-six fused heterocycle is selected |
| 3336 |
% to have the following locant numbers. |
| 3337 |
% |
| 3338 |
% \begin{verbatim} |
| 3339 |
% ********************************** |
| 3340 |
% * decahetero derivatives * |
| 3341 |
% * (vertical type, inverse type) * |
| 3342 |
% ********************************** |
| 3343 |
% The following numbering is adopted in this macro. |
| 3344 |
% |
| 3345 |
% 5 (9) 4 |
| 3346 |
% * 4a * |
| 3347 |
% 6 * * * * 3 |
| 3348 |
% | | | |
| 3349 |
% | | | |
| 3350 |
% 7 * * * * 2 |
| 3351 |
% * 8a * |
| 3352 |
% 8 (10)1 |
| 3353 |
% ^ |
| 3354 |
% | |
| 3355 |
% the original point |
| 3356 |
% \end{verbatim} |
| 3357 |
% |
| 3358 |
% The macro |\decaheterovi| has two arguments |ATOMLIST| and |SUBSLIST| |
| 3359 |
% as well as an optional argument |BONDLIST|. |
| 3360 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 3361 |
% treat stereochemical information or other bond situations. |
| 3362 |
% |
| 3363 |
% \begin{verbatim} |
| 3364 |
% \decaheterovi(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 3365 |
% \end{verbatim} |
| 3366 |
% |
| 3367 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 3368 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 3369 |
% character selected from bond specifiers `a' to `k' and a uppercase |
| 3370 |
% character `A' or `B'. |
| 3371 |
% |
| 3372 |
% The |BONDLIST| argument contains one |
| 3373 |
% character selected from a to k, each of which indicates the presence of |
| 3374 |
% an inner (endcyclic) double bond on the corresponding position. |
| 3375 |
% The options `A' and `B' represent aromatic circles in two rings. |
| 3376 |
% The option `$n+$' ($n=1$ to $10$) represents a plus charge on a hetero atom |
| 3377 |
% at the $n$-position. |
| 3378 |
% |
| 3379 |
% \begin{verbatim} |
| 3380 |
% BONDLIST: list of bonds |
| 3381 |
% |
| 3382 |
% none or r : decahetero (right-handed) |
| 3383 |
% l : decahetero (left-handed) |
| 3384 |
% [] : fully saturated form |
| 3385 |
% a : 1,2-double bond b : 2,3-double bond |
| 3386 |
% c : 4,3-double bond d : 4,4a-double bond |
| 3387 |
% e : 4a,5-double bond f : 5,6-double bond |
| 3388 |
% g : 6,7-double bond h : 7,8-double bond |
| 3389 |
% i : 8,8a-double bond j : 1,8a-double bond |
| 3390 |
% k : 4a,8a-double bond |
| 3391 |
% K : 4a,8a-double bond in the other ring |
| 3392 |
% A : aromatic circle B : aromatic circle |
| 3393 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 10) |
| 3394 |
% \end{verbatim} |
| 3395 |
% |
| 3396 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 3397 |
% which are separated from each other by a semicolon. Each heteroatom |
| 3398 |
% descriptor consists of a locant number and a heteroatom, |
| 3399 |
% where these are separated with a double equality symbol. |
| 3400 |
% |
| 3401 |
% \begin{verbatim} |
| 3402 |
% ATOMLIST: list of heteroatoms (max 10 atoms) |
| 3403 |
% |
| 3404 |
% for n = 1 to 8 |
| 3405 |
% |
| 3406 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 3407 |
% e.g. 1==N for N at 1-position |
| 3408 |
% na : Hetero atom at 4a or 8b (n=4 or 8) |
| 3409 |
% e.g. 4a==N (or 9==N) for N at 4a-position |
| 3410 |
% 8a==N (or {{10}}==N) for N at 8a-position |
| 3411 |
% \end{verbatim} |
| 3412 |
% |
| 3413 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 3414 |
% which are separated from each other by a semicolon. Each substitution |
| 3415 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 3416 |
% where these are separated with a double equality symbol. |
| 3417 |
% |
| 3418 |
% \begin{verbatim} |
| 3419 |
% SUBSLIST: list of substituents |
| 3420 |
% |
| 3421 |
% for n = 1 to 8 |
| 3422 |
% |
| 3423 |
% nD : exocyclic double bond at n-atom |
| 3424 |
% n or nS : exocyclic single bond at n-atom |
| 3425 |
% nA : alpha single bond at n-atom |
| 3426 |
% nB : beta single bond at n-atom |
| 3427 |
% nSA : alpha single bond at n-atom (boldface) |
| 3428 |
% nSB : beta single bond at n-atom (dotted line) |
| 3429 |
% nSa : alpha (not specified) single bond at n-atom |
| 3430 |
% nSb : beta (not specified) single bond at n-atom |
| 3431 |
% |
| 3432 |
% nSd : alpha single bond at n-atom (dotted line) |
| 3433 |
% with an alternative direction to nSA |
| 3434 |
% nSu : beta single bond at n-atom (boldface) |
| 3435 |
% with an alternative direction to nSB |
| 3436 |
% nFA : alpha single bond at n-atom (dotted line) |
| 3437 |
% for ring fusion |
| 3438 |
% nFB : beta single bond at n-atom (boldface) |
| 3439 |
% for ring fusion |
| 3440 |
% nGA : alpha single bond at n-atom (dotted line) |
| 3441 |
% for the other ring fusion |
| 3442 |
% nGB : beta single bond at n-atom (boldface) |
| 3443 |
% for the other ring fusion |
| 3444 |
% |
| 3445 |
% for 9 (4a position) and 10 (8a position) |
| 3446 |
% |
| 3447 |
% nD : exocyclic double bond at n-atom |
| 3448 |
% n or nS : exocyclic single bond at n-atom |
| 3449 |
% nA : alpha single bond at n-atom |
| 3450 |
% nB : beta single bond at n-atom |
| 3451 |
% \end{verbatim} |
| 3452 |
% |
| 3453 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 3454 |
% The omitted edges may be regarded as both fused and non-fused |
| 3455 |
% positions. |
| 3456 |
% |
| 3457 |
% \begin{verbatim} |
| 3458 |
% OMIT: one or more bonds omitted (a to k: see BONDLIST) |
| 3459 |
% \end{verbatim} |
| 3460 |
% |
| 3461 |
% Several examples are shown as follows. |
| 3462 |
% \begin{verbatim} |
| 3463 |
% e.g. |
| 3464 |
% |
| 3465 |
% \decaheterovi{1==N}{1==Cl;2==F} |
| 3466 |
% \decaheterovi[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 3467 |
% \decaheterovi[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5W==Cl;6==Cl} |
| 3468 |
% \end{verbatim} |
| 3469 |
% |
| 3470 |
% The definition of |\decaheterovi| uses a picture environment and |
| 3471 |
% consists of the same unit processes as shown in |\sixheterovi|: |
| 3472 |
% \begin{enumerate} |
| 3473 |
% \item treatment of atom list, |
| 3474 |
% \item placing outer skeletons, |
| 3475 |
% \item placing inner double bonds, |
| 3476 |
% \item setting hetero atoms, and |
| 3477 |
% \item placing substituents by using |\setsixringv| several times. |
| 3478 |
% \end{enumerate} |
| 3479 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 3480 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 3481 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 3482 |
% \changes{v2.00}{1998/12/25}{Spiro rings and fused rings: |
| 3483 |
% \cs{test@vertix@decavi}, etc.} |
| 3484 |
% \changes{v2.01}{2001/06/20}{The \cs{storeclipinfo} command, etc.} |
| 3485 |
% |
| 3486 |
% \begin{macro}{\decaheterovi} |
| 3487 |
% \begin{macro}{\@deca@heterovi} |
| 3488 |
% \begin{macro}{\@deca@@heterovi} |
| 3489 |
% \begin{macro}{\@decaheterovi} |
| 3490 |
% \begin{macrocode} |
| 3491 |
\def\decaheterovi{\@ifnextchar({\@deca@heterovi(@}{\@deca@heterovi(@)}} |
| 3492 |
\def\@deca@heterovi(#1){\@ifnextchar[{\@deca@@heterovi(#1)[@}% |
| 3493 |
{\@deca@@heterovi(#1)[@]}} |
| 3494 |
\def\@deca@@heterovi(#1)[#2]#3#4{\@ifnextchar[% |
| 3495 |
{\@decaheterovi(#1)[#2]{#3}{#4}[@}% |
| 3496 |
{\@decaheterovi(#1)[#2]{#3}{#4}[@]}} |
| 3497 |
\def\@decaheterovi(#1)[#2]#3#4[#5]{% |
| 3498 |
% \end{macrocode} |
| 3499 |
% |
| 3500 |
% \begin{macrocode} |
| 3501 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3502 |
% % treatment of atom list % |
| 3503 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3504 |
\iniflag\iniatom% |
| 3505 |
%%\test@vertix@sixv{#3}{d}{c}{b}{a}{h}{g}% |
| 3506 |
%%\test@vertix@decav{#3}{f}{e}{i}{j}{@}{@}%{i}{j} fixed |
| 3507 |
\test@vertix@decavi{#3}% |
| 3508 |
% |
| 3509 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 3510 |
% % adjustment for (yl) % |
| 3511 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 3512 |
\@reset@ylsw% |
| 3513 |
\ylhetposition{#4}{5}{0}{5}{-1}% %substituents on 1 to 4 |
| 3514 |
\if@ylsw \ifx\@@ylii\empty |
| 3515 |
\def\@@ylii{-342}\def\@@yli{0}\fi |
| 3516 |
\else |
| 3517 |
\ylhetposition{#4}{12}{3}{7}{-1}% %substituents on 6 to 8 |
| 3518 |
\fi |
| 3519 |
\if@ylsw \ifx\@@ylii\empty |
| 3520 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 3521 |
\else |
| 3522 |
\ylhetposition{#4}{-4}{0}{2}{0}% %substituent on 5 |
| 3523 |
\fi |
| 3524 |
\if@ylsw \ifx\@@ylii\empty |
| 3525 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 3526 |
\else |
| 3527 |
{% |
| 3528 |
\clipdetection% |
| 3529 |
\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 3530 |
\ylatombondposition{#4}{-9}{7}% %10 for 8a position |
| 3531 |
}% |
| 3532 |
\fi |
| 3533 |
\if@ylsw \ifx\@@ylii\empty |
| 3534 |
\def\@@ylii{-171}\def\@@yli{-103}\fi |
| 3535 |
\else |
| 3536 |
{% |
| 3537 |
\clipdetection% |
| 3538 |
\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 3539 |
\ylatombondposition{#4}{-8}{1}% %9 for 4a position |
| 3540 |
}% |
| 3541 |
\fi |
| 3542 |
\if@ylsw \ifx\@@ylii\empty |
| 3543 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 3544 |
\fi |
| 3545 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 3546 |
(1200,880)(-\shiftii,-\shifti){decaheterovi}%2002/4/30 by S. Fujita |
| 3547 |
% \end{macrocode} |
| 3548 |
% |
| 3549 |
% \begin{macrocode} |
| 3550 |
% %%%%%%%%%%%%%%%%%% |
| 3551 |
% % outer skeleton % |
| 3552 |
% %%%%%%%%%%%%%%%%%% |
| 3553 |
\begingroup |
| 3554 |
\resetbdsw% |
| 3555 |
\@bond@@omit{#5}% |
| 3556 |
{\let\fff=\jjj \let\eee=\iii% |
| 3557 |
\Put@Direct(342,0){\set@skel@bond{#1}{c}{a}}% |
| 3558 |
% bond between 1 and 2 \@aaa -> \skbonda etc |
| 3559 |
\Put@Direct(342,0){\set@skel@bond{#1}{b}{b}}% |
| 3560 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 3561 |
\Put@Direct(342,0){\set@skel@bond{#1}{a}{c}}% |
| 3562 |
% bond between 3 and 4 \@ccc -> \skbondc etc |
| 3563 |
\Put@Direct(342,0){\set@skel@bond{#1}{j}{d}}% |
| 3564 |
% bond between 4 and 4a \@ddd -> \skbondd etc |
| 3565 |
\Put@Direct(342,0){\set@skel@bond{#1}{k}{e}}% |
| 3566 |
% bond between 4a and 8a \@kkk -> \skbonde etc |
| 3567 |
\Put@Direct(342,0){\set@skel@bond{#1}{d}{f}}% |
| 3568 |
% bond between 8a and 1 \@jjj -> \skbondf etc |
| 3569 |
}% |
| 3570 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA% |
| 3571 |
\let\ccc=\iii\let\bbb=\jjj% |
| 3572 |
\set@skel@bond{#1}{e}{a}% bond between 8 and 8a \@eee -> \skbonda etc |
| 3573 |
\set@skel@bond{#1}{i}{c}% bond between 5 and 4a \@iii -> \skbondc etc |
| 3574 |
\set@skel@bond{#1}{h}{d}% bond between 5 and 6 \@hhh -> \skbondd etc |
| 3575 |
\set@skel@bond{#1}{g}{e}% bond between 6 and 7 \@ggg -> \skbonde etc |
| 3576 |
\set@skel@bond{#1}{f}{f}% bond between 7 and 8 \@fff -> \skbondf etc |
| 3577 |
}% |
| 3578 |
\endgroup |
| 3579 |
% \end{macrocode} |
| 3580 |
% |
| 3581 |
% \begin{macrocode} |
| 3582 |
% %%%%%%%%%%%%%%%%%%%%% |
| 3583 |
% % inner double bond % |
| 3584 |
% %%%%%%%%%%%%%%%%%%%%% |
| 3585 |
\@tfor\member:=#2\do{% |
| 3586 |
\if\member r\relax% |
| 3587 |
{\let\fff=\jjj \let\eee=\iii% |
| 3588 |
\Put@Direct(342,0){\bonda}% bond between 1 and 2 |
| 3589 |
\Put@Direct(342,0){\bondc}% bond between 3 and 4 |
| 3590 |
}% |
| 3591 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA% |
| 3592 |
\let\ccc=\iii\let\bbb=\jjj% |
| 3593 |
\Put@Direct(0,0){\bondb}% bond between 8a and 4a |
| 3594 |
\Put@Direct(0,0){\bondf}% bond between 8 and 7 |
| 3595 |
\Put@Direct(0,0){\bondd}% bond between 5 and 6 |
| 3596 |
}% |
| 3597 |
\else\if\member l\relax% |
| 3598 |
\else\if\member a\relax% |
| 3599 |
\Put@Direct(342,0){\bondc}% bond between 3 and 4 |
| 3600 |
\else\if\member b\relax% |
| 3601 |
\Put@Direct(342,0){\bondb}% bond between 2 and 3 |
| 3602 |
\else\if\member c\relax% |
| 3603 |
\Put@Direct(342,0){\bonda}% bond between 1 and 2 |
| 3604 |
\else\if\member d\relax% |
| 3605 |
{\let\fff=\jjj% |
| 3606 |
\Put@Direct(342,0){\bondf}% bond between 1 and 8a |
| 3607 |
}% |
| 3608 |
\else\if\member e\relax% |
| 3609 |
{\let\aaa=\hhh \let\bbb=\jjj% |
| 3610 |
\Put@Direct(0,0){\bonda}% bond between 8 and 8a |
| 3611 |
}% |
| 3612 |
\else\if\member f\relax% |
| 3613 |
{\let\aaa=\hhh \let\fff=\gggA% |
| 3614 |
\Put@Direct(0,0){\bondf}% bond between 8 and 7 |
| 3615 |
}% |
| 3616 |
\else\if\member g\relax% |
| 3617 |
{\let\eee=\fff \let\fff=\gggA% |
| 3618 |
\Put@Direct(0,0){\bonde}% bond between 6 and 7 |
| 3619 |
}% |
| 3620 |
\else\if\member h\relax% |
| 3621 |
{\let\ddd=\eee \let\eee=\fff% |
| 3622 |
\Put@Direct(0,0){\bondd}% bond between 5 and 6 |
| 3623 |
}% |
| 3624 |
\else\if\member i\relax% |
| 3625 |
{\let\ccc=\iii \let\ddd=\eee% |
| 3626 |
\Put@Direct(0,0){\bondc}% bond between 5 and 4a |
| 3627 |
}% |
| 3628 |
\else\if\member j\relax% |
| 3629 |
{\let\eee=\iii% |
| 3630 |
\Put@Direct(342,0){\bondd}% bond between 4 and 4a |
| 3631 |
}% |
| 3632 |
\else\if\member k\relax% |
| 3633 |
{\let\ccc=\iii\let\bbb=\jjj% |
| 3634 |
\Put@Direct(0,0){\bondb}% bond between 8a and 4a |
| 3635 |
}% |
| 3636 |
\else\if\member K\relax% |
| 3637 |
{\let\eee=\iii\let\fff=\jjj% |
| 3638 |
\Put@Direct(342,0){\bonde}% bond between 8a and 4a in the other ring |
| 3639 |
}% |
| 3640 |
\else\if\member A%left aromatic circle |
| 3641 |
\Put@oCircle(0,203){240}% %circle |
| 3642 |
\else\if\member B%left aromatic circle |
| 3643 |
\Put@oCircle(342,203){240}% %circle |
| 3644 |
\else |
| 3645 |
\expandafter\twoCH@@R\member//% |
| 3646 |
\def\aax{4a}\def\aay{8a}\def\aaz{10}% |
| 3647 |
\if\@@tmpa 4\relax% % plus charge etc. |
| 3648 |
\putratom{304}{282}{\@@tmpb}% % right type |
| 3649 |
\else\if\@@tmpa 3\relax% |
| 3650 |
\putratom{402}{253}{\@@tmpb}% % right type |
| 3651 |
\else\if\@@tmpa 2\relax% |
| 3652 |
\putratom{402}{120}{\@@tmpb}% % right type |
| 3653 |
\else\if\@@tmpa 1\relax% |
| 3654 |
\putratom{304}{68}{\@@tmpb}% % right type |
| 3655 |
\else\if\@@tmpa 7\relax% |
| 3656 |
\putlatom{-60}{253}{\@@tmpb}% % left type |
| 3657 |
\else\if\@@tmpa 6\relax% |
| 3658 |
\putlatom{-60}{120}{\@@tmpb}% % left type |
| 3659 |
\else\if\@@tmpa 5\relax% |
| 3660 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 3661 |
\else\if\@@tmpa 9\relax% |
| 3662 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 3663 |
\else\ifx\@@tmpa\aax\relax% |
| 3664 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 3665 |
\else\ifx\@@tmpa\aay\relax% |
| 3666 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 3667 |
\else\ifx\@@tmpa\aaz\relax% 1998/10/17 by S. Fujita |
| 3668 |
% \else\if\@@tmpa 10\relax% |
| 3669 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 3670 |
\else\if\@@tmpa 8\relax% |
| 3671 |
\putratom{-38}{68}{\@@tmpb}% % right type |
| 3672 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 3673 |
% *********************** |
| 3674 |
% * setting fused rings * |
| 3675 |
% *********************** |
| 3676 |
\expandafter\twoCH@R\member//% |
| 3677 |
\set@fusion@decavi |
| 3678 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 3679 |
\fi\fi\fi\fi\fi\fi% |
| 3680 |
}% |
| 3681 |
% \end{macrocode} |
| 3682 |
% |
| 3683 |
% \begin{macrocode} |
| 3684 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3685 |
% % setting hetero atoms and spiro rings % |
| 3686 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3687 |
\iniflag\iniatom% |
| 3688 |
\@tmpclipfalse |
| 3689 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{12}{3}{7}{-1}% |
| 3690 |
% \@gclipfalse \if@fclip \global\@gcliptrue \fi% |
| 3691 |
% \@fclipfalse \if@eclip \global\@fcliptrue \fi% |
| 3692 |
% \@eclipfalse \if@clip \global\@ecliptrue \fi% |
| 3693 |
\@gclipfalse \if@fclip \@gcliptrue \fi%%bug fix 2013/03/25 |
| 3694 |
\@fclipfalse \if@eclip \@fcliptrue \fi%%bug fix 2013/03/25 |
| 3695 |
\@eclipfalse \if@clip \@ecliptrue \@clipfalse \fi%%bug fix 2013/03/25 |
| 3696 |
\storeclipinfo |
| 3697 |
}%substituents on 6 to 8 |
| 3698 |
\developclipinfo |
| 3699 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{-4}{0}{2}{0}% |
| 3700 |
% \@aclipfalse \if@aclip \global\@hcliptrue \fi% |
| 3701 |
% \@aclipfalse \if@aclip \@hcliptrue \fi% |
| 3702 |
\@hclipfalse \if@aclip \@hcliptrue \@aclipfalse\fi%bug fix 2013/03/25 |
| 3703 |
\storeclipinfo |
| 3704 |
}%%substituent on 5 |
| 3705 |
\developclipinfo |
| 3706 |
\Put@Direct(0,0){\set@vrtx@decafusevi{#3}% |
| 3707 |
\@tmpclipfalse |
| 3708 |
% \if@iclip \global\@tmpcliptrue \fi |
| 3709 |
% \if@jclip \global\@icliptrue \fi |
| 3710 |
% \if@tmpclip \global\@jcliptrue \fi |
| 3711 |
\if@iclip \@tmpcliptrue \fi |
| 3712 |
\if@jclip \@icliptrue \fi |
| 3713 |
\if@tmpclip \@jcliptrue \fi |
| 3714 |
\storeclipinfo |
| 3715 |
}% fused positions |
| 3716 |
\developclipinfo |
| 3717 |
%to be done after all |
| 3718 |
\Put@Direct(342,0){\set@hetatom@sixv{#3}{5}{0}{5}{-1}% |
| 3719 |
% \if@aclip \global\@acliptrue\fi |
| 3720 |
% \if@bclip \global\@bcliptrue\fi |
| 3721 |
% \if@cclip \global\@ccliptrue\fi |
| 3722 |
% \if@clip \global\@cliptrue\fi |
| 3723 |
\storeclipinfo |
| 3724 |
}% %substituents on 1 to 4 |
| 3725 |
\developclipinfo |
| 3726 |
% \end{macrocode} |
| 3727 |
% |
| 3728 |
% \begin{macrocode} |
| 3729 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3730 |
% % setting substituents and exocyclic bonds % |
| 3731 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3732 |
\global\drawsamesubsttrue%2002/05/30 warning on |
| 3733 |
\Put@Direct(342,0){\setsixringv{#4}{5}{0}{5}{-1}}% %substituents on 1 to 4 |
| 3734 |
\global\drawsamesubstfalse%2002/05/30 warning off |
| 3735 |
{\@clipfalse \if@eclip \@cliptrue \fi% %substituents on 6 to 8 |
| 3736 |
\@eclipfalse \if@fclip \@ecliptrue \fi% |
| 3737 |
\@fclipfalse \if@gclip \@fcliptrue \fi% |
| 3738 |
\Put@Direct(0,0){\setsixringv{#4}{12}{3}{7}{-1}}% |
| 3739 |
}% |
| 3740 |
{\@aclipfalse \if@hclip \@acliptrue \fi% %substituent on 5 |
| 3741 |
\Put@Direct(0,0){\setsixringv{#4}{-4}{0}{2}{0}}% |
| 3742 |
}% |
| 3743 |
{\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 3744 |
\Put@Direct(171,103){\setatombond{#4}{-9}{7}}% %10 for 8a position |
| 3745 |
}% |
| 3746 |
{\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 3747 |
\Put@Direct(171,303){\setatombond{#4}{-8}{1}}% %9 for 4a position |
| 3748 |
}% |
| 3749 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \decaheterovi macro |
| 3750 |
% \end{macrocode} |
| 3751 |
% \end{macro} |
| 3752 |
% \end{macro} |
| 3753 |
% \end{macro} |
| 3754 |
% \end{macro} |
| 3755 |
% |
| 3756 |
% The macro |\test@vertix@decavi| is used to test the presence of |
| 3757 |
% a hetero atom or a spiro substituent on a vertex of the |
| 3758 |
% decaheterovi nucleus. |
| 3759 |
% |
| 3760 |
% \begin{macro}{\if@tmpclip} |
| 3761 |
% \begin{macro}{\test@vertix@decavi} |
| 3762 |
% \begin{macrocode} |
| 3763 |
\newif\if@tmpclip \@tmpclipfalse |
| 3764 |
\def\test@vertix@decavi#1{% |
| 3765 |
\@forsemicol\member:=#1\do{% |
| 3766 |
\ifx\member\empty\else% |
| 3767 |
\expandafter\@m@mb@r\member;\relax% |
| 3768 |
\expandafter\twoch@r\@membera{}% |
| 3769 |
\ifcase\@tmpa% |
| 3770 |
\or% |
| 3771 |
\if\@tmpb s\relax\def\ddd{}\else\def\ddd{@}\fi |
| 3772 |
\or%2 |
| 3773 |
\if\@tmpb s\relax\def\ccc{}\else\def\ccc{@}\fi |
| 3774 |
\or%3 |
| 3775 |
\if\@tmpb s\relax\def\bbb{}\else\def\bbb{@}\fi |
| 3776 |
\or% |
| 3777 |
\if\@tmpb a% |
| 3778 |
\def\jjj{@}%4a |
| 3779 |
\else\if\@tmpb s% |
| 3780 |
\def\aaa{}%4 |
| 3781 |
\else\if\@tmpb h% |
| 3782 |
\def\aaa{@}%4 |
| 3783 |
\else\ifx\@tmpb\empty% |
| 3784 |
\def\aaa{@}%4 |
| 3785 |
\fi\fi\fi\fi% |
| 3786 |
\or%5 |
| 3787 |
\if\@tmpb s\relax\def\hhh{}\else\def\hhh{@}\fi |
| 3788 |
\or%6 |
| 3789 |
\if\@tmpb s\relax\def\gggA{}\else\def\gggA{@}\fi |
| 3790 |
\or%7 |
| 3791 |
\if\@tmpb s\relax\def\fff{}\else\def\fff{@}\fi |
| 3792 |
\or% |
| 3793 |
\if\@tmpb a% |
| 3794 |
\xdef\iii{@}%8a |
| 3795 |
\else\if\@tmpb s% |
| 3796 |
\xdef\eee{}%8s |
| 3797 |
\else\if\@tmpb h% |
| 3798 |
\xdef\eee{@}%8h |
| 3799 |
\else\ifx\@tmpb\empty% |
| 3800 |
\xdef\eee{@}%8 |
| 3801 |
\fi\fi\fi\fi% |
| 3802 |
\or%9 (= 4a) |
| 3803 |
\if\@tmpb s\relax\def\jjj{}\else\def\jjj{@}\fi |
| 3804 |
\or%10 (= 8a) |
| 3805 |
\if\@tmpb s\relax\def\iii{}\else\def\iii{@}\fi |
| 3806 |
\fi\fi}} |
| 3807 |
% \end{macrocode} |
| 3808 |
% \end{macro} |
| 3809 |
% \end{macro} |
| 3810 |
% |
| 3811 |
% The macro |\set@vrtx@decafusevi| is used to set |
| 3812 |
% a hetero atom or on a vertex of a bridgehead location. |
| 3813 |
% |
| 3814 |
% \begin{macro}{\set@vrtx@decafusevi} |
| 3815 |
% \begin{macrocode} |
| 3816 |
\def\set@vrtx@decafusevi#1{% |
| 3817 |
\@forsemicol\member:=#1\do{% |
| 3818 |
\ifx\member\empty\else% |
| 3819 |
\expandafter\@m@mb@r\member;\relax% |
| 3820 |
\expandafter\twoch@r\@membera{}% |
| 3821 |
\ifcase\@tmpa\or\or\or |
| 3822 |
\or%%%%4 |
| 3823 |
\if\@tmpb a\relax% |
| 3824 |
% \global\@icliptrue% |
| 3825 |
\@icliptrue%2001/06/20 by S. Fujita |
| 3826 |
\putlatom{207}{280}{\@memberb}% % left type |
| 3827 |
\else\relax |
| 3828 |
\fi |
| 3829 |
\or\or\or |
| 3830 |
\or%8 |
| 3831 |
\if\@tmpb a\relax% |
| 3832 |
% \global\@jcliptrue% |
| 3833 |
\@jcliptrue%%2001/06/20 by S. Fujita |
| 3834 |
\putlatom{207}{65}{\@memberb}% % left type |
| 3835 |
\else\relax |
| 3836 |
\fi |
| 3837 |
\or%9 (= 4a) |
| 3838 |
% \global\@icliptrue% |
| 3839 |
\@icliptrue%%2001/06/20 by S. Fujita |
| 3840 |
\putlatom{207}{280}{\@memberb}% % left type |
| 3841 |
\or%10 (= 8a) |
| 3842 |
% \global\@jcliptrue% |
| 3843 |
\@jcliptrue%%2001/06/20 by S. Fujita |
| 3844 |
\putlatom{207}{65}{\@memberb}% % left type |
| 3845 |
\fi\fi}% |
| 3846 |
}% end of the macro \set@vrtx@decafusevi |
| 3847 |
% \end{macrocode} |
| 3848 |
% \end{macro} |
| 3849 |
% |
| 3850 |
% The macro |\set@fusion@decavi| is used to set |
| 3851 |
% a fused ring or on an edge of the decaheterovi nucleus. |
| 3852 |
% |
| 3853 |
% \begin{macro}{\set@fusion@decavi} |
| 3854 |
% \begin{macrocode} |
| 3855 |
\def\set@fusion@decavi{% |
| 3856 |
\let\@@tmpa=\@tmpa |
| 3857 |
\let\@@tmpb=\@tmpb |
| 3858 |
\if\@tmpa a% |
| 3859 |
\let\@@tmpa=\@tmpa |
| 3860 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3861 |
\else\if\@tmpa A% |
| 3862 |
\let\@@tmpa=\@tmpa |
| 3863 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3864 |
\else\if\@tmpa b% |
| 3865 |
\let\@@tmpa=\@tmpa |
| 3866 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3867 |
\else\if\@tmpa B% |
| 3868 |
\let\@@tmpa=\@tmpa |
| 3869 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3870 |
\else\if\@tmpa c% |
| 3871 |
\let\@@tmpa=\@tmpa |
| 3872 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3873 |
\else\if\@tmpa C% |
| 3874 |
\let\@@tmpa=\@tmpa |
| 3875 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3876 |
\else\if\@tmpa d% |
| 3877 |
\let\@@tmpa=\@tmpa |
| 3878 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3879 |
\if@smallringsw\else |
| 3880 |
\XyMTeXWarning{Unfavorable Fusion for bond `d'}% |
| 3881 |
\fi |
| 3882 |
\else\if\@tmpa D% |
| 3883 |
\let\@@tmpa=\@tmpa |
| 3884 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3885 |
\if@smallringsw\else |
| 3886 |
\XyMTeXWarning{Unfavorable Fusion for bond `D'}% |
| 3887 |
\fi |
| 3888 |
\else\if\@tmpa e% |
| 3889 |
\edef\@@tmpa{c}% |
| 3890 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3891 |
\if@smallringsw\else |
| 3892 |
\XyMTeXWarning{Unfavorable Fusion for bond `e'}% |
| 3893 |
\fi |
| 3894 |
\else\if\@tmpa E% |
| 3895 |
\edef\@@tmpa{C}% |
| 3896 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3897 |
\if@smallringsw\else |
| 3898 |
\XyMTeXWarning{Unfavorable Fusion for bond `E'}% |
| 3899 |
\fi |
| 3900 |
\else\if\@tmpa f% |
| 3901 |
\edef\@@tmpa{d}% |
| 3902 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3903 |
\else\if\@tmpa F% |
| 3904 |
\edef\@@tmpa{D}% |
| 3905 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3906 |
\else\if\@tmpa g% |
| 3907 |
\edef\@@tmpa{e}% |
| 3908 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3909 |
\else\if\@tmpa G% |
| 3910 |
\edef\@@tmpa{E}% |
| 3911 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3912 |
\else\if\@tmpa h% |
| 3913 |
\edef\@@tmpa{f}% |
| 3914 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3915 |
\else\if\@tmpa H% |
| 3916 |
\edef\@@tmpa{F}% |
| 3917 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3918 |
\else\if\@tmpa i% |
| 3919 |
\edef\@@tmpa{a}% |
| 3920 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3921 |
\if@smallringsw\else |
| 3922 |
\XyMTeXWarning{Unfavorable Fusion for bond `i'}% |
| 3923 |
\fi |
| 3924 |
\else\if\@tmpa I% |
| 3925 |
\edef\@@tmpa{A}% |
| 3926 |
\Put@Direct(0,0){\set@fusionadd@sixvi}% |
| 3927 |
\if@smallringsw\else |
| 3928 |
\XyMTeXWarning{Unfavorable Fusion for bond `I'}% |
| 3929 |
\fi |
| 3930 |
\else\if\@tmpa j% |
| 3931 |
\edef\@@tmpa{f}% |
| 3932 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3933 |
\if@smallringsw\else |
| 3934 |
\XyMTeXWarning{Unfavorable Fusion for bond `j'}% |
| 3935 |
\fi |
| 3936 |
\else\if\@tmpa J% |
| 3937 |
\edef\@@tmpa{F}% |
| 3938 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3939 |
\if@smallringsw\else |
| 3940 |
\XyMTeXWarning{Unfavorable Fusion for bond `J'}% |
| 3941 |
\fi |
| 3942 |
\else\if\@tmpa k% |
| 3943 |
\edef\@@tmpa{e}% |
| 3944 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3945 |
\if@smallringsw\else |
| 3946 |
\XyMTeXWarning{Forbidden Fusion for bond `k'}% |
| 3947 |
\fi |
| 3948 |
\else\if\@tmpa K% |
| 3949 |
\edef\@@tmpa{E}% |
| 3950 |
\Put@Direct(342,0){\set@fusionadd@sixvi}% |
| 3951 |
\if@smallringsw\else |
| 3952 |
\XyMTeXWarning{Forbidden Fusion for bond `K'}% |
| 3953 |
\fi |
| 3954 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 3955 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 3956 |
}% end of the macro \set@fusion@decavi |
| 3957 |
% \end{macrocode} |
| 3958 |
% \end{macro} |
| 3959 |
% |
| 3960 |
% \subsection{Vertical-bottom type} |
| 3961 |
% The macro |\decaheterovb| is used for drawing six-six heterocyclic |
| 3962 |
% derivatives of vertical-bottom type (numbering from the bottom |
| 3963 |
% to the left-upper part). |
| 3964 |
% The word ``vertical'' means that each benzene ring is a vertical type. |
| 3965 |
% The word ``bottom'' means that the benzene ring with young locant numbers |
| 3966 |
% is located at the bottom. |
| 3967 |
% The skeleton and endocyclic double bonds are drawn directly, |
| 3968 |
% while substituents and exocyclic bonds are placed by useing |
| 3969 |
% the inner macro |\setsixringv|. |
| 3970 |
% |
| 3971 |
% The standard skeleton of a six-to-six fused heterocycle is selected |
| 3972 |
% to have the following locant numbers. |
| 3973 |
% |
| 3974 |
% \changes{v1.02}{1998/10/16}{Newly added command} |
| 3975 |
% \changes{v2.01}{2001/06/20}{The \cs{storeclipinfo} command, etc.} |
| 3976 |
% |
| 3977 |
% \begin{verbatim} |
| 3978 |
% *************************** |
| 3979 |
% * decahetro derivatives * |
| 3980 |
% * (vertical bottom type) * |
| 3981 |
% *************************** |
| 3982 |
% The following numbering is adopted in this macro. |
| 3983 |
% |
| 3984 |
% 7 |
| 3985 |
% * |
| 3986 |
% 6 * * 8 |
| 3987 |
% | | |
| 3988 |
% | | 0G (4a) |
| 3989 |
% 5 * * * |
| 3990 |
% 0F(4a) * * 1 |
| 3991 |
% | | |
| 3992 |
% | | |
| 3993 |
% 4 * * 2 |
| 3994 |
% * |
| 3995 |
% 3 |
| 3996 |
% ^ |
| 3997 |
% | |
| 3998 |
% the original point |
| 3999 |
% \end{verbatim} |
| 4000 |
% |
| 4001 |
% The macro |\decaheterovb| has two arguments |ATOMLIST| and |SUBSLIST| |
| 4002 |
% as well as an optional argument |BONDLIST|. |
| 4003 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 4004 |
% treat stereochemical information or other bond situations. |
| 4005 |
% |
| 4006 |
% \begin{verbatim} |
| 4007 |
% \decaheterovb(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 4008 |
% \end{verbatim} |
| 4009 |
% |
| 4010 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 4011 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 4012 |
% character selected from bond specifiers `a' to `k' and a uppercase |
| 4013 |
% character `A' or `B'. |
| 4014 |
% |
| 4015 |
% The |BONDLIST| argument contains one |
| 4016 |
% character selected from a to k, each of which indicates the presence of |
| 4017 |
% an inner (endcyclic) double bond on the corresponding position. |
| 4018 |
% The option `A' and `B' represent aromatic circles. The option |
| 4019 |
% `$n+$' ($n=1$ to $10$) represents a plus charge on a hetero atom |
| 4020 |
% at the $n$-position. |
| 4021 |
% |
| 4022 |
% \begin{verbatim} |
| 4023 |
% BONDLIST: list of bonds |
| 4024 |
% |
| 4025 |
% none or r : decahetero (right-handed) |
| 4026 |
% l : decahetero (left-handed) |
| 4027 |
% [] : fully saturated form |
| 4028 |
% a : 1,2-double bond b : 2,3-double bond |
| 4029 |
% c : 4,3-double bond d : 4,4a-double bond |
| 4030 |
% e : 4a,5-double bond f : 5,6-double bond |
| 4031 |
% g : 6,7-double bond h : 7,8-double bond |
| 4032 |
% i : 8,8a-double bond j : 1,8a-double bond |
| 4033 |
% k : 4a,8a-double bond |
| 4034 |
% K : 4a,8a-double bond in the other ring |
| 4035 |
% A : aromatic circle B : aromatic circle |
| 4036 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 10) |
| 4037 |
% \end{verbatim} |
| 4038 |
% |
| 4039 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 4040 |
% which are separated from each other by a semicolon. Each heteroatom |
| 4041 |
% descriptor consists of a locant number and a heteroatom, |
| 4042 |
% where these are separated with a double equality symbol. |
| 4043 |
% |
| 4044 |
% \begin{verbatim} |
| 4045 |
% ATOMLIST: list of heteroatoms (max 10 atoms) |
| 4046 |
% |
| 4047 |
% for n = 1 to 8 |
| 4048 |
% |
| 4049 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 4050 |
% e.g. 1==N for N at 1-position |
| 4051 |
% na : Hetero atom at 4a or 8b (n=4 or 8) |
| 4052 |
% e.g. 4a==N (or 9==N) for N at 4a-position |
| 4053 |
% 8a==N (or {{10}}==N) for N at 8a-position |
| 4054 |
% \end{verbatim} |
| 4055 |
% |
| 4056 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 4057 |
% which are separated from each other by a semicolon. Each substitution |
| 4058 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 4059 |
% where these are separated with a double equality symbol. |
| 4060 |
% |
| 4061 |
% \begin{verbatim} |
| 4062 |
% SUBSLIST: list of substituents |
| 4063 |
% |
| 4064 |
% for n = 1 to 8 |
| 4065 |
% |
| 4066 |
% nD : exocyclic double bond at n-atom |
| 4067 |
% n or nS : exocyclic single bond at n-atom |
| 4068 |
% nA : alpha single bond at n-atom |
| 4069 |
% nB : beta single bond at n-atom |
| 4070 |
% nSA : alpha single bond at n-atom (boldface) |
| 4071 |
% nSB : beta single bond at n-atom (dotted line) |
| 4072 |
% nSa : alpha (not specified) single bond at n-atom |
| 4073 |
% nSb : beta (not specified) single bond at n-atom |
| 4074 |
% |
| 4075 |
% nSd : alpha single bond at n-atom (dotted line) |
| 4076 |
% with an alternative direction to nSA |
| 4077 |
% nSu : beta single bond at n-atom (boldface) |
| 4078 |
% with an alternative direction to nSB |
| 4079 |
% nFA : alpha single bond at n-atom (dotted line) |
| 4080 |
% for ring fusion |
| 4081 |
% nFB : beta single bond at n-atom (boldface) |
| 4082 |
% for ring fusion |
| 4083 |
% nGA : alpha single bond at n-atom (dotted line) |
| 4084 |
% for the other ring fusion |
| 4085 |
% nGB : beta single bond at n-atom (boldface) |
| 4086 |
% for the other ring fusion |
| 4087 |
% |
| 4088 |
% for 9 (4a position) and 10 (8a position) |
| 4089 |
% |
| 4090 |
% nD : exocyclic double bond at n-atom |
| 4091 |
% n or nS : exocyclic single bond at n-atom |
| 4092 |
% nA : alpha single bond at n-atom |
| 4093 |
% nB : beta single bond at n-atom |
| 4094 |
% \end{verbatim} |
| 4095 |
% |
| 4096 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 4097 |
% The omitted edges may be regarded as both fused and non-fused |
| 4098 |
% positions. |
| 4099 |
% |
| 4100 |
% \begin{verbatim} |
| 4101 |
% OMIT: one or more bonds omitted (a to k: see BONDLIST) |
| 4102 |
% \end{verbatim} |
| 4103 |
% |
| 4104 |
% Several examples are shown as follows. |
| 4105 |
% \begin{verbatim} |
| 4106 |
% e.g. |
| 4107 |
% |
| 4108 |
% \decaheterovb{1==N}{1==Cl;2==F} |
| 4109 |
% \decaheterovb[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 4110 |
% \decaheterovb[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 4111 |
% \end{verbatim} |
| 4112 |
% |
| 4113 |
% The definition of |\decaheterovb| uses a picture environment and |
| 4114 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 4115 |
% \begin{enumerate} |
| 4116 |
% \item treatment of atom list, |
| 4117 |
% \item placing outer skeletons, |
| 4118 |
% \item placing inner double bonds, |
| 4119 |
% \item setting hetero atoms, and |
| 4120 |
% \item placing substituents by using |\setsixringv| several times. |
| 4121 |
% \end{enumerate} |
| 4122 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 4123 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 4124 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 4125 |
% \changes{v2.00}{1998/12/25}{Spiro rings and fused rings} |
| 4126 |
% |
| 4127 |
% \begin{macro}{\decaheterovb} |
| 4128 |
% \begin{macro}{\@deca@heterovb} |
| 4129 |
% \begin{macro}{\@deca@@heterovb} |
| 4130 |
% \begin{macro}{\@decaheterovb} |
| 4131 |
% \begin{macrocode} |
| 4132 |
\def\decaheterovb{\@ifnextchar({\@deca@heterovb(@}{\@deca@heterovb(@)}} |
| 4133 |
\def\@deca@heterovb(#1){\@ifnextchar[{\@deca@@heterovb(#1)[@}% |
| 4134 |
{\@deca@@heterovb(#1)[@]}} |
| 4135 |
\def\@deca@@heterovb(#1)[#2]#3#4{\@ifnextchar[% |
| 4136 |
{\@decaheterovb(#1)[#2]{#3}{#4}[@}% |
| 4137 |
{\@decaheterovb(#1)[#2]{#3}{#4}[@]}} |
| 4138 |
\def\@decaheterovb(#1)[#2]#3#4[#5]{% |
| 4139 |
% \end{macrocode} |
| 4140 |
% |
| 4141 |
% \begin{macrocode} |
| 4142 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4143 |
% % treatment of atom list % |
| 4144 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4145 |
\iniflag\iniatom% |
| 4146 |
\test@vertix@decavb{#3}% |
| 4147 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 4148 |
% % adjustment for (yl) % |
| 4149 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 4150 |
\@reset@ylsw% |
| 4151 |
{\let\eee=\ddd\let\ddd=\ccc |
| 4152 |
\let\ccc=\bbb\let\bbb=\aaa |
| 4153 |
\ylhetpositionb{#4}{1}{1}{6}{0}% %substituents on 1 to 4 |
| 4154 |
}% |
| 4155 |
\if@ylsw \ifx\@@ylii\empty |
| 4156 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 4157 |
\else |
| 4158 |
\ylhetpositionb{#4}{0}{4}{7}{0}% %substituents on 5 to 6 |
| 4159 |
\fi |
| 4160 |
\if@ylsw \ifx\@@ylii\empty |
| 4161 |
\def\@@ylii{171}\def\@@yli{-303}\fi |
| 4162 |
\else |
| 4163 |
{\let\aaa=\gggA \let\bbb=\hhh |
| 4164 |
\ylhetpositionb{#4}{-6}{0}{3}{0}% %substituents on 7 to 8 |
| 4165 |
}% |
| 4166 |
\fi |
| 4167 |
\if@ylsw \ifx\@@ylii\empty |
| 4168 |
\def\@@ylii{171}\def\@@yli{-303}\fi |
| 4169 |
\else |
| 4170 |
{% |
| 4171 |
\clipdetection% |
| 4172 |
\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 4173 |
\ylatombondposition{#4}{-8}{9}% %9 %for 4a position |
| 4174 |
}% |
| 4175 |
\fi |
| 4176 |
\if@ylsw \ifx\@@ylii\empty |
| 4177 |
\def\@@ylii{171}\def\@@yli{-303}\fi |
| 4178 |
\else |
| 4179 |
{% |
| 4180 |
\clipdetection% |
| 4181 |
\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 4182 |
\ylatombondposition{#4}{-9}{3}% %10 for 8a position |
| 4183 |
}% |
| 4184 |
\fi |
| 4185 |
\if@ylsw \ifx\@@ylii\empty |
| 4186 |
\def\@@ylii{0}\def\@@yli{-406}\fi |
| 4187 |
\fi |
| 4188 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 4189 |
(1000,1200)(-550,-240){decaheterob}%2002/4/30 by S. Fujita |
| 4190 |
% \end{macrocode} |
| 4191 |
% |
| 4192 |
% \begin{macrocode} |
| 4193 |
% %%%%%%%%%%%%%%%%%% |
| 4194 |
% % outer skeleton % |
| 4195 |
% %%%%%%%%%%%%%%%%%% |
| 4196 |
\begingroup |
| 4197 |
\resetbdsw% |
| 4198 |
\@bond@@omit{#5}% |
| 4199 |
{\let\eee=\ddd\let\ddd=\ccc |
| 4200 |
\let\ccc=\bbb\let\bbb=\aaa |
| 4201 |
\let\aaa=\jjj \let\fff=\iii |
| 4202 |
\set@skel@bond{#1}{j}{a}% bond between 8a and 1 \@jjj -> \skbonda etc |
| 4203 |
\set@skel@bond{#1}{a}{b}% bond between 1 and 2 \@aaa -> \skbondb etc |
| 4204 |
\set@skel@bond{#1}{b}{c}% bond between 2 and 3 \@bbb -> \skbondc etc |
| 4205 |
\set@skel@bond{#1}{c}{d}% bond between 3 and 4 \@ccc -> \skbondd etc |
| 4206 |
\set@skel@bond{#1}{d}{e}% bond between 4 and 4a \@ddd -> \skbonde etc |
| 4207 |
\set@skel@bond{#1}{k}{f}% bond between 4a and 8a \@kkk -> \skbondf etc |
| 4208 |
}% |
| 4209 |
{\let\aaa=\gggA\let\bbb=\hhh\let\ccc=\jjj\let\ddd=\iii |
| 4210 |
\Put@Direct(-171,303){\set@skel@bond{#1}{h}{a}}% |
| 4211 |
% bond between 7 and 8 \@hhh -> \skbonda etc |
| 4212 |
\Put@Direct(-171,303){\set@skel@bond{#1}{i}{b}}% |
| 4213 |
% bond between 8 and 8a \@iii -> \skbondb etc |
| 4214 |
\Put@Direct(-171,303){\set@skel@bond{#1}{e}{d}}% |
| 4215 |
% bond between 4a and 5 \@eee -> \skbondd etc |
| 4216 |
\Put@Direct(-171,303){\set@skel@bond{#1}{f}{e}}% |
| 4217 |
% bond between 5 and 6 \@fff -> \skbonde etc |
| 4218 |
\Put@Direct(-171,303){\set@skel@bond{#1}{g}{f}}% |
| 4219 |
% bond between 6 and 7 \@ggg -> \skbondf etc |
| 4220 |
}% |
| 4221 |
\endgroup |
| 4222 |
% \end{macrocode} |
| 4223 |
% |
| 4224 |
% \begin{macrocode} |
| 4225 |
% %%%%%%%%%%%%%%%%%%%%% |
| 4226 |
% % inner double bond % |
| 4227 |
% %%%%%%%%%%%%%%%%%%%%% |
| 4228 |
\@tfor\member:=#2\do{% |
| 4229 |
\if\member r\relax% |
| 4230 |
{\let\aaa=\gggA\let\bbb=\hhh\let\ccc=\jjj\let\ddd=\iii |
| 4231 |
\Put@Direct(-171,303){\bonda}% bond between 7 and 8 |
| 4232 |
\Put@Direct(-171,303){\bonde}% bond between 5 and 6 |
| 4233 |
}% |
| 4234 |
{\let\eee=\ddd\let\ddd=\ccc |
| 4235 |
\let\ccc=\bbb\let\bbb=\aaa |
| 4236 |
\let\aaa=\jjj \let\fff=\iii |
| 4237 |
\Put@Direct(0,0){\bondb}% bond between 1 and 2 |
| 4238 |
\Put@Direct(0,0){\bondd}% bond between 3 and 4 |
| 4239 |
\Put@Direct(0,0){\bondf}% bond between 4a and 4b |
| 4240 |
}% |
| 4241 |
\else\if\member l\relax% |
| 4242 |
\else\if\member a\relax% |
| 4243 |
{\let\ccc=\bbb\let\bbb=\aaa |
| 4244 |
\Put@Direct(0,0){\bondb}% bond between 1 and 2 |
| 4245 |
}% |
| 4246 |
\else\if\member b\relax |
| 4247 |
{\let\ddd=\ccc\let\ccc=\bbb |
| 4248 |
\Put@Direct(0,0){\bondc}% bond between 2 and 3 |
| 4249 |
}% |
| 4250 |
\else\if\member c\relax |
| 4251 |
{\let\eee=\ddd\let\ddd=\ccc |
| 4252 |
\Put@Direct(0,0){\bondd}% bond between 3 and 4 |
| 4253 |
}% |
| 4254 |
\else\if\member d\relax% |
| 4255 |
{\let\fff=\eee\let\eee=\ddd |
| 4256 |
\Put@Direct(0,0){\bonde}% bond between 4 and 4a |
| 4257 |
}% |
| 4258 |
\else\if\member e\relax% |
| 4259 |
{\let\ddd=\iii% |
| 4260 |
\Put@Direct(-171,303){\bondd}% bond between 5 and 4a |
| 4261 |
}% |
| 4262 |
\else\if\member f\relax% |
| 4263 |
\Put@Direct(-171,303){\bonde}% bond between 5 and 6 |
| 4264 |
\else\if\member g\relax% |
| 4265 |
{\let\aaa=\gggA |
| 4266 |
\Put@Direct(-171,303){\bondf}% bond between 6 and 7 |
| 4267 |
}% |
| 4268 |
\else\if\member h\relax% |
| 4269 |
{\let\aaa=\gggA \let\bbb=\hhh% |
| 4270 |
\Put@Direct(-171,303){\bonda}% bond between 8 and 7 |
| 4271 |
}% |
| 4272 |
\else\if\member i\relax% |
| 4273 |
{\let\bbb=\hhh \let\ccc=\jjj% |
| 4274 |
\Put@Direct(-171,303){\bondb}% bond between 8 and 8a |
| 4275 |
}% |
| 4276 |
\else\if\member j\relax% |
| 4277 |
{\let\bbb=\aaa\let\aaa=\jjj% |
| 4278 |
\Put@Direct(0,0){\bonda}% bond between 1 and 8a |
| 4279 |
}% |
| 4280 |
\else\if\member k\relax% |
| 4281 |
{\let\aaa=\jjj\let\fff=\iii% |
| 4282 |
\Put@Direct(0,0){\bondf}% bond between 8a and 4a |
| 4283 |
}% |
| 4284 |
\else\if\member K\relax% |
| 4285 |
{\let\ccc=\jjj\let\ddd=\iii% |
| 4286 |
\Put@Direct(-171,303){\bondc}% bond between 8a and 4a in the other ring |
| 4287 |
}% |
| 4288 |
\else\if\member A%left aromatic circle |
| 4289 |
\Put@oCircle(-171,506){240}% %circle |
| 4290 |
\else\if\member B%left aromatic circle |
| 4291 |
\Put@oCircle(0,203){240}% %circle |
| 4292 |
\else \expandafter\twoCH@@R\member//% |
| 4293 |
\def\aax{8a}\def\aay{4a}\def\aaz{10}% |
| 4294 |
\if\@@tmpa 1\relax% % plus charge etc. |
| 4295 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 4296 |
\else\if\@@tmpa 2\relax% |
| 4297 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 4298 |
\else\if\@@tmpa 3\relax% |
| 4299 |
\putratom{-38}{68}{\@@tmpb}% % right type |
| 4300 |
\else\if\@@tmpa 4\relax% |
| 4301 |
\putratom{-120}{120}{\@@tmpb}% % right type |
| 4302 |
\else\if\@@tmpa 5\relax% |
| 4303 |
\putlatom{-209}{431}{\@@tmpb}% % left type |
| 4304 |
\else\if\@@tmpa 6\relax% |
| 4305 |
\putlatom{-209}{546}{\@@tmpb}% % left type |
| 4306 |
\else\if\@@tmpa 7\relax% |
| 4307 |
\putratom{-209}{585}{\@@tmpb}% % right type |
| 4308 |
\else\if\@@tmpa 8\relax% |
| 4309 |
\putratom{-111}{546}{\@@tmpb}% % right type |
| 4310 |
\else\if\@@tmpa 9\relax% |
| 4311 |
\putlatom{-60}{253}{\@@tmpb}% % left type |
| 4312 |
\else\ifx\@@tmpa\aaz\relax% |
| 4313 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 4314 |
\else\ifx\@@tmpa\aax\relax% |
| 4315 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 4316 |
\else\ifx\@@tmpa\aay\relax% |
| 4317 |
\putratom{-209}{371}{\@@tmpb}% % right type |
| 4318 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 4319 |
% *********************** |
| 4320 |
% * setting fused rings * |
| 4321 |
% *********************** |
| 4322 |
\expandafter\twoCH@R\member//% |
| 4323 |
\set@fusion@decavb |
| 4324 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 4325 |
\fi\fi\fi\fi\fi\fi% |
| 4326 |
}% |
| 4327 |
% \end{macrocode} |
| 4328 |
% |
| 4329 |
% \changes{v2.00a}{2000/11/11}{The |
| 4330 |
% \cs{iniflag} command is added to 5- and 8-substitution.} |
| 4331 |
% \changes{v5.01}{2013/03/23}{bug fix subs 7 to 8.} |
| 4332 |
% |
| 4333 |
% \begin{macrocode} |
| 4334 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 4335 |
% % setting hetero atoms % |
| 4336 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 4337 |
\iniflag\iniatom |
| 4338 |
\Put@Direct(-171,303){\set@hetatom@sixv{#3}{0}{4}{7}{0}% |
| 4339 |
%\if@eclip \global\@ecliptrue\fi% |
| 4340 |
%\if@fclip \global\@fcliptrue\fi% |
| 4341 |
\storeclipinfo |
| 4342 |
}% %substituents on 5 to 6 |
| 4343 |
\developclipinfo |
| 4344 |
\Put@Direct(-171,303){\set@hetatom@sixv{#3}{-6}{0}{3}{0}% |
| 4345 |
% \@gclipfalse \if@aclip \global\@gcliptrue \fi% |
| 4346 |
% \@hclipfalse \if@bclip \global\@hcliptrue \fi% |
| 4347 |
\@gclipfalse \if@aclip \@gcliptrue \fi% |
| 4348 |
% \@hclipfalse \if@bclip \@hcliptrue \fi% |
| 4349 |
\@hclipfalse \if@bclip \@hcliptrue \@bclipfalse \fi%bugfix 2013/03/23 |
| 4350 |
\storeclipinfo |
| 4351 |
}% %substituents on 7 to 8 |
| 4352 |
\developclipinfo |
| 4353 |
\Put@Direct(0,0){\set@vrtx@decafusevb{#3}% |
| 4354 |
% \if@iclip \global\@icliptrue \fi |
| 4355 |
% \if@jclip \global\@jcliptrue \fi |
| 4356 |
\storeclipinfo |
| 4357 |
}%9 %for 4a position, %10 for 8a position |
| 4358 |
\developclipinfo |
| 4359 |
%to be done after all |
| 4360 |
\Put@Direct(0,0){\iniflag%2000/11/11 by S. Fujita |
| 4361 |
\set@hetatom@sixv{#3}{1}{1}{6}{0}% |
| 4362 |
%\@aclipfalse \if@bclip \global\@acliptrue \fi% |
| 4363 |
%\@bclipfalse \if@cclip \global\@bcliptrue \fi% |
| 4364 |
%\@cclipfalse \if@clip \global\@ccliptrue \fi% |
| 4365 |
%\@clipfalse \if@eclip \global\@cliptrue \fi% |
| 4366 |
\@aclipfalse \if@bclip \@acliptrue \fi% |
| 4367 |
\@bclipfalse \if@cclip \@bcliptrue \fi% |
| 4368 |
\@cclipfalse \if@clip \@ccliptrue \fi% |
| 4369 |
\@clipfalse \if@eclip \@cliptrue \fi% |
| 4370 |
\storeclipinfo |
| 4371 |
}% %substituents on 1 to 4 |
| 4372 |
\developclipinfo |
| 4373 |
% \end{macrocode} |
| 4374 |
% |
| 4375 |
% \begin{macrocode} |
| 4376 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4377 |
% % setting substituents and exocyclic bonds % |
| 4378 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4379 |
\global\drawsamesubsttrue%2002/05/30 warning on |
| 4380 |
{% |
| 4381 |
\@eclipfalse \if@clip \@ecliptrue \fi% |
| 4382 |
\@clipfalse \if@cclip \@cliptrue \fi% |
| 4383 |
\@cclipfalse \if@bclip \@ccliptrue \fi% |
| 4384 |
\@bclipfalse \if@aclip \@bcliptrue \fi% |
| 4385 |
\Put@Direct(0,0){\setsixringv{#4}{1}{1}{6}{0}}% %substituents on 1 to 4 |
| 4386 |
}% |
| 4387 |
\global\drawsamesubstfalse%2002/05/30 warning off |
| 4388 |
{% |
| 4389 |
\Put@Direct(-171,303){\setsixringv{#4}{0}{4}{7}{0}}% %substituents on 5 to 6 |
| 4390 |
}% |
| 4391 |
{% |
| 4392 |
\@aclipfalse \if@gclip \@acliptrue \fi% |
| 4393 |
\@bclipfalse \if@hclip \@bcliptrue \fi% |
| 4394 |
\Put@Direct(-171,303){\setsixringv{#4}{-6}{0}{3}{0}}% %substituents on 7 to 8 |
| 4395 |
}% |
| 4396 |
{\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 4397 |
\Put@Direct(-171,303){\setatombond{#4}{-8}{9}}% %9 %for 4a position |
| 4398 |
}% |
| 4399 |
{\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 4400 |
\Put@Direct(0,406){\setatombond{#4}{-9}{3}}% %10 for 8a position |
| 4401 |
}% |
| 4402 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \decaheterovb macro |
| 4403 |
% \end{macrocode} |
| 4404 |
% \end{macro} |
| 4405 |
% \end{macro} |
| 4406 |
% \end{macro} |
| 4407 |
% \end{macro} |
| 4408 |
% |
| 4409 |
% The command |\ylhetpositionb| is used in the |\decaheterovb| command, |
| 4410 |
% giving the sift values for drawing a structure as a substituent. |
| 4411 |
% \changes{v1.02}{1998/10/16}{Newly added command} |
| 4412 |
% |
| 4413 |
% \begin{macro}{\ylhetpositionb} |
| 4414 |
% \begin{macrocode} |
| 4415 |
\def\ylhetpositionb#1#2#3#4#5{% |
| 4416 |
\@@ylswfalse%%%\@reset@ylsw |
| 4417 |
\@forsemicol\member:=#1\do{% |
| 4418 |
\if@@ylsw\else% |
| 4419 |
\ifx\member\empty\else% |
| 4420 |
\expandafter\@m@mb@r\member;\relax% |
| 4421 |
\expandafter\threech@r\@membera{}{}\relax% |
| 4422 |
\ifx\@memberb\@yl\relax\@@ylswtrue\else\@@ylswfalse\fi |
| 4423 |
\if@@ylsw |
| 4424 |
\ifnum#5<0\relax% |
| 4425 |
\@tmpaa=-\@tmpa\relax \advance\@tmpaa by#2\relax% |
| 4426 |
\else\@tmpaa=\@tmpa\relax \advance\@tmpaa by#2\relax\fi |
| 4427 |
\ifnum\@tmpaa>#3\relax% |
| 4428 |
\ifnum\@tmpaa<#4\relax% |
| 4429 |
\ifcase\@tmpaa%0 omit |
| 4430 |
\or |
| 4431 |
\ifx\aaa\empty% |
| 4432 |
\ifx\gggA\empty% aaa and ggg are absent |
| 4433 |
\gdef\@ylii{0}\gdef\@yli{-406}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 4434 |
\else% ggg is present |
| 4435 |
\gdef\@ylii{0}\gdef\@yli{-442}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 4436 |
\fi |
| 4437 |
\else%aaa is present |
| 4438 |
\gdef\@ylii{0}\gdef\@yli{-442}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 4439 |
\fi |
| 4440 |
\or |
| 4441 |
\ifx\bbb\empty |
| 4442 |
\ifx\hhh\empty% aaa and hhh are absent |
| 4443 |
\gdef\@ylii{-171}\gdef\@yli{-303}\global\@ylswtrue%\@ylbtrue% subst. on 2 |
| 4444 |
\else%hhh is present |
| 4445 |
\gdef\@ylii{-213}\gdef\@yli{-327}\global\@ylswtrue%\@ylbtrue% subst. on 2 |
| 4446 |
\fi |
| 4447 |
\else |
| 4448 |
\gdef\@ylii{-213}\gdef\@yli{-327}\global\@ylswtrue%\@ylbtrue% subst. on 2 |
| 4449 |
\fi |
| 4450 |
\or\ifx\ccc\empty |
| 4451 |
\gdef\@ylii{-171}\gdef\@yli{-103}\global\@ylswtrue%\@ylctrue% subst. on 3 |
| 4452 |
\else |
| 4453 |
\gdef\@ylii{-213}\gdef\@yli{-79}\global\@ylswtrue%\@ylctrue% subst. on 3 |
| 4454 |
\fi |
| 4455 |
\or |
| 4456 |
\ifx\ddd\empty |
| 4457 |
\gdef\@ylii{0}\gdef\@yli{0}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 4458 |
\else% ddd present |
| 4459 |
\gdef\@ylii{0}\gdef\@yli{36}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 4460 |
\fi |
| 4461 |
\or |
| 4462 |
\ifx\eee\empty |
| 4463 |
\gdef\@ylii{173}\gdef\@yli{-103}\global\@ylswtrue%\@yletrue% subst. on 5 |
| 4464 |
\else% eee is present |
| 4465 |
\gdef\@ylii{223}\gdef\@yli{-79}\global\@ylswtrue%\@yletrue% subst. on 5 |
| 4466 |
\fi |
| 4467 |
\or |
| 4468 |
\ifx\fff\empty |
| 4469 |
\gdef\@ylii{173}\gdef\@yli{-303}\global\@ylswtrue%\@ylftrue% subst. on 6 |
| 4470 |
\else%fff is present |
| 4471 |
\gdef\@ylii{213}\gdef\@yli{-327}\global\@ylswtrue%\@ylftrue% subst. on 6 |
| 4472 |
\fi |
| 4473 |
\fi%end of ifcase |
| 4474 |
\fi\fi\fi\fi\fi}}% |
| 4475 |
% \end{macrocode} |
| 4476 |
% \end{macro} |
| 4477 |
% |
| 4478 |
% The macro |\test@vertix@decavb| determines the presence of |
| 4479 |
% a hetro atom or a spriro ring at each of the vertices. |
| 4480 |
% \changes{v2.00}{1998/12/25}{Added: spiro rings} |
| 4481 |
% |
| 4482 |
% \begin{macro}{\test@vertix@decavb} |
| 4483 |
% \begin{macrocode} |
| 4484 |
\def\test@vertix@decavb#1{% |
| 4485 |
\@forsemicol\member:=#1\do{% |
| 4486 |
\ifx\member\empty\else% |
| 4487 |
\expandafter\@m@mb@r\member;\relax% |
| 4488 |
\expandafter\twoch@r\@membera{}% |
| 4489 |
\ifcase\@tmpa% |
| 4490 |
\or% \xdef\aaa{\@memberb}%1 |
| 4491 |
\if\@tmpb s\relax\def\aaa{}\else\def\aaa{@}\fi |
| 4492 |
\or% \xdef\bbb{\@memberb}%2 |
| 4493 |
\if\@tmpb s\relax\def\bbb{}\else\def\bbb{@}\fi |
| 4494 |
\or% \xdef\ccc{\@memberb}%3 |
| 4495 |
\if\@tmpb s\relax\def\ccc{}\else\def\ccc{@}\fi |
| 4496 |
\or% |
| 4497 |
\if\@tmpb a% |
| 4498 |
\def\iii{@}%4a |
| 4499 |
\else\if\@tmpb s% |
| 4500 |
\def\ddd{}%4 |
| 4501 |
\else\if\@tmpb h% |
| 4502 |
\def\ddd{@}%4 |
| 4503 |
\else\ifx\@tmpb\empty% |
| 4504 |
\def\ddd{@}%4 |
| 4505 |
\fi\fi\fi\fi% |
| 4506 |
\or% \xdef\eee{\@memberb}%5 |
| 4507 |
\if\@tmpb s\relax\def\eee{}\else\def\eee{@}\fi |
| 4508 |
\or% \xdef\fff{\@memberb}%6 |
| 4509 |
\if\@tmpb s\relax\def\fff{}\else\def\fff{@}\fi |
| 4510 |
\or% \xdef\gggA{\@memberb}%7 |
| 4511 |
\if\@tmpb s\relax\def\gggA{}\else\def\gggA{@}\fi |
| 4512 |
\or% |
| 4513 |
\if\@tmpb a% |
| 4514 |
\def\jjj{@}%8a |
| 4515 |
\else\if\@tmpb s% |
| 4516 |
\def\hhh{}%8 |
| 4517 |
\else\if\@tmpb h% |
| 4518 |
\def\hhh{@}%4 |
| 4519 |
\else\ifx\@tmpb\empty% |
| 4520 |
\def\hhh{@}%4 |
| 4521 |
\fi\fi\fi\fi% |
| 4522 |
\or% \xdef\iii{\@memberb}%9 (= 4a) |
| 4523 |
\if\@tmpb s\relax\def\iii{}\else\def\iii{@}\fi |
| 4524 |
\or% \xdef\jjj{\@memberb}%10 (= 8a) |
| 4525 |
\if\@tmpb s\relax\def\jjj{}\else\def\jjj{@}\fi |
| 4526 |
\fi\fi}% |
| 4527 |
}% end of the macro \test@vertix@decavb |
| 4528 |
% \end{macrocode} |
| 4529 |
% \end{macro} |
| 4530 |
% |
| 4531 |
% The macro |\set@vrtx@decafusevb| typesets a hetero atom |
| 4532 |
% at each fused position. |
| 4533 |
% \changes{v2.00}{1998/12/25}{Added: spiro rings} |
| 4534 |
% \changes{v2.01}{2001/06/20}{\cs{global} omitted} |
| 4535 |
% |
| 4536 |
% \begin{macro}{\set@vrtx@decafusevb} |
| 4537 |
% \begin{macrocode} |
| 4538 |
\def\set@vrtx@decafusevb#1{% |
| 4539 |
\@forsemicol\member:=#1\do{% |
| 4540 |
\ifx\member\empty\else% |
| 4541 |
\expandafter\@m@mb@r\member;\relax% |
| 4542 |
\expandafter\twoch@r\@membera{}% |
| 4543 |
\ifcase\@tmpa\or\or\or |
| 4544 |
\or%%%%4 |
| 4545 |
\if\@tmpb a\relax% |
| 4546 |
% \global\@icliptrue% |
| 4547 |
\@icliptrue%%2001/06/20 by S. Fujita |
| 4548 |
\putlatom{-135}{280}{\@memberb}% % left type |
| 4549 |
\else\relax |
| 4550 |
\fi |
| 4551 |
\or\or\or |
| 4552 |
\or%8 |
| 4553 |
\if\@tmpb a\relax% |
| 4554 |
% \global\@jcliptrue% |
| 4555 |
\@jcliptrue%%2001/06/20 by S. Fujita |
| 4556 |
\putratom{-31}{356}{\@memberb}% % right type |
| 4557 |
\else\relax |
| 4558 |
\fi |
| 4559 |
\or%9 (= 4a) |
| 4560 |
% \global\@icliptrue% |
| 4561 |
\@icliptrue%%2001/06/20 by S. Fujita |
| 4562 |
\putlatom{-135}{280}{\@memberb}% % left type |
| 4563 |
\or%10 (= 8a) |
| 4564 |
% \global\@jcliptrue% |
| 4565 |
\@jcliptrue%%2001/06/20 by S. Fujita |
| 4566 |
\putratom{-31}{356}{\@memberb}% % right type |
| 4567 |
\fi\fi}% |
| 4568 |
}% end of the macro \set@vrtx@decafusevb |
| 4569 |
% \end{macrocode} |
| 4570 |
% \end{macro} |
| 4571 |
% |
| 4572 |
% \subsection{Vertical-top type} |
| 4573 |
% |
| 4574 |
% The macro |\decaheterovt| is used for drawing six-to-six fused derivatives |
| 4575 |
% of vertical-bottom type (numbering from the top to the left-down part). |
| 4576 |
% The word ``vertical'' means that each benzene ring is a vertical type. |
| 4577 |
% The word ``top'' means that the benzene ring with young locant numbers |
| 4578 |
% is located at the top. |
| 4579 |
% The skeleton and endocyclic double bonds are drawn directly, |
| 4580 |
% while substituents and exocyclic bonds are placed by useing |
| 4581 |
% the inner macro |\setsixringv|. |
| 4582 |
% \changes{v1.02}{1998/10/18}{Newly added command} |
| 4583 |
% \changes{v2.01}{2001/06/20}{The \cs{storeclipinfo} command, etc.} |
| 4584 |
% |
| 4585 |
% \begin{verbatim} |
| 4586 |
% **************************** |
| 4587 |
% * decaheterovt derivatives * |
| 4588 |
% * (vertical-top type) * |
| 4589 |
% **************************** |
| 4590 |
% The following numbering is adopted in this macro. |
| 4591 |
% |
| 4592 |
% 2 |
| 4593 |
% * |
| 4594 |
% 1 * * 3 |
| 4595 |
% | | |
| 4596 |
% | | |
| 4597 |
% 0G (8a) * * 4 |
| 4598 |
% 8 * * 0F(4a) |
| 4599 |
% | | |
| 4600 |
% | | |
| 4601 |
% 7 * * 5 |
| 4602 |
% * |
| 4603 |
% 6 |
| 4604 |
% ^ |
| 4605 |
% | |
| 4606 |
% the original point |
| 4607 |
% \end{verbatim} |
| 4608 |
% |
| 4609 |
% The macro |\decaheterovt| has two arguments |ATOMLIST| and |SUBSLIST| |
| 4610 |
% as well as an optional argument |BONDLIST|. |
| 4611 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 4612 |
% treat stereochemical information or other bond situations. |
| 4613 |
% |
| 4614 |
% \begin{verbatim} |
| 4615 |
% \decaheterovt(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 4616 |
% \end{verbatim} |
| 4617 |
% |
| 4618 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 4619 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 4620 |
% character selected from bond specifiers `a' to `k' and a uppercase |
| 4621 |
% character `A' or `B'. |
| 4622 |
% |
| 4623 |
% The |BONDLIST| argument contains one |
| 4624 |
% character selected from a to k, each of which indicates the presence of |
| 4625 |
% an inner (endcyclic) double bond on the corresponding position. |
| 4626 |
% The option `A' and `B' represent aromatic circles. The option |
| 4627 |
% `$n+$' ($n=1$ to $10$) represents a plus charge on a hetero atom |
| 4628 |
% at the $n$-position. |
| 4629 |
% |
| 4630 |
% \begin{verbatim} |
| 4631 |
% BONDLIST: list of bonds |
| 4632 |
% |
| 4633 |
% none or r : decahetero (right-handed) |
| 4634 |
% l : decahetero (left-handed) |
| 4635 |
% [] : fully saturated form |
| 4636 |
% a : 1,2-double bond b : 2,3-double bond |
| 4637 |
% c : 4,3-double bond d : 4,4a-double bond |
| 4638 |
% e : 4a,5-double bond f : 5,6-double bond |
| 4639 |
% g : 6,7-double bond h : 7,8-double bond |
| 4640 |
% i : 8,8a-double bond j : 1,8a-double bond |
| 4641 |
% k : 4a,8a-double bond |
| 4642 |
% K : 4a,8a-double bond in the other ring |
| 4643 |
% A : aromatic circle B : aromatic circle |
| 4644 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 10) |
| 4645 |
% \end{verbatim} |
| 4646 |
% |
| 4647 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 4648 |
% which are separated from each other by a semicolon. Each heteroatom |
| 4649 |
% descriptor consists of a locant number and a heteroatom, |
| 4650 |
% where these are separated with a double equality symbol. |
| 4651 |
% |
| 4652 |
% \begin{verbatim} |
| 4653 |
% ATOMLIST: list of heteroatoms (max 10 atoms) |
| 4654 |
% |
| 4655 |
% for n = 1 to 8 |
| 4656 |
% |
| 4657 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 4658 |
% e.g. 1==N for N at 1-position |
| 4659 |
% na : Hetero atom at 4a or 8b (n=4 or 8) |
| 4660 |
% e.g. 4a==N (or 9==N) for N at 4a-position |
| 4661 |
% 8a==N (or {{10}}==N) for N at 8a-position |
| 4662 |
% \end{verbatim} |
| 4663 |
% |
| 4664 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 4665 |
% which are separated from each other by a semicolon. Each substitution |
| 4666 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 4667 |
% where these are separated with a double equality symbol. |
| 4668 |
% |
| 4669 |
% \begin{verbatim} |
| 4670 |
% SUBSLIST: list of substituents |
| 4671 |
% |
| 4672 |
% for n = 1 to 8 |
| 4673 |
% |
| 4674 |
% nD : exocyclic double bond at n-atom |
| 4675 |
% n or nS : exocyclic single bond at n-atom |
| 4676 |
% nA : alpha single bond at n-atom |
| 4677 |
% nB : beta single bond at n-atom |
| 4678 |
% nSA : alpha single bond at n-atom (boldface) |
| 4679 |
% nSB : beta single bond at n-atom (dotted line) |
| 4680 |
% nSa : alpha (not specified) single bond at n-atom |
| 4681 |
% nSb : beta (not specified) single bond at n-atom |
| 4682 |
% |
| 4683 |
% nSd : alpha single bond at n-atom (dotted line) |
| 4684 |
% with an alternative direction to nSA |
| 4685 |
% nSu : beta single bond at n-atom (boldface) |
| 4686 |
% with an alternative direction to nSB |
| 4687 |
% nFA : alpha single bond at n-atom (dotted line) |
| 4688 |
% for ring fusion |
| 4689 |
% nFB : beta single bond at n-atom (boldface) |
| 4690 |
% for ring fusion |
| 4691 |
% nGA : alpha single bond at n-atom (dotted line) |
| 4692 |
% for the other ring fusion |
| 4693 |
% nGB : beta single bond at n-atom (boldface) |
| 4694 |
% for the other ring fusion |
| 4695 |
% |
| 4696 |
% for 9 (4a position) and 10 (8a position) |
| 4697 |
% |
| 4698 |
% nD : exocyclic double bond at n-atom |
| 4699 |
% n or nS : exocyclic single bond at n-atom |
| 4700 |
% nA : alpha single bond at n-atom |
| 4701 |
% nB : beta single bond at n-atom |
| 4702 |
% \end{verbatim} |
| 4703 |
% |
| 4704 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 4705 |
% The omitted edges may be regarded as both fused and non-fused |
| 4706 |
% positions. |
| 4707 |
% |
| 4708 |
% \begin{verbatim} |
| 4709 |
% OMIT: one or more bonds omitted (a to k: see BONDLIST) |
| 4710 |
% \end{verbatim} |
| 4711 |
% |
| 4712 |
% Several examples are shown as follows. |
| 4713 |
% \begin{verbatim} |
| 4714 |
% e.g. |
| 4715 |
% |
| 4716 |
% \decaheterovt{1==N}{1==Cl;2==F} |
| 4717 |
% \decaheterovt[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 4718 |
% \decaheterovt[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 4719 |
% \end{verbatim} |
| 4720 |
% |
| 4721 |
% The definition of |\decaheterovt| uses a picture environment and |
| 4722 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 4723 |
% \begin{enumerate} |
| 4724 |
% \item treatment of atom list, |
| 4725 |
% \item placing outer skeletons, |
| 4726 |
% \item placing inner double bonds, |
| 4727 |
% \item setting hetero atoms, and |
| 4728 |
% \item placing substituents by using |\setsixringv| several times. |
| 4729 |
% \end{enumerate} |
| 4730 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 4731 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 4732 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 4733 |
% \changes{v2.00}{1998/10/31}{Add: Spiro and fused rings} |
| 4734 |
% \changes{v5.01}{2013/03/23}{Bug fix: omit vacant at 1 position} |
| 4735 |
% |
| 4736 |
% \begin{macro}{\decaheterovt} |
| 4737 |
% \begin{macro}{\@deca@heterovt} |
| 4738 |
% \begin{macro}{\@deca@@heterovt} |
| 4739 |
% \begin{macro}{\@decaheterovt} |
| 4740 |
% \begin{macrocode} |
| 4741 |
\def\decaheterovt{\@ifnextchar({\@deca@heterovt(@}{\@deca@heterovt(@)}} |
| 4742 |
\def\@deca@heterovt(#1){\@ifnextchar[{\@deca@@heterovt(#1)[@}% |
| 4743 |
{\@deca@@heterovt(#1)[@]}} |
| 4744 |
\def\@deca@@heterovt(#1)[#2]#3#4{\@ifnextchar[% |
| 4745 |
{\@decaheterovt(#1)[#2]{#3}{#4}[@}% |
| 4746 |
{\@decaheterovt(#1)[#2]{#3}{#4}[@]}} |
| 4747 |
\def\@decaheterovt(#1)[#2]#3#4[#5]{% |
| 4748 |
% \end{macrocode} |
| 4749 |
% |
| 4750 |
% \begin{macrocode} |
| 4751 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4752 |
% % treatment of atom list % |
| 4753 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4754 |
\iniflag\iniatom% |
| 4755 |
\test@vertix@decavb{#3}% |
| 4756 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 4757 |
% % adjustment for (yl) % |
| 4758 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 4759 |
\@reset@ylsw% |
| 4760 |
{\let\fff=\aaa |
| 4761 |
\ylhetpositiont{#4}{5}{5}{7}{0}% %substituent on 1 |
| 4762 |
}% |
| 4763 |
\if@ylsw \ifx\@@ylii\empty |
| 4764 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 4765 |
\else |
| 4766 |
{\let\aaa=\bbb\let\bbb=\ccc\let\ccc=\ddd |
| 4767 |
\ylhetpositiont{#4}{-1}{0}{4}{0}% %substituents on 2 to 4 |
| 4768 |
}% |
| 4769 |
\fi |
| 4770 |
\if@ylsw \ifx\@@ylii\empty |
| 4771 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 4772 |
\else |
| 4773 |
{\let\ccc=\eee\let\ddd=\fff |
| 4774 |
\let\eee=\gggA\let\fff=\hhh |
| 4775 |
\ylhetpositiont{#4}{-2}{2}{7}{0}% %substituents on 5 to 8 |
| 4776 |
}% |
| 4777 |
\fi |
| 4778 |
\if@ylsw \ifx\@@ylii\empty |
| 4779 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 4780 |
\else |
| 4781 |
{% |
| 4782 |
\clipdetection% |
| 4783 |
\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 4784 |
\ylatombondposition{#4}{-8}{5}% %9 %for 4a position |
| 4785 |
}% |
| 4786 |
\fi |
| 4787 |
\if@ylsw \ifx\@@ylii\empty |
| 4788 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 4789 |
\else |
| 4790 |
{% |
| 4791 |
\clipdetection% |
| 4792 |
\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 4793 |
\ylatombondposition{#4}{-9}{11}% %10 for 8a position |
| 4794 |
}% |
| 4795 |
\fi |
| 4796 |
\if@ylsw \ifx\@@ylii\empty |
| 4797 |
\def\@@ylii{0}\def\@@yli{-406}\fi |
| 4798 |
\fi |
| 4799 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 4800 |
(1200,880)(-\shiftii,-\shifti){decaheterovt}%2002/4/30 by S. Fujita |
| 4801 |
% \end{macrocode} |
| 4802 |
% |
| 4803 |
% \begin{macrocode} |
| 4804 |
% %%%%%%%%%%%%%%%%%% |
| 4805 |
% % outer skeleton % |
| 4806 |
% %%%%%%%%%%%%%%%%%% |
| 4807 |
\begingroup |
| 4808 |
\resetbdsw% |
| 4809 |
\@bond@@omit{#5}% |
| 4810 |
{% |
| 4811 |
\let\fff=\aaa \let\aaa=\bbb \let\bbb=\ccc |
| 4812 |
\let\ccc=\ddd \let\ddd=\iii \let\eee=\jjj |
| 4813 |
\Put@Direct(171,303){\set@skel@bond{#1}{b}{a}}% |
| 4814 |
% bond between 2 and 3 \@bbb -> \skbonda etc |
| 4815 |
\Put@Direct(171,303){\set@skel@bond{#1}{c}{b}}% |
| 4816 |
% bond between 3 and 4 \@ccc -> \skbondb etc |
| 4817 |
\Put@Direct(171,303){\set@skel@bond{#1}{d}{c}}% |
| 4818 |
% bond between 4 and 4a \@ddd -> \skbondc etc |
| 4819 |
\Put@Direct(171,303){\set@skel@bond{#1}{k}{d}}% |
| 4820 |
% bond between 4a and 8a \@kkk -> \skbondd etc |
| 4821 |
\Put@Direct(171,303){\set@skel@bond{#1}{j}{e}}% |
| 4822 |
% bond between 8a and 1 \@jjj -> \skbonde etc |
| 4823 |
\Put@Direct(171,303){\set@skel@bond{#1}{a}{f}}% |
| 4824 |
% bond between 1 and 2 \@aaa -> \skbondf etc |
| 4825 |
}% |
| 4826 |
{% |
| 4827 |
\let\aaa=\jjj\let\bbb=\iii |
| 4828 |
\let\ccc=\eee\let\ddd=\fff |
| 4829 |
\let\eee=\gggA\let\fff=\hhh |
| 4830 |
\set@skel@bond{#1}{e}{b}% bond between 4a and 5 \@eee -> \skbondb etc |
| 4831 |
\set@skel@bond{#1}{f}{c}% bond between 5 and 6 \@fff -> \skbondc etc |
| 4832 |
\set@skel@bond{#1}{g}{d}% bond between 6 and 7 \@ggg -> \skbondd etc |
| 4833 |
\set@skel@bond{#1}{h}{e}% bond between 7 and 8 \@hhh -> \skbonde etc |
| 4834 |
\set@skel@bond{#1}{i}{f}% bond between 8 and 8a \@iii -> \skbondf etc |
| 4835 |
}% |
| 4836 |
\endgroup |
| 4837 |
% \end{macrocode} |
| 4838 |
% |
| 4839 |
% \begin{macrocode} |
| 4840 |
% %%%%%%%%%%%%%%%%%%%%% |
| 4841 |
% % inner double bond % |
| 4842 |
% %%%%%%%%%%%%%%%%%%%%% |
| 4843 |
\@tfor\member:=#2\do{% |
| 4844 |
\if\member r\relax% |
| 4845 |
{% |
| 4846 |
\let\ccc=\eee\let\ddd=\fff\let\eee=\gggA\let\fff=\gggA |
| 4847 |
\Put@Direct(0,0){\bondc}% bond between 7 and 8 |
| 4848 |
\Put@Direct(0,0){\bonde}% bond between 5 and 6 |
| 4849 |
}% |
| 4850 |
{% |
| 4851 |
\let\fff=\aaa\let\aaa=\bbb |
| 4852 |
\let\bbb=\ccc\let\ccc=\ddd |
| 4853 |
\let\ddd=\iii\let\eee=\jjj |
| 4854 |
\Put@Direct(171,303){\bondf}% bond between 1 and 2 |
| 4855 |
\Put@Direct(171,303){\bondb}% bond between 3 and 4 |
| 4856 |
\Put@Direct(171,303){\bondd}% bond between 4a and 8a |
| 4857 |
}% |
| 4858 |
\else\if\member l\relax% |
| 4859 |
\else\if\member a\relax% |
| 4860 |
{\let\fff=\aaa\let\aaa=\bbb |
| 4861 |
\Put@Direct(171,303){\bondf}% bond between 1 and 2 |
| 4862 |
}% |
| 4863 |
\else\if\member b\relax |
| 4864 |
{\let\aaa=\bbb\let\bbb=\ccc |
| 4865 |
\Put@Direct(171,303){\bonda}% bond between 2 and 3 |
| 4866 |
}% |
| 4867 |
\else\if\member c\relax |
| 4868 |
{\let\bbb=\ccc\let\ccc=\ddd |
| 4869 |
\Put@Direct(171,303){\bondb}% bond between 3 and 4 |
| 4870 |
}% |
| 4871 |
\else\if\member d\relax% |
| 4872 |
{\let\ccc=\ddd\let\ddd=\eee |
| 4873 |
\Put@Direct(171,303){\bondc}% bond between 4 and 4a |
| 4874 |
}% |
| 4875 |
\else\if\member e\relax% |
| 4876 |
{\let\ccc=\eee\let\bbb=\iii% |
| 4877 |
\Put@Direct(0,0){\bondb}% bond between 5 and 4a |
| 4878 |
}% |
| 4879 |
\else\if\member f\relax% |
| 4880 |
{\let\ccc=\eee\let\ddd=\fff |
| 4881 |
\Put@Direct(0,0){\bondc}% bond between 5 and 6 |
| 4882 |
}% |
| 4883 |
\else\if\member g\relax% |
| 4884 |
{\let\ddd=\fff\let\eee=\gggA |
| 4885 |
\Put@Direct(0,0){\bondd}% bond between 6 and 7 |
| 4886 |
}% |
| 4887 |
\else\if\member h\relax% |
| 4888 |
{\let\eee=\gggA \let\fff=\hhh% |
| 4889 |
\Put@Direct(0,0){\bonde}% bond between 8 and 7 |
| 4890 |
}% |
| 4891 |
\else\if\member i\relax% |
| 4892 |
{\let\aaa=\jjj \let\fff=\hhh% |
| 4893 |
\Put@Direct(0,0){\bondf}% bond between 8 and 8a |
| 4894 |
}% |
| 4895 |
\else\if\member j\relax% |
| 4896 |
{\let\fff=\aaa\let\eee=\jjj% |
| 4897 |
\Put@Direct(171,303){\bonde}% bond between 1 and 8a |
| 4898 |
}% |
| 4899 |
\else\if\member k\relax% |
| 4900 |
{\let\aaa=\jjj\let\bbb=\iii% |
| 4901 |
\Put@Direct(0,0){\bonda}% bond between 8a and 4a |
| 4902 |
}% |
| 4903 |
\else\if\member K\relax% |
| 4904 |
{\let\eee=\jjj\let\ddd=\iii% |
| 4905 |
\Put@Direct(171,303){\bondd}% bond between 8a and 4a in the other ring |
| 4906 |
}% |
| 4907 |
\else\if\member A%left aromatic circle |
| 4908 |
\Put@oCircle(171,506){240}% %circle |
| 4909 |
\else\if\member B%left aromatic circle |
| 4910 |
\Put@oCircle(0,203){240}% %circle |
| 4911 |
\else |
| 4912 |
\expandafter\twoCH@@R\member//% |
| 4913 |
\def\aax{8a}\def\aay{4a}\def\aaz{10}% |
| 4914 |
\if\@@tmpa 1\relax% % plus charge etc. |
| 4915 |
\putlatom{111}{546}{\@@tmpb}% % left type |
| 4916 |
\else\if\@@tmpa 2\relax% |
| 4917 |
\putlatom{209}{585}{\@@tmpb}% % left type |
| 4918 |
\else\if\@@tmpa 3\relax% |
| 4919 |
\putratom{209}{546}{\@@tmpb}% % right type |
| 4920 |
\else\if\@@tmpa 4\relax% |
| 4921 |
\putratom{209}{431}{\@@tmpb}% % right type |
| 4922 |
\else\if\@@tmpa 5\relax% |
| 4923 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 4924 |
\else\if\@@tmpa 6\relax% |
| 4925 |
\putratom{-38}{68}{\@@tmpb}% % right type |
| 4926 |
\else\if\@@tmpa 7\relax% |
| 4927 |
\putratom{-120}{120}{\@@tmpb}% % right type |
| 4928 |
\else\if\@@tmpa 8\relax% |
| 4929 |
\putlatom{-60}{253}{\@@tmpb}% % left type |
| 4930 |
\else\if\@@tmpa 9\relax% |
| 4931 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 4932 |
\else\ifx\@@tmpa\aaz\relax% |
| 4933 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 4934 |
\else\ifx\@@tmpa\aax\relax% |
| 4935 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 4936 |
\else\ifx\@@tmpa\aay\relax% |
| 4937 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 4938 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 4939 |
% *********************** |
| 4940 |
% * setting fused rings * |
| 4941 |
% *********************** |
| 4942 |
\expandafter\twoCH@R\member//% |
| 4943 |
\set@fusion@decavt |
| 4944 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 4945 |
\fi\fi\fi\fi\fi\fi% |
| 4946 |
}% |
| 4947 |
% \end{macrocode} |
| 4948 |
% |
| 4949 |
% \begin{macrocode} |
| 4950 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 4951 |
% % setting hetero atoms % |
| 4952 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 4953 |
\iniflag |
| 4954 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{-2}{2}{7}{0}% |
| 4955 |
% \@hclipfalse \if@fclip \global\@hcliptrue \fi% |
| 4956 |
% \@gclipfalse \if@eclip \global\@gcliptrue \fi% |
| 4957 |
% \@fclipfalse \if@clip \global\@fcliptrue \fi% |
| 4958 |
% \@eclipfalse \if@cclip \global\@ecliptrue \fi% |
| 4959 |
\@hclipfalse \if@fclip \@hcliptrue \fi% |
| 4960 |
\@gclipfalse \if@eclip \@gcliptrue \fi% |
| 4961 |
\@fclipfalse \if@clip \@fcliptrue \fi% |
| 4962 |
\@eclipfalse \if@cclip \@ecliptrue \fi% |
| 4963 |
\storeclipinfo |
| 4964 |
}% %substituents on 5 to 8 |
| 4965 |
\developclipinfo |
| 4966 |
\Put@Direct(0,0){\set@vrtx@decafusevt{#3}% |
| 4967 |
% \if@iclip \global\@icliptrue \fi |
| 4968 |
% \if@jclip \global\@jcliptrue \fi |
| 4969 |
\storeclipinfo |
| 4970 |
}%9 %for 4a position, %10 for 8a position |
| 4971 |
\developclipinfo |
| 4972 |
%to be done after all (exept aclip) |
| 4973 |
\Put@Direct(171,303){\set@hetatom@sixv{#3}{-1}{0}{4}{0}% |
| 4974 |
%\@clipfalse \if@cclip \global\@cliptrue \fi% |
| 4975 |
%\@cclipfalse \if@bclip \global\@ccliptrue \fi% |
| 4976 |
%\@bclipfalse \if@aclip \global\@bcliptrue \fi% |
| 4977 |
\@clipfalse \if@cclip \@cliptrue \fi% |
| 4978 |
\@cclipfalse \if@bclip \@ccliptrue \fi% |
| 4979 |
%\@bclipfalse \if@aclip \@bcliptrue \fi%bug fix 2013/03/23 |
| 4980 |
\@bclipfalse \if@aclip \@bcliptrue \@aclipfalse \fi% |
| 4981 |
\storeclipinfo |
| 4982 |
}% %substituents on 2 to 4 |
| 4983 |
\developclipinfo |
| 4984 |
{% |
| 4985 |
\@fclipfalse%locally cancelled 1999/2/15 by Shinsaku Fujita |
| 4986 |
\Put@Direct(171,303){\set@hetatom@sixv{#3}{5}{5}{7}{0}% |
| 4987 |
%\@aclipfalse \if@fclip \global\@acliptrue \fi% |
| 4988 |
\@aclipfalse \if@fclip \@acliptrue \fi% |
| 4989 |
\storeclipinfo |
| 4990 |
}% %substituent on 1 |
| 4991 |
\developclipinfo |
| 4992 |
}% |
| 4993 |
% \end{macrocode} |
| 4994 |
% |
| 4995 |
% \begin{macrocode} |
| 4996 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4997 |
% % setting substituents and exocyclic bonds % |
| 4998 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4999 |
\global\drawsamesubsttrue%2002/05/30 warning on |
| 5000 |
{% |
| 5001 |
\@fclipfalse \if@aclip \@fcliptrue \fi% |
| 5002 |
\Put@Direct(171,303){\setsixringv{#4}{5}{5}{7}{0}}% %substituent on 1 |
| 5003 |
}% |
| 5004 |
\global\drawsamesubstfalse%2002/05/30 warning off |
| 5005 |
{% |
| 5006 |
\@aclipfalse \if@bclip \@acliptrue \fi% |
| 5007 |
\@bclipfalse \if@cclip \@bcliptrue \fi% |
| 5008 |
\@cclipfalse \if@clip \@ccliptrue \fi% |
| 5009 |
\Put@Direct(171,303){\setsixringv{#4}{-1}{0}{4}{0}}% %substituents on 2 to 4 |
| 5010 |
}% |
| 5011 |
{% |
| 5012 |
\@cclipfalse \if@eclip \@ccliptrue \fi% |
| 5013 |
\@clipfalse \if@fclip \@cliptrue \fi% |
| 5014 |
\@eclipfalse \if@gclip \@ecliptrue \fi% |
| 5015 |
\@fclipfalse \if@hclip \@fcliptrue \fi% |
| 5016 |
\Put@Direct(0,0){\setsixringv{#4}{-2}{2}{7}{0}}% %substituents on 5 to 8 |
| 5017 |
}% |
| 5018 |
{\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 5019 |
\Put@Direct(171,303){\setatombond{#4}{-8}{5}}% %9 %for 4a position |
| 5020 |
}% |
| 5021 |
{\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 5022 |
\Put@Direct(0,406){\setatombond{#4}{-9}{11}}% %10 for 8a position |
| 5023 |
}% |
| 5024 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \decaheterovt macro |
| 5025 |
% \end{macrocode} |
| 5026 |
% \end{macro} |
| 5027 |
% \end{macro} |
| 5028 |
% \end{macro} |
| 5029 |
% \end{macro} |
| 5030 |
% |
| 5031 |
% The command |\ylhetpositiont| is used in the |\decaheterovt| command, |
| 5032 |
% giving the sift values for drawing a structure as a substituent. |
| 5033 |
% \changes{v1.02}{1998/10/18}{Newly added command} |
| 5034 |
% |
| 5035 |
% \begin{macro}{\ylhetpositiont} |
| 5036 |
% \begin{macrocode} |
| 5037 |
\def\ylhetpositiont#1#2#3#4#5{% |
| 5038 |
\@@ylswfalse%%%\@reset@ylsw |
| 5039 |
\@forsemicol\member:=#1\do{% |
| 5040 |
\if@@ylsw\else% |
| 5041 |
\ifx\member\empty\else% |
| 5042 |
\expandafter\@m@mb@r\member;\relax% |
| 5043 |
\expandafter\threech@r\@membera{}{}\relax% |
| 5044 |
\ifx\@memberb\@yl\relax\@@ylswtrue\else\@@ylswfalse\fi |
| 5045 |
\if@@ylsw |
| 5046 |
\ifnum#5<0\relax% |
| 5047 |
\@tmpaa=-\@tmpa\relax \advance\@tmpaa by#2\relax% |
| 5048 |
\else\@tmpaa=\@tmpa\relax \advance\@tmpaa by#2\relax\fi |
| 5049 |
\ifnum\@tmpaa>#3\relax% |
| 5050 |
\ifnum\@tmpaa<#4\relax% |
| 5051 |
\ifcase\@tmpaa%0 omit |
| 5052 |
\or |
| 5053 |
\ifx\aaa\empty% |
| 5054 |
\ifx\bbb\empty% aaa and bbb are absent |
| 5055 |
\gdef\@ylii{0}\gdef\@yli{-406}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 5056 |
\else% bbb is present |
| 5057 |
\gdef\@ylii{0}\gdef\@yli{-442}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 5058 |
\fi |
| 5059 |
\else%aaa is present |
| 5060 |
\gdef\@ylii{0}\gdef\@yli{-442}\global\@ylswtrue%\@ylatrue% subst. on 1 |
| 5061 |
\fi |
| 5062 |
\or |
| 5063 |
\ifx\bbb\empty |
| 5064 |
\ifx\ccc\empty% aaa and ccc are absent |
| 5065 |
\gdef\@ylii{-171}\gdef\@yli{-303}\global\@ylswtrue%\@ylbtrue% subst. on 2 |
| 5066 |
\else%ccc is present |
| 5067 |
\gdef\@ylii{-213}\gdef\@yli{-327}\global\@ylswtrue%\@ylbtrue% subst. on 2 |
| 5068 |
\fi |
| 5069 |
\else |
| 5070 |
\gdef\@ylii{-213}\gdef\@yli{-327}\global\@ylswtrue%\@ylbtrue% subst. on 2 |
| 5071 |
\fi |
| 5072 |
\or |
| 5073 |
\ifx\ccc\empty |
| 5074 |
\ifx\ddd\empty |
| 5075 |
\ifx\eee\empty% ccc, ddd, eee are absent |
| 5076 |
\gdef\@ylii{-171}\gdef\@yli{-103}\global\@ylswtrue%\@ylctrue%subst. on 3 |
| 5077 |
\else%eee is present |
| 5078 |
\gdef\@ylii{-213}\gdef\@yli{-79}\global\@ylswtrue%\@ylctrue% subst. on 3 |
| 5079 |
\fi |
| 5080 |
\else%ddd is present |
| 5081 |
\gdef\@ylii{-213}\gdef\@yli{-79}\global\@ylswtrue%\@ylctrue% subst. on 3 |
| 5082 |
\fi |
| 5083 |
\else%ccc is present |
| 5084 |
\gdef\@ylii{-213}\gdef\@yli{-79}\global\@ylswtrue%\@ylctrue% subst. on 3 |
| 5085 |
\fi |
| 5086 |
\or |
| 5087 |
\ifx\ddd\empty |
| 5088 |
\ifx\fff\empty%ddd and fff are absent |
| 5089 |
\gdef\@ylii{0}\gdef\@yli{0}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 5090 |
\else%fff present |
| 5091 |
\gdef\@ylii{0}\gdef\@yli{36}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 5092 |
\fi |
| 5093 |
\else% ddd present |
| 5094 |
\gdef\@ylii{0}\gdef\@yli{36}\global\@ylswtrue%\@yldtrue% subst. on 4 |
| 5095 |
\fi |
| 5096 |
\or |
| 5097 |
\ifx\eee\empty |
| 5098 |
\ifx\gggA\empty%eee and ggg are absent |
| 5099 |
\gdef\@ylii{173}\gdef\@yli{-103}\global\@ylswtrue%\@yletrue% subst. on 5 |
| 5100 |
\else% ggg is present |
| 5101 |
\gdef\@ylii{223}\gdef\@yli{-79}\global\@ylswtrue%\@yletrue% subst. on 5 |
| 5102 |
\fi |
| 5103 |
\else% eee is present |
| 5104 |
\gdef\@ylii{223}\gdef\@yli{-79}\global\@ylswtrue%\@yletrue% subst. on 5 |
| 5105 |
\fi |
| 5106 |
\or |
| 5107 |
\ifx\fff\empty |
| 5108 |
\ifx\hhh\empty%fff and hhh are absent |
| 5109 |
\gdef\@ylii{173}\gdef\@yli{-303}\global\@ylswtrue%\@ylftrue% subst. on 6 |
| 5110 |
\else%hhh is present |
| 5111 |
\gdef\@ylii{213}\gdef\@yli{-327}\global\@ylswtrue%\@ylftrue% subst. on 6 |
| 5112 |
\fi |
| 5113 |
\else%fff is present |
| 5114 |
\gdef\@ylii{213}\gdef\@yli{-327}\global\@ylswtrue%\@ylftrue% subst. on 6 |
| 5115 |
\fi |
| 5116 |
\fi%end of ifcase |
| 5117 |
\fi\fi\fi\fi\fi}}% |
| 5118 |
% \end{macrocode} |
| 5119 |
% \end{macro} |
| 5120 |
% |
| 5121 |
% The macro |\set@vrtx@decafusevt| is used to typeset a hetero |
| 5122 |
% atom at each fused vertex (4a or 8a) of a decaheterovt ring. |
| 5123 |
% |
| 5124 |
% \begin{macro}{\set@vrtx@decafusevt} |
| 5125 |
% \begin{macrocode} |
| 5126 |
\def\set@vrtx@decafusevt#1{% |
| 5127 |
\@forsemicol\member:=#1\do{% |
| 5128 |
\ifx\member\empty\else% |
| 5129 |
\expandafter\@m@mb@r\member;\relax% |
| 5130 |
\expandafter\twoch@r\@membera{}% |
| 5131 |
\ifcase\@tmpa\or\or\or |
| 5132 |
\or%%%%4 |
| 5133 |
\if\@tmpb a\relax% |
| 5134 |
% \global\@icliptrue% |
| 5135 |
\global\@icliptrue%%2001/06/20 by S. Fujita |
| 5136 |
\putratom{135}{280}{\@memberb}% % right type |
| 5137 |
\else\relax |
| 5138 |
\fi |
| 5139 |
\or\or\or |
| 5140 |
\or%8 |
| 5141 |
\if\@tmpb a\relax% |
| 5142 |
% \global\@jcliptrue% |
| 5143 |
\@jcliptrue%%2001/06/20 by S. Fujita |
| 5144 |
\putlatom{31}{356}{\@memberb}% % left type |
| 5145 |
\else\relax |
| 5146 |
\fi |
| 5147 |
\or%9 (= 4a) |
| 5148 |
% \global\@icliptrue% |
| 5149 |
\@icliptrue%%2001/06/20 by S. Fujita |
| 5150 |
\putratom{135}{280}{\@memberb}% % right type |
| 5151 |
\or%10 (= 8a) |
| 5152 |
% \global\@jcliptrue% |
| 5153 |
\@jcliptrue%%2001/06/20 by S. Fujita |
| 5154 |
\putlatom{31}{356}{\@memberb}% % left type |
| 5155 |
\fi\fi}% |
| 5156 |
}% end of the macro \set@vrtx@decafusevt |
| 5157 |
% \end{macrocode} |
| 5158 |
% \end{macro} |
| 5159 |
% |
| 5160 |
% \subsection{Short-cut commands for fused heterocycles} |
| 5161 |
% |
| 5162 |
% The macros |\decaheterov|, |\decaheterovb|, and |
| 5163 |
% |\decaheterovt| can be used in the form of a fixed |ATOMLIST|. |
| 5164 |
% Hence, the resulting commands for drawing a fused heterocyle |
| 5165 |
% with one or more nitrogen atoms have an argument |SUBSLIST| |
| 5166 |
% as well as an optional argument |BONDLIST|. |
| 5167 |
% |
| 5168 |
% \begin{verbatim} |
| 5169 |
% **************************************************** |
| 5170 |
% * heterocycles having two fused six-membered rings * |
| 5171 |
% * (vertical type) * |
| 5172 |
% **************************************************** |
| 5173 |
% |
| 5174 |
% \quinolinev[BONDLIST]{SUBSLIST} |
| 5175 |
% \quinolinevi[BONDLIST]{SUBSLIST} |
| 5176 |
% \quinolinevb[BONDLIST]{SUBSLIST} |
| 5177 |
% \quinolinevt[BONDLIST]{SUBSLIST} |
| 5178 |
% |
| 5179 |
% \isoquinolinev[BONDLIST]{SUBSLIST} |
| 5180 |
% \isoquinolinevi[BONDLIST]{SUBSLIST} |
| 5181 |
% \isoquinolinevb[BONDLIST]{SUBSLIST} |
| 5182 |
% \isoquinolinevt[BONDLIST]{SUBSLIST} |
| 5183 |
% |
| 5184 |
% \quinoxalinev[BONDLIST]{SUBSLIST} |
| 5185 |
% \quinoxalinevi[BONDLIST]{SUBSLIST} |
| 5186 |
% \quinoxalinevb[BONDLIST]{SUBSLIST} |
| 5187 |
% \quinoxalinevt[BONDLIST]{SUBSLIST} |
| 5188 |
% |
| 5189 |
% \quinazolinev[BONDLIST]{SUBSLIST} |
| 5190 |
% \quinazolinevi[BONDLIST]{SUBSLIST} |
| 5191 |
% \quinazolinevb[BONDLIST]{SUBSLIST} |
| 5192 |
% \quinazolinevt[BONDLIST]{SUBSLIST} |
| 5193 |
% |
| 5194 |
% \cinnolinev[BONDLIST]{SUBSLIST} |
| 5195 |
% \cinnolinevi[BONDLIST]{SUBSLIST} |
| 5196 |
% \cinnolinevb[BONDLIST]{SUBSLIST} |
| 5197 |
% \cinnolinevt[BONDLIST]{SUBSLIST} |
| 5198 |
% |
| 5199 |
% \pteridinev[BONDLIST]{SUBSLIST} |
| 5200 |
% \pteridinevi[BONDLIST]{SUBSLIST} |
| 5201 |
% \pteridinevb[BONDLIST]{SUBSLIST} |
| 5202 |
% \pteridinevt[BONDLIST]{SUBSLIST} |
| 5203 |
% \end{verbatim} |
| 5204 |
% |
| 5205 |
% The |BONDLIST| argument contains one character selected |
| 5206 |
% from a to k (K), each of which indicates the presence of |
| 5207 |
% an inner (endcyclic) double bond on the corresponding position. |
| 5208 |
% The optiona `A' and `B' typeset aromatic circles. |
| 5209 |
% The option |
| 5210 |
% `$n+$' ($n=1$ to $10$) represents a plus charge on a hetero atom |
| 5211 |
% at the $n$-position. |
| 5212 |
% |
| 5213 |
% \begin{verbatim} |
| 5214 |
% BONDLIST: list of bonds |
| 5215 |
% |
| 5216 |
% none or r : decahetero (right-handed) |
| 5217 |
% l : decahetero (left-handed) |
| 5218 |
% [] : fully saturated form |
| 5219 |
% a : 1,2-double bond b : 2,3-double bond |
| 5220 |
% c : 4,3-double bond d : 4,4a-double bond |
| 5221 |
% e : 4a,5-double bond f : 5,6-double bond |
| 5222 |
% g : 6,7-double bond h : 7,8-double bond |
| 5223 |
% i : 8,8a-double bond j : 1,8a-double bond |
| 5224 |
% k : 4a,8a-double bond |
| 5225 |
% K : 4a,8a-double bond in the other ring |
| 5226 |
% A : aromatic circle B : aromatic circle |
| 5227 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 10) |
| 5228 |
% \end{verbatim} |
| 5229 |
% |
| 5230 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 5231 |
% which are separated from each other by a semicolon. Each substitution |
| 5232 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 5233 |
% where these are separated with a double equality symbol. |
| 5234 |
% |
| 5235 |
% \begin{verbatim} |
| 5236 |
% SUBSLIST: list of substituents |
| 5237 |
% |
| 5238 |
% for n = 1 to 8 |
| 5239 |
% |
| 5240 |
% nD : exocyclic double bond at n-atom |
| 5241 |
% n or nS : exocyclic single bond at n-atom |
| 5242 |
% nA : alpha single bond at n-atom |
| 5243 |
% nB : beta single bond at n-atom |
| 5244 |
% nSA : alpha single bond at n-atom (boldface) |
| 5245 |
% nSB : beta single bond at n-atom (dotted line) |
| 5246 |
% nSa : alpha (not specified) single bond at n-atom |
| 5247 |
% nSb : beta (not specified) single bond at n-atom |
| 5248 |
% |
| 5249 |
% nSd : alpha single bond at n-atom (dotted line) |
| 5250 |
% with an alternative direction to nSA |
| 5251 |
% nSu : beta single bond at n-atom (boldface) |
| 5252 |
% with an alternative direction to nSB |
| 5253 |
% nFA : alpha single bond at n-atom (dotted line) |
| 5254 |
% for ring fusion |
| 5255 |
% nFB : beta single bond at n-atom (boldface) |
| 5256 |
% for ring fusion |
| 5257 |
% nGA : alpha single bond at n-atom (dotted line) |
| 5258 |
% for the other ring fusion |
| 5259 |
% nGB : beta single bond at n-atom (boldface) |
| 5260 |
% for the other ring fusion |
| 5261 |
% |
| 5262 |
% for 9 (4a position) and 10 (8a position) |
| 5263 |
% |
| 5264 |
% nD : exocyclic double bond at n-atom |
| 5265 |
% n or nS : exocyclic single bond at n-atom |
| 5266 |
% nA : alpha single bond at n-atom |
| 5267 |
% nB : beta single bond at n-atom |
| 5268 |
% \end{verbatim} |
| 5269 |
% |
| 5270 |
% Several examples are shown as follows. |
| 5271 |
% \begin{verbatim} |
| 5272 |
% e.g. |
| 5273 |
% |
| 5274 |
% \quinolinev{3==Cl;2==F} |
| 5275 |
% \quinolinev{3==Cl;4==F;2==CH$_{3}$} |
| 5276 |
% \end{verbatim} |
| 5277 |
% |
| 5278 |
% \begin{macro}{\quinolinev} |
| 5279 |
% \begin{macro}{\quinolinevi} |
| 5280 |
% \begin{macro}{\quinolinevb} |
| 5281 |
% \begin{macro}{\quinolinevt} |
| 5282 |
% \changes{v1.02}{1998/10/18}{Newly added commands: |
| 5283 |
% \cs{quinolinevb} and \cs{quinolinevt}} |
| 5284 |
% \begin{macrocode} |
| 5285 |
\def\quinolinev{% |
| 5286 |
\@ifnextchar[{\@quinolinev[@}{\@quinolinev[acfhk]}} |
| 5287 |
\def\@quinolinev[#1]#2{% |
| 5288 |
\iforigpt \typeout{command `quinolinev' % |
| 5289 |
is based on `decaheterov'.}\fi% |
| 5290 |
\decaheterov[#1]{1==N}{#2}} |
| 5291 |
\def\quinolinevi{% |
| 5292 |
\@ifnextchar[{\@quinolinevi[@}{\@quinolinevi[acfhk]}} |
| 5293 |
\def\@quinolinevi[#1]#2{% |
| 5294 |
\iforigpt \typeout{command `quinolinevi' % |
| 5295 |
is based on `decaheterovi'.}\fi% |
| 5296 |
\decaheterovi[#1]{1==N}{#2}} |
| 5297 |
\def\quinolinevb{% |
| 5298 |
\@ifnextchar[{\@quinolinevb[@}{\@quinolinevb[acfhk]}} |
| 5299 |
\def\@quinolinevb[#1]#2{% |
| 5300 |
\iforigpt \typeout{command `quinolinevb' % |
| 5301 |
is based on `decaheterovb'.}\fi% |
| 5302 |
\decaheterovb[#1]{1==N}{#2}} |
| 5303 |
\def\quinolinevt{% |
| 5304 |
\@ifnextchar[{\@quinolinevt[@}{\@quinolinevt[acfhk]}} |
| 5305 |
\def\@quinolinevt[#1]#2{% |
| 5306 |
\iforigpt \typeout{command `quinolinevt' % |
| 5307 |
is based on `decaheterovt'.}\fi% |
| 5308 |
\decaheterovt[#1]{1==N}{#2}} |
| 5309 |
% \end{macrocode} |
| 5310 |
% \end{macro} |
| 5311 |
% \end{macro} |
| 5312 |
% \end{macro} |
| 5313 |
% \end{macro} |
| 5314 |
% |
| 5315 |
% \begin{macro}{\isoquinolinev} |
| 5316 |
% \begin{macro}{\isoquinolinevi} |
| 5317 |
% \begin{macro}{\isoquinolinevb} |
| 5318 |
% \begin{macro}{\isoquinolinevt} |
| 5319 |
% \changes{v1.02}{1998/10/18}{Newly added commands: |
| 5320 |
% \cs{isoquinolinevb} and \cs{isoquinolinevt}} |
| 5321 |
% \begin{macrocode} |
| 5322 |
\def\isoquinolinev{% |
| 5323 |
\@ifnextchar[{\@isoquinolinev[@}{\@isoquinolinev[acfhk]}} |
| 5324 |
\def\@isoquinolinev[#1]#2{% |
| 5325 |
\iforigpt \typeout{command `isoquinolinev' % |
| 5326 |
is based on `decaheterov'.}\fi% |
| 5327 |
\decaheterov[#1]{2==N}{#2}} |
| 5328 |
\def\isoquinolinevi{% |
| 5329 |
\@ifnextchar[{\@isoquinolinevi[@}{\@isoquinolinevi[acfhk]}} |
| 5330 |
\def\@isoquinolinevi[#1]#2{% |
| 5331 |
\iforigpt \typeout{command `isoquinolinevi' % |
| 5332 |
is based on `decaheterovi'.}\fi% |
| 5333 |
\decaheterovi[#1]{2==N}{#2}}% |
| 5334 |
\def\isoquinolinevb{% |
| 5335 |
\@ifnextchar[{\@isoquinolinevb[@}{\@isoquinolinevb[acfhk]}} |
| 5336 |
\def\@isoquinolinevb[#1]#2{% |
| 5337 |
\iforigpt \typeout{command `isoquinolinevb' % |
| 5338 |
is based on `decaheterovi'.}\fi% |
| 5339 |
\decaheterovb[#1]{2==N}{#2}}% |
| 5340 |
\def\isoquinolinevt{% |
| 5341 |
\@ifnextchar[{\@isoquinolinevt[@}{\@isoquinolinevt[acfhk]}} |
| 5342 |
\def\@isoquinolinevt[#1]#2{% |
| 5343 |
\iforigpt \typeout{command `isoquinolinevt' % |
| 5344 |
is based on `decaheterovt'.}\fi% |
| 5345 |
\decaheterovt[#1]{2==N}{#2}}% |
| 5346 |
% \end{macrocode} |
| 5347 |
% \end{macro} |
| 5348 |
% \end{macro} |
| 5349 |
% \end{macro} |
| 5350 |
% \end{macro} |
| 5351 |
% |
| 5352 |
% \begin{macro}{\quinoxalinev} |
| 5353 |
% \begin{macro}{\quinoxalinevi} |
| 5354 |
% \begin{macro}{\quinoxalinevb} |
| 5355 |
% \begin{macro}{\quinoxalinevt} |
| 5356 |
% \changes{v1.02}{1998/10/18}{Newly added commands: |
| 5357 |
% \cs{quinoxalinevb} and \cs{quinoxalinevt}} |
| 5358 |
% \begin{macrocode} |
| 5359 |
\def\quinoxalinev{% |
| 5360 |
\@ifnextchar[{\@quinoxalinev[@}{\@quinoxalinev[acfhk]}} |
| 5361 |
\def\@quinoxalinev[#1]#2{% |
| 5362 |
\iforigpt \typeout{command `quinoxalinev' % |
| 5363 |
is based on `decaheterov'.}\fi% |
| 5364 |
\decaheterov[#1]{1==N;4==N}{#2}} |
| 5365 |
\def\quinoxalinevi{% |
| 5366 |
\@ifnextchar[{\@quinoxalinevi[@}{\@quinoxalinevi[acfhk]}} |
| 5367 |
\def\@quinoxalinevi[#1]#2{%but v--->vi 2013/03/22 |
| 5368 |
\iforigpt \typeout{command `quinoxalinevi' % |
| 5369 |
is based on `decaheterovi'.}\fi% |
| 5370 |
\decaheterovi[#1]{1==N;4==N}{#2}} |
| 5371 |
\def\quinoxalinevb{% |
| 5372 |
\@ifnextchar[{\@quinoxalinevb[@}{\@quinoxalinevb[acfhk]}} |
| 5373 |
\def\@quinoxalinevb[#1]#2{% |
| 5374 |
\iforigpt \typeout{command `quinoxalinevb' % |
| 5375 |
is based on `decaheterovb'.}\fi% |
| 5376 |
\decaheterovb[#1]{1==N;4==N}{#2}} |
| 5377 |
\def\quinoxalinevt{% |
| 5378 |
\@ifnextchar[{\@quinoxalinevt[@}{\@quinoxalinevt[acfhk]}} |
| 5379 |
\def\@quinoxalinevt[#1]#2{% |
| 5380 |
\iforigpt \typeout{command `quinoxalinevt' % |
| 5381 |
is based on `decaheterovt'.}\fi% |
| 5382 |
\decaheterovt[#1]{1==N;4==N}{#2}} |
| 5383 |
% \end{macrocode} |
| 5384 |
% \end{macro} |
| 5385 |
% \end{macro} |
| 5386 |
% \end{macro} |
| 5387 |
% \end{macro} |
| 5388 |
% |
| 5389 |
% \begin{macro}{\quinazolinev} |
| 5390 |
% \begin{macro}{\quinazolinevi} |
| 5391 |
% \begin{macro}{\quinazolinevb} |
| 5392 |
% \begin{macro}{\quinazolinevt} |
| 5393 |
% \changes{v1.02}{1998/10/18}{Newly added commands: |
| 5394 |
% \cs{quinazolinevb} and \cs{quinazolinevt}} |
| 5395 |
% \begin{macrocode} |
| 5396 |
\def\quinazolinev{% |
| 5397 |
\@ifnextchar[{\@quinazolinev[@}{\@quinazolinev[acfhk]}} |
| 5398 |
\def\@quinazolinev[#1]#2{% |
| 5399 |
\iforigpt \typeout{command `quinazolinev' % |
| 5400 |
is based on `decaheterov'.}\fi% |
| 5401 |
\decaheterov[#1]{1==N;3==N}{#2}} |
| 5402 |
\def\quinazolinevi{% |
| 5403 |
\@ifnextchar[{\@quinazolinevi[@}{\@quinazolinevi[acfhk]}} |
| 5404 |
\def\@quinazolinevi[#1]#2{% |
| 5405 |
\iforigpt \typeout{command `quinazolinevi' % |
| 5406 |
is based on `decaheterovi'.}\fi% |
| 5407 |
\decaheterovi[#1]{1==N;3==N}{#2}} |
| 5408 |
\def\quinazolinevb{% |
| 5409 |
\@ifnextchar[{\@quinazolinevb[@}{\@quinazolinevb[acfhk]}} |
| 5410 |
\def\@quinazolinevb[#1]#2{% |
| 5411 |
\iforigpt \typeout{command `quinazolinevb' % |
| 5412 |
is based on `decaheterovb'.}\fi% |
| 5413 |
\decaheterovb[#1]{1==N;3==N}{#2}} |
| 5414 |
\def\quinazolinevt{% |
| 5415 |
\@ifnextchar[{\@quinazolinevt[@}{\@quinazolinevt[acfhk]}} |
| 5416 |
\def\@quinazolinevt[#1]#2{% |
| 5417 |
\iforigpt \typeout{command `quinazolinevt' % |
| 5418 |
is based on `decaheterovt'.}\fi% |
| 5419 |
\decaheterovt[#1]{1==N;3==N}{#2}} |
| 5420 |
% \end{macrocode} |
| 5421 |
% \end{macro} |
| 5422 |
% \end{macro} |
| 5423 |
% \end{macro} |
| 5424 |
% \end{macro} |
| 5425 |
% |
| 5426 |
% \begin{macro}{\cinnolinev} |
| 5427 |
% \begin{macro}{\cinnolinevi} |
| 5428 |
% \begin{macro}{\cinnolinevb} |
| 5429 |
% \begin{macro}{\cinnolinevt} |
| 5430 |
% \changes{v1.02}{1998/10/18}{Newly added commands: |
| 5431 |
% \cs{cinnolinevb} and \cs{cinnolinevt}} |
| 5432 |
% \begin{macrocode} |
| 5433 |
\def\cinnolinev{% |
| 5434 |
\@ifnextchar[{\@cinnolinev[@}{\@cinnolinev[acfhk]}} |
| 5435 |
\def\@cinnolinev[#1]#2{% |
| 5436 |
\iforigpt \typeout{command `cinnolinev' % |
| 5437 |
is based on `decaheterov'.}\fi% |
| 5438 |
\decaheterov[#1]{1==N;2==N}{#2}} |
| 5439 |
\def\cinnolinevi{% |
| 5440 |
\@ifnextchar[{\@cinnolinevi[@}{\@cinnolinevi[acfhk]}} |
| 5441 |
\def\@cinnolinevi[#1]#2{% |
| 5442 |
\iforigpt \typeout{command `cinnolinevi' % |
| 5443 |
is based on `decaheterovi'.}\fi% |
| 5444 |
\decaheterovi[#1]{1==N;2==N}{#2}} |
| 5445 |
\def\cinnolinevb{% |
| 5446 |
\@ifnextchar[{\@cinnolinevb[@}{\@cinnolinevb[acfhk]}} |
| 5447 |
\def\@cinnolinevb[#1]#2{% |
| 5448 |
\iforigpt \typeout{command `cinnolinevb' % |
| 5449 |
is based on `decaheterovb'.}\fi% |
| 5450 |
\decaheterovb[#1]{1==N;2==N}{#2}} |
| 5451 |
\def\cinnolinevt{% |
| 5452 |
\@ifnextchar[{\@cinnolinevt[@}{\@cinnolinevt[acfhk]}} |
| 5453 |
\def\@cinnolinevt[#1]#2{% |
| 5454 |
\iforigpt \typeout{command `cinnolinevt' % |
| 5455 |
is based on `decaheterovt'.}\fi% |
| 5456 |
\decaheterovt[#1]{1==N;2==N}{#2}} |
| 5457 |
% \end{macrocode} |
| 5458 |
% \end{macro} |
| 5459 |
% \end{macro} |
| 5460 |
% \end{macro} |
| 5461 |
% \end{macro} |
| 5462 |
% |
| 5463 |
% \begin{macro}{\pteridinev} |
| 5464 |
% \begin{macro}{\pteridinevi} |
| 5465 |
% \begin{macro}{\pteridinevb} |
| 5466 |
% \begin{macro}{\pteridinevt} |
| 5467 |
% \changes{v1.02}{1998/10/18}{Newly added commands: |
| 5468 |
% \cs{pteridinevb} and \cs{pteridinevt}} |
| 5469 |
% \begin{macrocode} |
| 5470 |
\def\pteridinev{\@ifnextchar[{\@pteridinev[@}{\@pteridinev[acfhk]}} |
| 5471 |
\def\@pteridinev[#1]#2{% |
| 5472 |
\iforigpt \typeout{command `pteridinev' % |
| 5473 |
is based on `decaheterov'.}\fi% |
| 5474 |
\decaheterov[#1]{1==N;3==N;5==N;8==N}{#2}} |
| 5475 |
\def\pteridinevi{\@ifnextchar[{\@pteridinevi[@}{\@pteridinevi[acfhk]}} |
| 5476 |
\def\@pteridinevi[#1]#2{% |
| 5477 |
\iforigpt \typeout{command `pteridinevi' % |
| 5478 |
is based on `decaheterovi'.}\fi% |
| 5479 |
\decaheterovi[#1]{1==N;3==N;5==N;8==N}{#2}} |
| 5480 |
\def\pteridinevb{\@ifnextchar[{\@pteridinevb[@}{\@pteridinevb[acfhk]}} |
| 5481 |
\def\@pteridinevb[#1]#2{% |
| 5482 |
\iforigpt \typeout{command `pteridinevb' % |
| 5483 |
is based on `decaheterovb'.}\fi% |
| 5484 |
\decaheterovb[#1]{1==N;3==N;5==N;8==N}{#2}} |
| 5485 |
\def\pteridinevt{\@ifnextchar[{\@pteridinevt[@}{\@pteridinevt[acfhk]}} |
| 5486 |
\def\@pteridinevt[#1]#2{% |
| 5487 |
\iforigpt \typeout{command `pteridinevt' % |
| 5488 |
is based on `decaheterovt'.}\fi% |
| 5489 |
\decaheterovt[#1]{1==N;3==N;5==N;8==N}{#2}} |
| 5490 |
% \end{macrocode} |
| 5491 |
% \end{macro} |
| 5492 |
% \end{macro} |
| 5493 |
% \end{macro} |
| 5494 |
% \end{macro} |
| 5495 |
% |
| 5496 |
% \section{Six-to-five fused heterocycles} |
| 5497 |
% \subsection{Vertical type} |
| 5498 |
% |
| 5499 |
% The standard skeleton of a six-to-five fused heterocycle is selected |
| 5500 |
% to have the following locant numbers. |
| 5501 |
% |
| 5502 |
% \begin{verbatim} |
| 5503 |
% ************************** |
| 5504 |
% * nonahetero derivatives * |
| 5505 |
% * (vertical type) * |
| 5506 |
% ************************** |
| 5507 |
% The following numbering is adopted in this macro. |
| 5508 |
% |
| 5509 |
% 4 |
| 5510 |
% * 3a(8) |
| 5511 |
% 5 * * _____ 3 |
| 5512 |
% | | | |
| 5513 |
% | | | |
| 5514 |
% 6 * * * * 2 |
| 5515 |
% * 7a * |
| 5516 |
% 7 (9) 1 |
| 5517 |
% ^ |
| 5518 |
% | |
| 5519 |
% the original point |
| 5520 |
% \end{verbatim} |
| 5521 |
% |
| 5522 |
% The macro |\nonaheterov| has two arguments |ATOMLIST| and |SUBSLIST| |
| 5523 |
% as well as an optional argument |BONDLIST|. |
| 5524 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 5525 |
% treat stereochemical information or other bond situations. |
| 5526 |
% |
| 5527 |
% \begin{verbatim} |
| 5528 |
% \nonaheterov(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 5529 |
% \end{verbatim} |
| 5530 |
% |
| 5531 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 5532 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 5533 |
% character selected from bond specifiers `a' to `j' and a uppercase |
| 5534 |
% character `A' or `B'. |
| 5535 |
% |
| 5536 |
% The |BONDLIST| argument contains one |
| 5537 |
% character selected from a to j, each of which indicates the presence of |
| 5538 |
% an inner (endcyclic) double bond on the corresponding position. |
| 5539 |
% The options `A' and `B' represent aromatic circles in two rings. |
| 5540 |
% The option `$n+$' ($n=1$ to $9$) represents a plus charge on a hetero atom |
| 5541 |
% at the $n$-position. |
| 5542 |
% |
| 5543 |
% \begin{verbatim} |
| 5544 |
% BONDLIST: list of bonds |
| 5545 |
% |
| 5546 |
% none or r : aromatic six-membered ring |
| 5547 |
% [] : fully saturated form |
| 5548 |
% a : 1,2-double bond b : 2,3-double bond |
| 5549 |
% c : 3,3a-double bond d : 4,3a-double bond |
| 5550 |
% e : 4,5-double bond f : 5,6-double bond |
| 5551 |
% g : 6,7-double bond h : 7,7a-double bond |
| 5552 |
% i : 1,7a-double bond |
| 5553 |
% j : 3a,4a-double bond |
| 5554 |
% J : 3a,4a-double bond in the other ring |
| 5555 |
% A : aromatic circle (six-membered ring) |
| 5556 |
% B : aromatic circle (five-membered ring) |
| 5557 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 9) |
| 5558 |
% \end{verbatim} |
| 5559 |
% |
| 5560 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 5561 |
% which are separated from each other by a semicolon. Each heteroatom |
| 5562 |
% descriptor consists of a locant number and a heteroatom, |
| 5563 |
% where these are separated with a double equality symbol. |
| 5564 |
% |
| 5565 |
% \begin{verbatim} |
| 5566 |
% ATOMLIST: list of heteroatoms (max 9 atoms) |
| 5567 |
% |
| 5568 |
% for n = 1 to 7 |
| 5569 |
% |
| 5570 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 5571 |
% e.g. 1==N for N at 1-position |
| 5572 |
% na : Hetero atom at 3a or 7b (n=3 or 7) |
| 5573 |
% e.g. 3a==N (or 8==N) for N at 4a-position |
| 5574 |
% 7a==N (or 9==N) for N at 8a-position |
| 5575 |
% \end{verbatim} |
| 5576 |
% |
| 5577 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 5578 |
% which are separated from each other by a semicolon. Each substitution |
| 5579 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 5580 |
% where these are separated with a double equality symbol. |
| 5581 |
% |
| 5582 |
% \begin{verbatim} |
| 5583 |
% SUBSLIST: list of substituents |
| 5584 |
% |
| 5585 |
% for n = 1 to 8 |
| 5586 |
% |
| 5587 |
% nD : exocyclic double bond at n-atom |
| 5588 |
% n or nS : exocyclic single bond at n-atom |
| 5589 |
% nA : alpha single bond at n-atom |
| 5590 |
% nB : beta single bond at n-atom |
| 5591 |
% nSA : alpha single bond at n-atom (boldface) |
| 5592 |
% nSB : beta single bond at n-atom (dotted line) |
| 5593 |
% nSa : alpha (not specified) single bond at n-atom |
| 5594 |
% nSb : beta (not specified) single bond at n-atom |
| 5595 |
% |
| 5596 |
% nSd : alpha single bond at n-atom (dotted line) |
| 5597 |
% with an alternative direction to nSA |
| 5598 |
% nSu : beta single bond at n-atom (boldface) |
| 5599 |
% with an alternative direction to nSB |
| 5600 |
% nFA : alpha single bond at n-atom (dotted line) |
| 5601 |
% for ring fusion |
| 5602 |
% nFB : beta single bond at n-atom (boldface) |
| 5603 |
% for ring fusion |
| 5604 |
% nGA : alpha single bond at n-atom (dotted line) |
| 5605 |
% for the other ring fusion |
| 5606 |
% nGB : beta single bond at n-atom (boldface) |
| 5607 |
% for the other ring fusion |
| 5608 |
% |
| 5609 |
% for 8 (3a position) and 9 (7a position) |
| 5610 |
% |
| 5611 |
% nD : exocyclic double bond at n-atom |
| 5612 |
% n or nS : exocyclic single bond at n-atom |
| 5613 |
% nA : alpha single bond at n-atom |
| 5614 |
% nB : beta single bond at n-atom |
| 5615 |
% \end{verbatim} |
| 5616 |
% |
| 5617 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 5618 |
% The omitted edges may be regarded as both fused and non-fused |
| 5619 |
% positions. |
| 5620 |
% |
| 5621 |
% \begin{verbatim} |
| 5622 |
% OMIT: one or more bonds omitted (a to j: see BONDLIST) |
| 5623 |
% \end{verbatim} |
| 5624 |
% |
| 5625 |
% Several examples are shown as follows. |
| 5626 |
% \begin{verbatim} |
| 5627 |
% e.g. |
| 5628 |
% |
| 5629 |
% \nonaheterov{1==N}{1==Cl;2==F} |
| 5630 |
% \nonaheterov[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 5631 |
% \end{verbatim} |
| 5632 |
% |
| 5633 |
% The definition of |\nonaheterov| uses a picture environment and |
| 5634 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 5635 |
% \begin{enumerate} |
| 5636 |
% \item treatment of atom list, |
| 5637 |
% \item placing outer skeletons, |
| 5638 |
% \item placing inner double bonds, |
| 5639 |
% \item setting hetero atoms, and |
| 5640 |
% \item placing substituents by using |\setsixringv| several times in |
| 5641 |
% a restricted fashion. |
| 5642 |
% \end{enumerate} |
| 5643 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 5644 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 5645 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 5646 |
% \changes{v2.00}{1998/12/5}{Add: fused and spiro rings} |
| 5647 |
% \changes{v2.01}{2001/6/20}{The |
| 5648 |
% \cs{storeclipinfo} command is added.} |
| 5649 |
% |
| 5650 |
% \begin{macro}{\nonaheterov} |
| 5651 |
% \begin{macro}{\@nona@heterov} |
| 5652 |
% \begin{macro}{\@nona@@heterov} |
| 5653 |
% \begin{macro}{\@nonaheterov} |
| 5654 |
% \begin{macrocode} |
| 5655 |
\def\nonaheterov{\@ifnextchar({\@nona@heterov(@}{\@nona@heterov(@)}} |
| 5656 |
\def\@nona@heterov(#1){\@ifnextchar[{\@nona@@heterov(#1)[@}% |
| 5657 |
{\@nona@@heterov(#1)[@]}} |
| 5658 |
\def\@nona@@heterov(#1)[#2]#3#4{\@ifnextchar[% |
| 5659 |
{\@nonaheterov(#1)[#2]{#3}{#4}[@}% |
| 5660 |
{\@nonaheterov(#1)[#2]{#3}{#4}[@]}} |
| 5661 |
\def\@nonaheterov(#1)[#2]#3#4[#5]{% |
| 5662 |
% \end{macrocode} |
| 5663 |
% |
| 5664 |
% \begin{macrocode} |
| 5665 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5666 |
% % treatment of atom list % |
| 5667 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5668 |
\iniflag\iniatom% |
| 5669 |
\test@vertix@nonav{#3}% |
| 5670 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 5671 |
% % adjustment for (yl) % |
| 5672 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 5673 |
\@reset@ylsw% |
| 5674 |
\ylposition{#4}{5}{1}{5}{-1}% %substituents on 1 to 3 |
| 5675 |
\if@ylsw \ifx\@@ylii\empty\relax |
| 5676 |
\def\@@ylii{-342}\def\@@yli{0}\fi |
| 5677 |
\else |
| 5678 |
{\let\ddd=\eee\let\eee=\fff\let\fff=\gggA |
| 5679 |
\ylposition{#4}{11}{3}{7}{-1}% %substituents on 5 to 7 |
| 5680 |
}% |
| 5681 |
\fi |
| 5682 |
\if@ylsw \ifx\@@ylii\empty\relax |
| 5683 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 5684 |
\else |
| 5685 |
{\let\aaa=\hhh |
| 5686 |
\ylposition{#4}{-3}{0}{2}{0}%%substituent on 4 |
| 5687 |
}% |
| 5688 |
\fi |
| 5689 |
\if@ylsw \ifx\@@ylii\empty\relax |
| 5690 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 5691 |
\else |
| 5692 |
{% |
| 5693 |
\clipdetection% |
| 5694 |
\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 5695 |
\ylatombondposition{#4}{-8}{7}% %9 %for 7a position |
| 5696 |
}% |
| 5697 |
\fi |
| 5698 |
\if@ylsw \ifx\@@ylii\empty\relax |
| 5699 |
\def\@@ylii{-171}\def\@@yli{-103}\fi |
| 5700 |
\else |
| 5701 |
{% |
| 5702 |
\clipdetection% |
| 5703 |
\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 5704 |
\ylatombondposition{#4}{-7}{1}% %8 for 3a position |
| 5705 |
}% |
| 5706 |
\fi |
| 5707 |
\if@ylsw \ifx\@@ylii\empty\relax |
| 5708 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 5709 |
\fi |
| 5710 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 5711 |
(1200,880)(-\shiftii,-\shifti){nonaheterov}%2002/4/30 by S. Fujita |
| 5712 |
% \end{macrocode} |
| 5713 |
% |
| 5714 |
% \begin{macrocode} |
| 5715 |
% %%%%%%%%%%%%%%%%%% |
| 5716 |
% % outer skeleton % |
| 5717 |
% %%%%%%%%%%%%%%%%%% |
| 5718 |
\begingroup |
| 5719 |
\resetbdsw% |
| 5720 |
\@bond@@omit{#5}% |
| 5721 |
{\let\fff=\jjj \let\eee=\iii% |
| 5722 |
\Put@Direct(342,0){\set@skel@bond{#1}{a}{c}}% |
| 5723 |
% bond between 1 and 2 \@aaa -> \skbondc etc |
| 5724 |
\Put@Direct(342,0){\set@skel@bond{#1}{b}{b}}% |
| 5725 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 5726 |
\Put@Direct(342,0){\set@skel@longbond{#1}{c}{skbondhoriz}}% |
| 5727 |
% bond between 3 and 3a \@ccc -> \skbondhoriz etc |
| 5728 |
\Put@Direct(342,0){\set@skel@bond{#1}{j}{e}}% |
| 5729 |
% bond between 3a and 7a \@jjj -> \skbonde etc |
| 5730 |
\Put@Direct(342,0){\set@skel@bond{#1}{i}{d}}% |
| 5731 |
% bond between 7a and 1 \@iii -> \skbondd etc |
| 5732 |
}% |
| 5733 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA% |
| 5734 |
\let\ccc=\iii\let\bbb=\jjj% |
| 5735 |
\set@skel@bond{#1}{d}{a}% bond between 3a and 4 \@ddd -> \skbonda etc |
| 5736 |
\set@skel@bond{#1}{h}{c}% bond between 7 and 7a \@hhh -> \skbondc etc |
| 5737 |
\set@skel@bond{#1}{g}{d}% bond between 6 and 7 \@ggg -> \skbondd etc |
| 5738 |
\set@skel@bond{#1}{f}{e}% bond between 5 and 6 \@fff -> \skbonde etc |
| 5739 |
\set@skel@bond{#1}{e}{f}% bond between 4 and 5 \@eee -> \skbondf etc |
| 5740 |
}% |
| 5741 |
\endgroup |
| 5742 |
% \end{macrocode} |
| 5743 |
% |
| 5744 |
% \begin{macrocode} |
| 5745 |
% %%%%%%%%%%%%%%%%%%%%% |
| 5746 |
% % inner double bond % |
| 5747 |
% %%%%%%%%%%%%%%%%%%%%% |
| 5748 |
\@tfor\member:=#2\do{% |
| 5749 |
\if\member r\relax% |
| 5750 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA% |
| 5751 |
\let\ccc=\iii\let\bbb=\jjj% |
| 5752 |
\Put@Direct(0,0){\bondb}% bond between 3a and 7a |
| 5753 |
\Put@Direct(0,0){\bondf}% bond between 4 and 5 |
| 5754 |
\Put@Direct(0,0){\bondd}% bond between 6 and 7 |
| 5755 |
}% |
| 5756 |
\else\if\member l\relax% |
| 5757 |
\else\if\member a\relax% |
| 5758 |
\Put@Direct(342,0){\bondc}% bond between 3 and 4 |
| 5759 |
\else\if\member b\relax% |
| 5760 |
\Put@Direct(342,0){\bondb}% bond between 2 and 3 |
| 5761 |
\else\if\member c\relax% |
| 5762 |
\Put@Direct(342,0){\bondhoriz}% bond between 3 and 3a |
| 5763 |
\else\if\member d\relax% |
| 5764 |
{\let\aaa=\hhh \let\bbb=\jjj% |
| 5765 |
\Put@Direct(0,0){\bonda}% bond between 4 and 3a |
| 5766 |
}% |
| 5767 |
\else\if\member e\relax% |
| 5768 |
{\let\aaa=\hhh \let\fff=\gggA% |
| 5769 |
\Put@Direct(0,0){\bondf}% bond between 4 and 5 |
| 5770 |
}% |
| 5771 |
\else\if\member f\relax% |
| 5772 |
{\let\eee=\fff \let\fff=\gggA% |
| 5773 |
\Put@Direct(0,0){\bonde}% bond between 5 and 6 |
| 5774 |
}% |
| 5775 |
\else\if\member g\relax% |
| 5776 |
{\let\ddd=\eee \let\eee=\fff% |
| 5777 |
\Put@Direct(0,0){\bondd}% bond between 6 and 7 |
| 5778 |
}% |
| 5779 |
\else\if\member h\relax% |
| 5780 |
{\let\ccc=\iii \let\ddd=\eee% |
| 5781 |
\Put@Direct(0,0){\bondc}% bond between 7 and 7a |
| 5782 |
}% |
| 5783 |
\else\if\member i\relax% |
| 5784 |
{\let\eee=\iii% |
| 5785 |
\Put@Direct(342,0){\bondd}% bond between 1 and 7a |
| 5786 |
}% |
| 5787 |
\else\if\member j\relax% |
| 5788 |
{\let\ccc=\iii\let\bbb=\jjj% |
| 5789 |
\Put@Direct(0,0){\bondb}% bond between 7a and 3a |
| 5790 |
}% |
| 5791 |
\else\if\member J\relax% |
| 5792 |
{\let\eee=\iii\let\fff=\jjj% |
| 5793 |
\Put@Direct(342,0){\bonde}% bond between 7a and 3a |
| 5794 |
}% |
| 5795 |
\else\if\member A\relax%left aromatic circle |
| 5796 |
\Put@oCircle(0,203){240}% %circle |
| 5797 |
\else\if\member B\relax%left aromatic circle |
| 5798 |
\Put@oCircle(342,173){180}% %circle 1993/11/20 S.Fujita |
| 5799 |
\else |
| 5800 |
\expandafter\twoCH@@R\member//% |
| 5801 |
\def\aax{7a}\def\aay{3a}% |
| 5802 |
\if\@@tmpa 1\relax% |
| 5803 |
\putratom{304}{68}{\@@tmpb}% % right type |
| 5804 |
\else\if\@@tmpa 2\relax% |
| 5805 |
\putratom{402}{120}{\@@tmpb}% % right type |
| 5806 |
\else\if\@@tmpa 3\relax% |
| 5807 |
\putratom{402}{253}{\@@tmpb}% % right type |
| 5808 |
\else\if\@@tmpa 4\relax% |
| 5809 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 5810 |
\else\if\@@tmpa 5\relax% |
| 5811 |
\putlatom{-60}{120}{\@@tmpb}% % left type |
| 5812 |
\else\if\@@tmpa 6\relax% |
| 5813 |
\putlatom{-60}{253}{\@@tmpb}% % left type |
| 5814 |
\else\if\@@tmpa 7\relax% |
| 5815 |
\putratom{-38}{68}{\@@tmpb}% % right type |
| 5816 |
\else\if\@@tmpa 8\relax% |
| 5817 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 5818 |
\else\ifx\@@tmpa\aax\relax% |
| 5819 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 5820 |
\else\ifx\@@tmpa\aay\relax% |
| 5821 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 5822 |
\else\if\@@tmpa 9\relax% |
| 5823 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 5824 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 5825 |
% *********************** |
| 5826 |
% * setting fused rings * |
| 5827 |
% *********************** |
| 5828 |
\expandafter\twoCH@R\member//% |
| 5829 |
\set@fusion@nonav |
| 5830 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 5831 |
\fi\fi\fi\fi\fi\fi% |
| 5832 |
}% |
| 5833 |
% \end{macrocode} |
| 5834 |
% |
| 5835 |
% \begin{macrocode} |
| 5836 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5837 |
% % setting hetero atoms and spiro rings % |
| 5838 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5839 |
\iniflag\iniatom% |
| 5840 |
\@tmpclipfalse |
| 5841 |
%position 7 should be treated before |
| 5842 |
%position 1 (using the same \if@clip) |
| 5843 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{11}{3}{7}{-1}% |
| 5844 |
% \@gclipfalse \if@fclip \global\@gcliptrue \fi% |
| 5845 |
% \@fclipfalse \if@eclip \global\@fcliptrue \fi% |
| 5846 |
% \@eclipfalse \if@clip \global\@ecliptrue \fi% |
| 5847 |
\@gclipfalse \if@fclip \@gcliptrue \fi% |
| 5848 |
\@fclipfalse \if@eclip \@fcliptrue \fi% |
| 5849 |
\@eclipfalse \if@clip \@ecliptrue \fi% |
| 5850 |
\@clipfalse%2006/9/5added |
| 5851 |
\storeclipinfo |
| 5852 |
}%substituents on 5 to 7 |
| 5853 |
%\developclipinfo%2006/9/5 deleted |
| 5854 |
\Put@Direct(342,0){\set@hetatom@sixv{#3}{5}{1}{5}{-1}% |
| 5855 |
% \if@bclip \global\@bcliptrue\fi |
| 5856 |
% \if@cclip \global\@ccliptrue\fi |
| 5857 |
% \if@clip \global\@cliptrue\fi |
| 5858 |
\storeclipinfo |
| 5859 |
}% %substituents on 1 to 3 |
| 5860 |
%\developclipinfo%2006/9/5 deleted |
| 5861 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{-3}{0}{2}{0}% |
| 5862 |
% \@aclipfalse \if@aclip \global\@hcliptrue \fi% |
| 5863 |
\@hclipfalse \if@aclip \@hcliptrue \fi% |
| 5864 |
\storeclipinfo |
| 5865 |
}%%substituent on 4 |
| 5866 |
%\developclipinfo%2006/9/5 deleted |
| 5867 |
\Put@Direct(0,0){\set@vrtx@nonafusev{#3}% |
| 5868 |
\@tmpclipfalse |
| 5869 |
% \if@iclip \global\@tmpcliptrue \fi |
| 5870 |
% \if@jclip \global\@icliptrue \fi |
| 5871 |
% \if@tmpclip \global\@jcliptrue \fi |
| 5872 |
\if@iclip \@tmpcliptrue \fi |
| 5873 |
% \if@jclip \@icliptrue \fi |
| 5874 |
% \if@tmpclip \@jcliptrue \fi |
| 5875 |
\if@jclip \@icliptrue \else \@iclipfalse \fi |
| 5876 |
\if@tmpclip \@jcliptrue \else \@jclipfalse \fi |
| 5877 |
\storeclipinfo |
| 5878 |
%%%====\clipinfo====%%%2006/9/5test |
| 5879 |
}% fused positions |
| 5880 |
\developclipinfo |
| 5881 |
% \end{macrocode} |
| 5882 |
% |
| 5883 |
% \begin{macrocode} |
| 5884 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5885 |
% % setting substituents and exocyclic bonds % |
| 5886 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5887 |
\Put@Direct(342,0){\setsixringv{#4}{5}{1}{5}{-1}}% %substituents on 1 to 3 |
| 5888 |
{\@clipfalse \if@eclip \@cliptrue \fi% %substituents on 5 to 7 |
| 5889 |
\@eclipfalse \if@fclip \@ecliptrue \fi% |
| 5890 |
\@fclipfalse \if@gclip \@fcliptrue \fi% |
| 5891 |
\Put@Direct(0,0){\setsixringv{#4}{11}{3}{7}{-1}}% |
| 5892 |
}% |
| 5893 |
{\@aclipfalse \if@hclip \@acliptrue \fi% %substituent on 4 |
| 5894 |
\Put@Direct(0,0){\setsixringv{#4}{-3}{0}{2}{0}}% |
| 5895 |
}% |
| 5896 |
{\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 5897 |
\Put@Direct(171,103){\setatombond{#4}{-8}{7}}% %9 for 7a position |
| 5898 |
}% |
| 5899 |
{\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 5900 |
\Put@Direct(171,303){\setatombond{#4}{-7}{1}}% %8 for 3a position |
| 5901 |
}% |
| 5902 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \nonaheterov macro |
| 5903 |
% \end{macrocode} |
| 5904 |
% \end{macro} |
| 5905 |
% \end{macro} |
| 5906 |
% \end{macro} |
| 5907 |
% \end{macro} |
| 5908 |
% |
| 5909 |
% The macro |\test@vertix@nonav| is used to test the presence of |
| 5910 |
% a hetero atom or a spiro substituent on a vertex of the |
| 5911 |
% nonaheterov nucleus. |
| 5912 |
% \changes{v2.00}{1998/12/05}{New command: \cs{test@vertix@nonav}} |
| 5913 |
% |
| 5914 |
% \begin{macro}{\test@vertix@nonav} |
| 5915 |
% \begin{macrocode} |
| 5916 |
\def\test@vertix@nonav#1{% |
| 5917 |
\@forsemicol\member:=#1\do{% |
| 5918 |
\ifx\member\empty\else% |
| 5919 |
\expandafter\@m@mb@r\member;\relax% |
| 5920 |
\expandafter\twoch@r\@membera{}% |
| 5921 |
\ifcase\@tmpa% |
| 5922 |
\or% |
| 5923 |
\if\@tmpb s\relax\def\ddd{}\else\def\ddd{@}\fi |
| 5924 |
\or%2 |
| 5925 |
\if\@tmpb s\relax\def\ccc{}\else\def\ccc{@}\fi |
| 5926 |
\or%3% |
| 5927 |
\if\@tmpb a\relax% |
| 5928 |
\def\jjj{@}%3a |
| 5929 |
\else\if\@tmpb s\relax% |
| 5930 |
\def\bbb{}%3 |
| 5931 |
\else\if\@tmpb h\relax% |
| 5932 |
\def\bbb{@}%3 |
| 5933 |
\else\ifx\@tmpb\empty\relax% |
| 5934 |
\def\bbb{@}%3 |
| 5935 |
\fi\fi\fi\fi% |
| 5936 |
\or%4 |
| 5937 |
\if\@tmpb s\relax\def\hhh{}\else\def\hhh{@}\fi |
| 5938 |
\or%5 |
| 5939 |
\if\@tmpb s\relax\def\gggA{}\else\def\gggA{@}\fi |
| 5940 |
\or%6 |
| 5941 |
\if\@tmpb s\relax\def\fff{}\else\def\fff{@}\fi |
| 5942 |
\or%7 |
| 5943 |
\if\@tmpb a% |
| 5944 |
\xdef\iii{@}%7a |
| 5945 |
\else\if\@tmpb s\relax% |
| 5946 |
\xdef\eee{}%7s |
| 5947 |
\else\if\@tmpb h\relax% |
| 5948 |
\xdef\eee{@}%7h |
| 5949 |
\else\ifx\@tmpb\empty\relax% |
| 5950 |
\xdef\eee{@}%7 |
| 5951 |
\fi\fi\fi\fi% |
| 5952 |
\or%8 (= 3a) |
| 5953 |
\if\@tmpb s\relax\def\jjj{}\else\def\jjj{@}\fi |
| 5954 |
\or%9 (= 7a) |
| 5955 |
\if\@tmpb s\relax\def\iii{}\else\def\iii{@}\fi |
| 5956 |
\fi\fi}}% end of \test@vertix@nonav |
| 5957 |
% \end{macrocode} |
| 5958 |
% \end{macro} |
| 5959 |
% |
| 5960 |
% The macro |\set@vrtx@nonafusev| is used to set |
| 5961 |
% a hetero atom or on a vertex of a bridgehead location. |
| 5962 |
% |
| 5963 |
% \begin{macro}{\set@vrtx@nonafusev} |
| 5964 |
% \begin{macrocode} |
| 5965 |
\def\set@vrtx@nonafusev#1{% |
| 5966 |
\@forsemicol\member:=#1\do{% |
| 5967 |
\ifx\member\empty \relax\else% |
| 5968 |
\expandafter\@m@mb@r\member;\relax% |
| 5969 |
\expandafter\twoch@r\@membera{}% |
| 5970 |
\ifcase\@tmpa\or\or |
| 5971 |
\or%%%%3 |
| 5972 |
\if\@tmpb a\relax% |
| 5973 |
% \global\@icliptrue% |
| 5974 |
\@icliptrue%20001/06/20 by S. Fujita |
| 5975 |
\putlatom{207}{280}{\@memberb}% % left type |
| 5976 |
\else\relax |
| 5977 |
\fi |
| 5978 |
\or\or\or |
| 5979 |
\or%7 |
| 5980 |
\if\@tmpb a\relax% |
| 5981 |
% \global\@jcliptrue% |
| 5982 |
\@jcliptrue%%20001/06/20 by S. Fujita |
| 5983 |
\putlatom{207}{65}{\@memberb}% % left type |
| 5984 |
\else\relax |
| 5985 |
\fi |
| 5986 |
\or%8 (= 3a) |
| 5987 |
% \global\@icliptrue% |
| 5988 |
\@icliptrue%%20001/06/20 by S. Fujita |
| 5989 |
\putlatom{207}{280}{\@memberb}% % left type |
| 5990 |
\or%9 (= 7a) |
| 5991 |
% \global\@jcliptrue% |
| 5992 |
\@jcliptrue%%20001/06/20 by S. Fujita |
| 5993 |
\putlatom{207}{65}{\@memberb}% % left type |
| 5994 |
\fi\fi}% |
| 5995 |
}% end of the macro \set@vrtx@nonafusev |
| 5996 |
% \end{macrocode} |
| 5997 |
% \end{macro} |
| 5998 |
% |
| 5999 |
% \subsection{Inverse vertical type} |
| 6000 |
% |
| 6001 |
% The standard skeleton of a six-to-five fused heterocycle is selected |
| 6002 |
% to have the following locant numbers. |
| 6003 |
% |
| 6004 |
% \begin{verbatim} |
| 6005 |
% ********************************** |
| 6006 |
% * nonahetero derivatives * |
| 6007 |
% * (vertical type, inverse type) * |
| 6008 |
% ********************************** |
| 6009 |
% The following numbering is adopted in this macro. |
| 6010 |
% |
| 6011 |
% 7(10) 1 |
| 6012 |
% * 7a * |
| 6013 |
% 6 * * * * 2 |
| 6014 |
% | | | |
| 6015 |
% | |_____| |
| 6016 |
% 5 * * 3 |
| 6017 |
% * 3a(8) |
| 6018 |
% 4 |
| 6019 |
% ^ |
| 6020 |
% | |
| 6021 |
% the original point |
| 6022 |
% \end{verbatim} |
| 6023 |
% |
| 6024 |
% The macro |\nonaheterovi| has two arguments |ATOMLIST| and |SUBSLIST| |
| 6025 |
% as well as an optional argument |BONDLIST|. |
| 6026 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 6027 |
% treat stereochemical information or other bond situations. |
| 6028 |
% |
| 6029 |
% \begin{verbatim} |
| 6030 |
% \nonaheterovi(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 6031 |
% \end{verbatim} |
| 6032 |
% |
| 6033 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 6034 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 6035 |
% character selected from bond specifiers `a' to `j' and a uppercase |
| 6036 |
% character `A' or `B'. |
| 6037 |
% |
| 6038 |
% The |BONDLIST| argument contains one |
| 6039 |
% character selected from a to j, each of which indicates the presence of |
| 6040 |
% an inner (endcyclic) double bond on the corresponding position. |
| 6041 |
% The options `A' and `B' represent aromatic circles in two rings. |
| 6042 |
% The option `$n+$' ($n=1$ to $9$) represents a plus charge on a hetero atom |
| 6043 |
% at the $n$-position. |
| 6044 |
% |
| 6045 |
% \begin{verbatim} |
| 6046 |
% BONDLIST: list of bonds |
| 6047 |
% |
| 6048 |
% none or r : aromatic six-membered ring |
| 6049 |
% [] : fully saturated form |
| 6050 |
% a : 1,2-double bond b : 2,3-double bond |
| 6051 |
% c : 3,3a-double bond d : 4,3a-double bond |
| 6052 |
% e : 4,5-double bond f : 5,6-double bond |
| 6053 |
% g : 6,7-double bond h : 7,7a-double bond |
| 6054 |
% i : 1,7a-double bond |
| 6055 |
% j : 3a,4a-double bond |
| 6056 |
% J : 3a,4a-double bond in the other ring |
| 6057 |
% A : aromatic circle (six-membered ring) |
| 6058 |
% B : aromatic circle (five-membered ring) |
| 6059 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 9) |
| 6060 |
% \end{verbatim} |
| 6061 |
% |
| 6062 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 6063 |
% which are separated from each other by a semicolon. Each heteroatom |
| 6064 |
% descriptor consists of a locant number and a heteroatom, |
| 6065 |
% where these are separated with a double equality symbol. |
| 6066 |
% |
| 6067 |
% \begin{verbatim} |
| 6068 |
% ATOMLIST: list of heteroatoms (max 9 atoms) |
| 6069 |
% |
| 6070 |
% for n = 1 to 7 |
| 6071 |
% |
| 6072 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 6073 |
% e.g. 1==N for N at 1-position |
| 6074 |
% na : Hetero atom at 3a or 7b (n=3 or 7) |
| 6075 |
% e.g. 3a==N (or 8==N) for N at 4a-position |
| 6076 |
% 7a==N (or 9==N) for N at 8a-position |
| 6077 |
% \end{verbatim} |
| 6078 |
% |
| 6079 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 6080 |
% which are separated from each other by a semicolon. Each substitution |
| 6081 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 6082 |
% where these are separated with a double equality symbol. |
| 6083 |
% |
| 6084 |
% \begin{verbatim} |
| 6085 |
% SUBSLIST: list of substituents |
| 6086 |
% |
| 6087 |
% for n = 1 to 8 |
| 6088 |
% |
| 6089 |
% nD : exocyclic double bond at n-atom |
| 6090 |
% n or nS : exocyclic single bond at n-atom |
| 6091 |
% nA : alpha single bond at n-atom |
| 6092 |
% nB : beta single bond at n-atom |
| 6093 |
% nSA : alpha single bond at n-atom (boldface) |
| 6094 |
% nSB : beta single bond at n-atom (dotted line) |
| 6095 |
% nSa : alpha (not specified) single bond at n-atom |
| 6096 |
% nSb : beta (not specified) single bond at n-atom |
| 6097 |
% |
| 6098 |
% nSd : alpha single bond at n-atom (dotted line) |
| 6099 |
% with an alternative direction to nSA |
| 6100 |
% nSu : beta single bond at n-atom (boldface) |
| 6101 |
% with an alternative direction to nSB |
| 6102 |
% nFA : alpha single bond at n-atom (dotted line) |
| 6103 |
% for ring fusion |
| 6104 |
% nFB : beta single bond at n-atom (boldface) |
| 6105 |
% for ring fusion |
| 6106 |
% nGA : alpha single bond at n-atom (dotted line) |
| 6107 |
% for the other ring fusion |
| 6108 |
% nGB : beta single bond at n-atom (boldface) |
| 6109 |
% for the other ring fusion |
| 6110 |
% |
| 6111 |
% for 8 (3a position) and 9 (7a position) |
| 6112 |
% |
| 6113 |
% nD : exocyclic double bond at n-atom |
| 6114 |
% n or nS : exocyclic single bond at n-atom |
| 6115 |
% nA : alpha single bond at n-atom |
| 6116 |
% nB : beta single bond at n-atom |
| 6117 |
% \end{verbatim} |
| 6118 |
% |
| 6119 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 6120 |
% The omitted edges may be regarded as both fused and non-fused |
| 6121 |
% positions. |
| 6122 |
% |
| 6123 |
% \begin{verbatim} |
| 6124 |
% OMIT: one or more bonds omitted (a to j: see BONDLIST) |
| 6125 |
% \end{verbatim} |
| 6126 |
% |
| 6127 |
% Several examples are shown as follows. |
| 6128 |
% \begin{verbatim} |
| 6129 |
% e.g. |
| 6130 |
% |
| 6131 |
% \nonaheterovi{1==N}{1==Cl;2==F} |
| 6132 |
% \nonaheterovi[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 6133 |
% \end{verbatim} |
| 6134 |
% |
| 6135 |
% The definition of |\nonaheterovi| uses a picture environment and |
| 6136 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 6137 |
% \begin{enumerate} |
| 6138 |
% \item treatment of atom list, |
| 6139 |
% \item placing outer skeletons, |
| 6140 |
% \item placing inner double bonds, |
| 6141 |
% \item setting hetero atoms, and |
| 6142 |
% \item placing substituents by using |\setsixringv| several times in |
| 6143 |
% a restricted fashion. |
| 6144 |
% \end{enumerate} |
| 6145 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 6146 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 6147 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 6148 |
% \changes{v2.00}{1998/12/05}{Added: spiro and fused rings} |
| 6149 |
% \changes{v2.01}{2001/6/20}{The |
| 6150 |
% \cs{storeclipinfo} command is added.} |
| 6151 |
% |
| 6152 |
% \begin{macro}{\nonaheterovi} |
| 6153 |
% \begin{macro}{\@nona@heterovi} |
| 6154 |
% \begin{macro}{\@nona@@heterovi} |
| 6155 |
% \begin{macro}{\@nonaheterovi} |
| 6156 |
% \begin{macrocode} |
| 6157 |
\def\nonaheterovi{\@ifnextchar({\@nona@heterovi(@}{\@nona@heterovi(@)}} |
| 6158 |
\def\@nona@heterovi(#1){\@ifnextchar[{\@nona@@heterovi(#1)[@}% |
| 6159 |
{\@nona@@heterovi(#1)[@]}} |
| 6160 |
\def\@nona@@heterovi(#1)[#2]#3#4{\@ifnextchar[% |
| 6161 |
{\@nonaheterovi(#1)[#2]{#3}{#4}[@}% |
| 6162 |
{\@nonaheterovi(#1)[#2]{#3}{#4}[@]}} |
| 6163 |
\def\@nonaheterovi(#1)[#2]#3#4[#5]{% |
| 6164 |
% \end{macrocode} |
| 6165 |
% |
| 6166 |
% \begin{macrocode} |
| 6167 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 6168 |
% % treatment of atom list % |
| 6169 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 6170 |
\iniflag\iniatom%initialize |
| 6171 |
\test@vertix@nonavi{#3}% |
| 6172 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 6173 |
% % adjustment for (yl) % |
| 6174 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 6175 |
\@reset@ylsw% |
| 6176 |
\ylposition{#4}{0}{0}{4}{0}% %substituents on 1 to 3 |
| 6177 |
\if@ylsw \ifx\@@ylii\empty |
| 6178 |
\def\@@ylii{-342}\def\@@yli{0}\fi |
| 6179 |
\else |
| 6180 |
{\let\ddd=\eee\let\eee=\fff\let\fff=\gggA |
| 6181 |
\ylposition{#4}{0}{3}{7}{0}%%substituents on 4 to 6 |
| 6182 |
}% |
| 6183 |
\fi |
| 6184 |
\if@ylsw \ifx\@@ylii\empty |
| 6185 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 6186 |
\else |
| 6187 |
{\let\aaa=\hhh |
| 6188 |
\ylposition{#4}{-6}{0}{2}{0}%%substituent on 7 |
| 6189 |
}% |
| 6190 |
\fi |
| 6191 |
\if@ylsw \ifx\@@ylii\empty |
| 6192 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 6193 |
\else |
| 6194 |
{% |
| 6195 |
\clipdetection% |
| 6196 |
\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 6197 |
\ylatombondposition{#4}{-7}{7}% %8 for 3a position |
| 6198 |
}% |
| 6199 |
\fi |
| 6200 |
\if@ylsw \ifx\@@ylii\empty |
| 6201 |
\def\@@ylii{-171}\def\@@yli{-103}\fi |
| 6202 |
\else |
| 6203 |
{% |
| 6204 |
\clipdetection% |
| 6205 |
\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 6206 |
\ylatombondposition{#4}{-8}{1}% %9 for 7a position |
| 6207 |
}% |
| 6208 |
\fi |
| 6209 |
\if@ylsw \ifx\@@ylii\empty |
| 6210 |
\def\@@ylii{-171}\def\@@yli{-303}\fi |
| 6211 |
\fi |
| 6212 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 6213 |
(1200,880)(-\shiftii,-\shifti){nonaheterovi}%2002/4/30 by S. Fujita |
| 6214 |
% \end{macrocode} |
| 6215 |
% |
| 6216 |
% \begin{macrocode} |
| 6217 |
% %%%%%%%%%%%%%%%%%% |
| 6218 |
% % outer skeleton % |
| 6219 |
% %%%%%%%%%%%%%%%%%% |
| 6220 |
\begingroup |
| 6221 |
\resetbdsw% |
| 6222 |
\@bond@@omit{#5}% |
| 6223 |
{\let\fff=\jjj \let\eee=\iii% |
| 6224 |
\Put@Direct(342,0){\set@skel@bond{#1}{a}{a}}% |
| 6225 |
% bond between 1 and 2 \@aaa -> \skbonda etc |
| 6226 |
\Put@Direct(342,0){\set@skel@bond{#1}{b}{b}}% |
| 6227 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 6228 |
\Put@Direct(342,0){\set@skel@longbond{#1}{c}{skbondhorizi}}% |
| 6229 |
% bond between 3 and 3a \@ccc -> \skbondhoriz etc |
| 6230 |
\Put@Direct(342,0){\set@skel@bond{#1}{j}{e}}% |
| 6231 |
% bond between 3a and 7a \@jjj -> \skbonde etc |
| 6232 |
\Put@Direct(342,0){\set@skel@bond{#1}{i}{f}}% |
| 6233 |
% bond between 7a and 1 \@iii -> \skbondf etc |
| 6234 |
}% |
| 6235 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA% |
| 6236 |
\let\ccc=\iii\let\bbb=\jjj% |
| 6237 |
\set@skel@bond{#1}{h}{a}% bond between 7a and 7 \@hhh -> \skbonda etc |
| 6238 |
\set@skel@bond{#1}{d}{c}% bond between 3a and 4 \@ddd -> \skbondc etc |
| 6239 |
\set@skel@bond{#1}{e}{d}% bond between 4 and 5 \@eee -> \skbondd etc |
| 6240 |
\set@skel@bond{#1}{f}{e}% bond between 5 and 6 \@fff -> \skbonde etc |
| 6241 |
\set@skel@bond{#1}{g}{f}% bond between 6 and 7 \@ggg -> \skbondf etc |
| 6242 |
}% |
| 6243 |
\endgroup |
| 6244 |
% \end{macrocode} |
| 6245 |
% |
| 6246 |
% \begin{macrocode} |
| 6247 |
% %%%%%%%%%%%%%%%%%%%%% |
| 6248 |
% % inner double bond % |
| 6249 |
% %%%%%%%%%%%%%%%%%%%%% |
| 6250 |
\@tfor\member:=#2\do{% |
| 6251 |
\if\member r\relax% |
| 6252 |
{\let\aaa=\hhh \let\ddd=\eee\let\eee=\fff\let\fff=\gggA |
| 6253 |
\let\ccc=\iii\let\bbb=\jjj |
| 6254 |
\Put@Direct(0,0){\bondb}% bond between 3a and 7a |
| 6255 |
\Put@Direct(0,0){\bondf}% bond between 6 and 7 |
| 6256 |
\Put@Direct(0,0){\bondd}% bond between 4 and 5 |
| 6257 |
}% |
| 6258 |
\else\if\member l\relax% |
| 6259 |
\else\if\member a\relax% |
| 6260 |
\Put@Direct(342,0){\bonda}% bond between 1 and 2 |
| 6261 |
\else\if\member b\relax% |
| 6262 |
\Put@Direct(342,0){\bondb}% bond between 2 and 3 |
| 6263 |
\else\if\member c\relax% |
| 6264 |
\Put@Direct(342,0){\bondhorizi}% bond between 3 and 3a |
| 6265 |
\else\if\member d\relax% |
| 6266 |
{\let\ccc=\iii \let\ddd=\eee% |
| 6267 |
\Put@Direct(0,0){\bondc}% bond between 4 and 3a |
| 6268 |
}% |
| 6269 |
\else\if\member e\relax% |
| 6270 |
{\let\ddd=\eee\let\eee=\fff% |
| 6271 |
\Put@Direct(0,0){\bondd}% bond between 4 and 5 |
| 6272 |
}% |
| 6273 |
\else\if\member f\relax% |
| 6274 |
{\let\eee=\fff \let\fff=\gggA% |
| 6275 |
\Put@Direct(0,0){\bonde}% bond between 5 and 6 |
| 6276 |
}% |
| 6277 |
\else\if\member g\relax% |
| 6278 |
{\let\aaa=\hhh \let\fff=\gggA% |
| 6279 |
\Put@Direct(0,0){\bondf}% bond between 7 and 6 |
| 6280 |
}% |
| 6281 |
\else\if\member h\relax% |
| 6282 |
{\let\aaa=\hhh \let\bbb=\jjj% |
| 6283 |
\Put@Direct(0,0){\bonda}% bond between 7 and 7a |
| 6284 |
}% |
| 6285 |
\else\if\member i\relax% |
| 6286 |
{\let\fff=\jjj% |
| 6287 |
\Put@Direct(342,0){\bondf}% bond between 1 and 7a |
| 6288 |
}% |
| 6289 |
\else\if\member j\relax% |
| 6290 |
{\let\ccc=\iii\let\bbb=\jjj% |
| 6291 |
\Put@Direct(0,0){\bondb}% bond between 7a and 3a |
| 6292 |
}% |
| 6293 |
\else\if\member J\relax% |
| 6294 |
{\let\eee=\iii\let\fff=\jjj% |
| 6295 |
\Put@Direct(342,0){\bonde}% bond between 7a and 3a |
| 6296 |
}% |
| 6297 |
\else\if\member A\relax%left aromatic circle |
| 6298 |
\Put@oCircle(0,203){240}% %circle |
| 6299 |
\else\if\member B\relax%left aromatic circle |
| 6300 |
\Put@oCircle(342,233){180}% %circle 1993/11/20 S.Fujita |
| 6301 |
\else |
| 6302 |
\expandafter\twoCH@@R\member//% |
| 6303 |
\def\aax{7a}\def\aay{3a}% |
| 6304 |
\if\@@tmpa 1\relax% |
| 6305 |
\putratom{304}{282}{\@@tmpb}% % right type |
| 6306 |
\else\if\@@tmpa 3\relax% |
| 6307 |
\putratom{402}{120}{\@@tmpb}% % right type |
| 6308 |
\else\if\@@tmpa 2\relax% |
| 6309 |
\putratom{402}{253}{\@@tmpb}% % right type |
| 6310 |
\else\if\@@tmpa 7\relax% |
| 6311 |
\putratom{-38}{282}{\@@tmpb}% % right type |
| 6312 |
\else\if\@@tmpa 6\relax% |
| 6313 |
\putlatom{-60}{120}{\@@tmpb}% % left type |
| 6314 |
\else\if\@@tmpa 5\relax% |
| 6315 |
\putlatom{-60}{253}{\@@tmpb}% % left type |
| 6316 |
\else\if\@@tmpa 4\relax% |
| 6317 |
\putratom{-38}{68}{\@@tmpb}% % right type |
| 6318 |
\else\if\@@tmpa 9\relax% |
| 6319 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 6320 |
\else\ifx\@@tmpa\aax\relax% |
| 6321 |
\putratom{60}{253}{\@@tmpb}% % right type |
| 6322 |
\else\ifx\@@tmpa\aay\relax% |
| 6323 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 6324 |
\else\if\@@tmpa 8\relax% |
| 6325 |
\putratom{60}{120}{\@@tmpb}% % right type |
| 6326 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 6327 |
% *********************** |
| 6328 |
% * setting fused rings * |
| 6329 |
% *********************** |
| 6330 |
\expandafter\twoCH@R\member//% |
| 6331 |
\set@fusion@nonavi |
| 6332 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi% |
| 6333 |
\fi\fi\fi\fi\fi\fi% |
| 6334 |
}% |
| 6335 |
% \end{macrocode} |
| 6336 |
% |
| 6337 |
% \begin{macrocode} |
| 6338 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 6339 |
% % setting hetero atoms and spiro rings % |
| 6340 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 6341 |
\iniflag |
| 6342 |
\Put@Direct(342,0){\set@hetatom@sixv{#3}{0}{0}{4}{0}% |
| 6343 |
% \if@aclip \global\@acliptrue\fi |
| 6344 |
% \if@bclip \global\@bcliptrue\fi |
| 6345 |
% \if@cclip \global\@ccliptrue\fi |
| 6346 |
\@xclipfalse \if@aclip \@xcliptrue \@aclipfalse\fi%avoid conflict position 7 2013/03/24 |
| 6347 |
\storeclipinfo |
| 6348 |
}% %substituents on 1 to 3 |
| 6349 |
\developclipinfo |
| 6350 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{0}{3}{7}{0}% |
| 6351 |
\@gclipfalse \if@fclip \@gcliptrue \fi% |
| 6352 |
\@fclipfalse \if@eclip \@fcliptrue \fi% |
| 6353 |
\@eclipfalse \if@clip \@ecliptrue \fi |
| 6354 |
\storeclipinfo |
| 6355 |
}%substituents on 4 to 6 |
| 6356 |
\developclipinfo |
| 6357 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{-6}{0}{2}{0}% |
| 6358 |
\@hclipfalse \if@aclip \@hcliptrue \fi |
| 6359 |
\storeclipinfo |
| 6360 |
}%%substituent on 7 |
| 6361 |
\developclipinfo |
| 6362 |
\Put@Direct(0,0){\set@vrtx@nonafusevi{#3}% |
| 6363 |
\storeclipinfo |
| 6364 |
}% fused positions |
| 6365 |
\developclipinfo |
| 6366 |
% \end{macrocode} |
| 6367 |
% |
| 6368 |
% \begin{macrocode} |
| 6369 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 6370 |
% % setting substituents and exocyclic bonds % |
| 6371 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 6372 |
{% |
| 6373 |
\@aclipfalse \if@xclip \@acliptrue \fi% %avoid conflict 2013/3/24 |
| 6374 |
\Put@Direct(342,0){\setsixringv{#4}{0}{0}{4}{0}}% %substituents on 1 to 3 |
| 6375 |
}% |
| 6376 |
{\@clipfalse \if@eclip \@cliptrue \fi% %substituents on 4 to 6 |
| 6377 |
\@eclipfalse \if@fclip \@ecliptrue \fi% |
| 6378 |
\@fclipfalse \if@gclip \@fcliptrue \fi% |
| 6379 |
\Put@Direct(0,0){\setsixringv{#4}{0}{3}{7}{0}}% |
| 6380 |
}% |
| 6381 |
{\@aclipfalse \if@hclip \@acliptrue \fi% %substituent on 7 |
| 6382 |
\Put@Direct(0,0){\setsixringv{#4}{-6}{0}{2}{0}}% |
| 6383 |
}% |
| 6384 |
{\@clipfusefalse \if@iclip \@clipfusetrue \fi% |
| 6385 |
\Put@Direct(171,103){\setatombond{#4}{-7}{7}}% %8 for 3a position |
| 6386 |
}% |
| 6387 |
{\@clipfusefalse \if@jclip \@clipfusetrue \fi% |
| 6388 |
\Put@Direct(171,303){\setatombond{#4}{-8}{1}}% %9 for 7a position |
| 6389 |
}% |
| 6390 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \nonaheterovi macro |
| 6391 |
% \end{macrocode} |
| 6392 |
% \end{macro} |
| 6393 |
% \end{macro} |
| 6394 |
% \end{macro} |
| 6395 |
% \end{macro} |
| 6396 |
% |
| 6397 |
% The macro |\test@vertix@nonavi| is used to test the presence of |
| 6398 |
% a hetero atom or a spiro substituent on a vertex of the |
| 6399 |
% nonaheterovi nucleus. |
| 6400 |
% \changes{v2.00}{1998/12/05}{New command: \cs{test@vertix@nonavi}} |
| 6401 |
% |
| 6402 |
% \begin{macro}{\test@vertix@nonavi} |
| 6403 |
% \begin{macrocode} |
| 6404 |
\def\test@vertix@nonavi#1{% |
| 6405 |
\@forsemicol\member:=#1\do{% |
| 6406 |
\ifx\member\empty\else% |
| 6407 |
\expandafter\@m@mb@r\member;\relax% |
| 6408 |
\expandafter\twoch@r\@membera{}% |
| 6409 |
\ifcase\@tmpa% |
| 6410 |
\or% |
| 6411 |
\if\@tmpb s\relax\def\aaa{}\else\def\aaa{@}\fi |
| 6412 |
\or%2 |
| 6413 |
\if\@tmpb s\relax\def\bbb{}\else\def\bbb{@}\fi |
| 6414 |
\or%3% |
| 6415 |
\if\@tmpb a\relax% |
| 6416 |
\def\iii{@}%3a |
| 6417 |
\else\if\@tmpb s\relax% |
| 6418 |
\def\ccc{}%3 |
| 6419 |
\else\if\@tmpb h\relax% |
| 6420 |
\def\ccc{@}%3 |
| 6421 |
\else\ifx\@tmpb\empty\relax% |
| 6422 |
\def\ccc{@}%3 |
| 6423 |
\fi\fi\fi\fi% |
| 6424 |
\or%4 |
| 6425 |
\if\@tmpb s\relax\def\eee{}\else\def\eee{@}\fi |
| 6426 |
\or%5 |
| 6427 |
\if\@tmpb s\relax\def\fff{}\else\def\fff{@}\fi |
| 6428 |
\or%6 |
| 6429 |
\if\@tmpb s\relax\def\gggA{}\else\def\gggA{@}\fi |
| 6430 |
\or%7 |
| 6431 |
\if\@tmpb a% |
| 6432 |
\xdef\jjj{@}%7a |
| 6433 |
\else\if\@tmpb s\relax% |
| 6434 |
\xdef\hhh{}%7s |
| 6435 |
\else\if\@tmpb h\relax% |
| 6436 |
\xdef\hhh{@}%7h |
| 6437 |
\else\ifx\@tmpb\empty\relax% |
| 6438 |
\xdef\hhh{@}%7 |
| 6439 |
\fi\fi\fi\fi% |
| 6440 |
\or%8 (= 3a) |
| 6441 |
\if\@tmpb s\relax\def\iii{}\else\def\iii{@}\fi |
| 6442 |
\or%9 (= 7a) |
| 6443 |
\if\@tmpb s\relax\def\jjj{}\else\def\jjj{@}\fi |
| 6444 |
\fi\fi}} |
| 6445 |
% \end{macrocode} |
| 6446 |
% \end{macro} |
| 6447 |
% |
| 6448 |
% The macro |\set@vrtx@nonafusevi| is used to set |
| 6449 |
% a hetero atom on a vertex of a bridgehead location. |
| 6450 |
% \changes{v2.00}{1998/12/05}{New command: \cs{set@vrtx@nonafusevi}} |
| 6451 |
% |
| 6452 |
% \begin{macro}{\set@vrtx@nonafusevi} |
| 6453 |
% \begin{macrocode} |
| 6454 |
\def\set@vrtx@nonafusevi#1{% |
| 6455 |
\@forsemicol\member:=#1\do{% |
| 6456 |
\ifx\member\empty\else% |
| 6457 |
\expandafter\@m@mb@r\member;\relax% |
| 6458 |
\expandafter\twoch@r\@membera{}% |
| 6459 |
\ifcase\@tmpa\or\or |
| 6460 |
\or%%%%3 |
| 6461 |
\if\@tmpb a\relax% |
| 6462 |
% \global\@icliptrue% |
| 6463 |
\@icliptrue%%20001/06/20 by S. Fujita |
| 6464 |
\putlatom{207}{65}{\@memberb}% % left type |
| 6465 |
\else\relax |
| 6466 |
\fi |
| 6467 |
\or\or\or |
| 6468 |
\or%7 |
| 6469 |
\if\@tmpb a\relax% |
| 6470 |
% \global\@jcliptrue% |
| 6471 |
\@jcliptrue%%20001/06/20 by S. Fujita |
| 6472 |
\putlatom{207}{280}{\@memberb}% % left type |
| 6473 |
\else\relax |
| 6474 |
\fi |
| 6475 |
\or%8 (= 3a) |
| 6476 |
% \global\@icliptrue% |
| 6477 |
\@icliptrue%%20001/06/20 by S. Fujita |
| 6478 |
\putlatom{207}{65}{\@memberb}% % left type |
| 6479 |
\or%9 (= 7a) |
| 6480 |
% \global\@jcliptrue% |
| 6481 |
\@jcliptrue%%20001/06/20 by S. Fujita |
| 6482 |
\putlatom{207}{280}{\@memberb}% % left type |
| 6483 |
\fi\fi}% |
| 6484 |
}% end of the macro \set@vrtx@nonafusevi |
| 6485 |
% \end{macrocode} |
| 6486 |
% \end{macro} |
| 6487 |
% |
| 6488 |
% \subsection{Short-cut commands for fused heterocycles} |
| 6489 |
% |
| 6490 |
% The macros |\nonaheterov| and |\nonaheterovi| can be used in the |
| 6491 |
% form of a fixed |ATOMLIST|. Hence, the resulting commands for |
| 6492 |
% drawing a fused heterocyle with one or more nitrogen atoms |
| 6493 |
% have an argument |SUBSLIST| as well as an optional argument |BONDLIST|. |
| 6494 |
% |
| 6495 |
% \begin{verbatim} |
| 6496 |
% ********************************************************** |
| 6497 |
% * heterocycles having fused six- and five-membered rings * |
| 6498 |
% * (vertical type) * |
| 6499 |
% ********************************************************** |
| 6500 |
% |
| 6501 |
% N-heterocycles: |
| 6502 |
% |
| 6503 |
% \indolev[BONDLIST]{SUBSLIST} |
| 6504 |
% \indolevi[BONDLIST]{SUBSLIST} |
| 6505 |
% |
| 6506 |
% \isoindolev[BONDLIST]{SUBSLIST} |
| 6507 |
% \isoindolevi[BONDLIST]{SUBSLIST} |
| 6508 |
% |
| 6509 |
% \indolizinev[BONDLIST]{SUBSLIST} |
| 6510 |
% \indolizinevi[BONDLIST]{SUBSLIST} |
| 6511 |
% (different from the IUPAC numbering) |
| 6512 |
% |
| 6513 |
% \purinev[BONDLIST]{SUBSLIST} |
| 6514 |
% \purinevi[BONDLIST]{SUBSLIST} |
| 6515 |
% (different from the IUPAC numbering) |
| 6516 |
% |
| 6517 |
% O-heterocycles: |
| 6518 |
% |
| 6519 |
% \benzofuranev[BONDLIST]{SUBSLIST} |
| 6520 |
% \benzofuranevi[BONDLIST]{SUBSLIST} |
| 6521 |
% |
| 6522 |
% \isobenzofuranevi[BONDLIST]{SUBSLIST} |
| 6523 |
% |
| 6524 |
% \benzoxazolev[BONDLIST]{SUBSLIST} |
| 6525 |
% \benzoxazolevi[BONDLIST]{SUBSLIST} |
| 6526 |
% \end{verbatim} |
| 6527 |
% |
| 6528 |
% The |BONDLIST| argument contains one |
| 6529 |
% character selected from a to j, each of which indicates the presence of |
| 6530 |
% an inner (endcyclic) double bond on the corresponding position. |
| 6531 |
% The optiona `A' and `B' typeset aromatic circles. |
| 6532 |
% The option |
| 6533 |
% `$n+$' ($n=1$ to $9$) represents a plus charge on a hetero atom |
| 6534 |
% at the $n$-position. |
| 6535 |
% |
| 6536 |
% \begin{verbatim} |
| 6537 |
% BONDLIST: list of bonds |
| 6538 |
% |
| 6539 |
% none or r : aromatic six-membered ring |
| 6540 |
% [] : fully saturated form |
| 6541 |
% a : 1,2-double bond b : 2,3-double bond |
| 6542 |
% c : 3,3a-double bond d : 4,3a-double bond |
| 6543 |
% e : 4,5-double bond f : 5,6-double bond |
| 6544 |
% g : 6,7-double bond h : 7,7a-double bond |
| 6545 |
% i : 1,7a-double bond |
| 6546 |
% J : 3a,4a-double bond in the other ring |
| 6547 |
% A : aromatic circle |
| 6548 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 9) |
| 6549 |
% \end{verbatim} |
| 6550 |
% |
| 6551 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 6552 |
% which are separated from each other by a semicolon. Each substitution |
| 6553 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 6554 |
% where these are separated with a double equality symbol. |
| 6555 |
% |
| 6556 |
% \begin{verbatim} |
| 6557 |
% SUBSLIST: list of substituents |
| 6558 |
% |
| 6559 |
% for n = 1 to 8 |
| 6560 |
% |
| 6561 |
% nD : exocyclic double bond at n-atom |
| 6562 |
% n or nS : exocyclic single bond at n-atom |
| 6563 |
% nA : alpha single bond at n-atom |
| 6564 |
% nB : beta single bond at n-atom |
| 6565 |
% nSA : alpha single bond at n-atom (boldface) |
| 6566 |
% nSB : beta single bond at n-atom (dotted line) |
| 6567 |
% nSa : alpha (not specified) single bond at n-atom |
| 6568 |
% nSb : beta (not specified) single bond at n-atom |
| 6569 |
% |
| 6570 |
% nSd : alpha single bond at n-atom (dotted line) |
| 6571 |
% with an alternative direction to nSA |
| 6572 |
% nSu : beta single bond at n-atom (boldface) |
| 6573 |
% with an alternative direction to nSB |
| 6574 |
% nFA : alpha single bond at n-atom (dotted line) |
| 6575 |
% for ring fusion |
| 6576 |
% nFB : beta single bond at n-atom (boldface) |
| 6577 |
% for ring fusion |
| 6578 |
% nGA : alpha single bond at n-atom (dotted line) |
| 6579 |
% for the other ring fusion |
| 6580 |
% nGB : beta single bond at n-atom (boldface) |
| 6581 |
% for the other ring fusion |
| 6582 |
% |
| 6583 |
% for 8 (3a position) and 9 (7a position) |
| 6584 |
% |
| 6585 |
% nD : exocyclic double bond at n-atom |
| 6586 |
% n or nS : exocyclic single bond at n-atom |
| 6587 |
% nA : alpha single bond at n-atom |
| 6588 |
% nB : beta single bond at n-atom |
| 6589 |
% \end{verbatim} |
| 6590 |
% |
| 6591 |
% Several examples are shown as follows. |
| 6592 |
% \begin{verbatim} |
| 6593 |
% |
| 6594 |
% e.g. |
| 6595 |
% |
| 6596 |
% \indolev{1==N}{1==Cl;2==F} |
| 6597 |
% \indolev[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 6598 |
% \end{verbatim} |
| 6599 |
% |
| 6600 |
% \begin{macro}{\purinev} |
| 6601 |
% \begin{macro}{\purinevi} |
| 6602 |
% \begin{macrocode} |
| 6603 |
\def\purinev{\@ifnextchar[{\@purinev[@}{\@purinev[ra]}} |
| 6604 |
\def\@purinev[#1]#2{% |
| 6605 |
\iforigpt \typeout{command `purinev' % |
| 6606 |
is based on `nonaheterov'.}\fi% |
| 6607 |
\nonaheterov[#1]{1==N;3==N;5==N;7==N}{#2}} |
| 6608 |
\def\purinevi{\@ifnextchar[{\@purinevi[@}{\@purinevi[ra]}} |
| 6609 |
\def\@purinevi[#1]#2{% |
| 6610 |
\iforigpt \typeout{command `purinevi' % |
| 6611 |
is based on `nonaheterovi'.}\fi% |
| 6612 |
\nonaheterovi[#1]{1==N;3==N;5==N;7==N}{#2}} |
| 6613 |
% \end{macrocode} |
| 6614 |
% \end{macro} |
| 6615 |
% \end{macro} |
| 6616 |
% |
| 6617 |
% \begin{macro}{\indolev} |
| 6618 |
% \begin{macro}{\indolevi} |
| 6619 |
% \begin{macrocode} |
| 6620 |
\def\indolev{\@ifnextchar[{\@indolev[@}{\@indolev[rb]}} |
| 6621 |
\def\@indolev[#1]#2{% |
| 6622 |
\iforigpt \typeout{command `indolev' % |
| 6623 |
is based on `nonaheterov'.}\fi% |
| 6624 |
\nonaheterov[#1]{1==N}{#2}} |
| 6625 |
\def\indolevi{\@ifnextchar[{\@indolevi[@}{\@indolevi[rb]}} |
| 6626 |
\def\@indolevi[#1]#2{% |
| 6627 |
\iforigpt \typeout{command `indolevi' % |
| 6628 |
is based on `nonaheterovi'.}\fi% |
| 6629 |
\nonaheterovi[#1]{1==N}{#2}} |
| 6630 |
% \end{macrocode} |
| 6631 |
% \end{macro} |
| 6632 |
% \end{macro} |
| 6633 |
% |
| 6634 |
% \begin{macro}{\indolizinev} |
| 6635 |
% \begin{macro}{\indolizinevi} |
| 6636 |
% \begin{macrocode} |
| 6637 |
\def\indolizinev{% |
| 6638 |
\@ifnextchar[{\@indolizinev[@}{\@indolizinev[aceg]}} |
| 6639 |
\def\@indolizinev[#1]#2{% |
| 6640 |
\iforigpt \typeout{command `indolizinev' % |
| 6641 |
is based on `nonaheterov'.}\fi% |
| 6642 |
\nonaheterov[#1]{7a==N}{#2}} |
| 6643 |
\def\indolizinevi{% |
| 6644 |
\@ifnextchar[{\@indolizinevi[@}{\@indolizinevi[aceg]}} |
| 6645 |
\def\@indolizinevi[#1]#2{% |
| 6646 |
\iforigpt \typeout{command `indolizinevi' % |
| 6647 |
is based on `nonaheterovi'.}\fi% |
| 6648 |
\nonaheterovi[#1]{7a==N}{#2}} |
| 6649 |
% \end{macrocode} |
| 6650 |
% \end{macro} |
| 6651 |
% \end{macro} |
| 6652 |
% |
| 6653 |
% \begin{macro}{\isoindolev} |
| 6654 |
% \begin{macro}{\isoindolevi} |
| 6655 |
% \begin{macrocode} |
| 6656 |
\def\isoindolev{\@ifnextchar[{\@isoindolev[@}{\@isoindolev[cegi]}} |
| 6657 |
\def\@isoindolev[#1]#2{% |
| 6658 |
\iforigpt \typeout{command `isoindolev' % |
| 6659 |
is based on `nonaheterov'.}\fi% |
| 6660 |
\nonaheterov[#1]{2==N}{#2}} |
| 6661 |
\def\isoindolevi{\@ifnextchar[{\@isoindolevi[@}{\@isoindolevi[cegi]}} |
| 6662 |
\def\@isoindolevi[#1]#2{% |
| 6663 |
\iforigpt \typeout{command `isoindolevi' % |
| 6664 |
is based on `nonaheterovi'.}\fi% |
| 6665 |
\nonaheterovi[#1]{2==N}{#2}} |
| 6666 |
% \end{macrocode} |
| 6667 |
% \end{macro} |
| 6668 |
% \end{macro} |
| 6669 |
% |
| 6670 |
% \begin{macro}{\benzofuranev} |
| 6671 |
% \begin{macro}{\benzofuranevi} |
| 6672 |
% \begin{macrocode} |
| 6673 |
\def\benzofuranev{% |
| 6674 |
\@ifnextchar[{\@benzofuranev[@}{\@benzofuranev[rb]}} |
| 6675 |
\def\@benzofuranev[#1]#2{% |
| 6676 |
\iforigpt \typeout{command `benzofuranev' % |
| 6677 |
is based on `nonaheterov'.}\fi% |
| 6678 |
\nonaheterov[#1]{1==O}{#2}} |
| 6679 |
\def\benzofuranevi{% |
| 6680 |
\@ifnextchar[{\@benzofuranevi[@}{\@benzofuranevi[rb]}} |
| 6681 |
\def\@benzofuranevi[#1]#2{% |
| 6682 |
\iforigpt \typeout{command `benzofuranevi' % |
| 6683 |
is based on `nonaheterovi'.}\fi% |
| 6684 |
\nonaheterovi[#1]{1==O}{#2}} |
| 6685 |
% \end{macrocode} |
| 6686 |
% \end{macro} |
| 6687 |
% \end{macro} |
| 6688 |
% |
| 6689 |
% \begin{macro}{\isobenzofuranev} |
| 6690 |
% \begin{macro}{\isobenzofuranevi} |
| 6691 |
% \begin{macrocode} |
| 6692 |
\def\isobenzofuranev{\@ifnextchar[{\@isobenzofuranev[@}% |
| 6693 |
{\@isobenzofuranev[cegi]}} |
| 6694 |
\def\@isobenzofuranev[#1]#2{% |
| 6695 |
\iforigpt \typeout{command `isobenzofuranev' % |
| 6696 |
is based on `nonaheterov'.}\fi% |
| 6697 |
\nonaheterov[#1]{2==O}{#2}} |
| 6698 |
\def\isobenzofuranevi{\@ifnextchar[{\@isobenzofuranevi[@}% |
| 6699 |
{\@isobenzofuranevi[cegi]}} |
| 6700 |
\def\@isobenzofuranevi[#1]#2{% |
| 6701 |
\iforigpt \typeout{command `isobenzofuranevi' % |
| 6702 |
is based on `nonaheterovi'.}\fi% |
| 6703 |
\nonaheterovi[#1]{2==O}{#2}} |
| 6704 |
% \end{macrocode} |
| 6705 |
% \end{macro} |
| 6706 |
% \end{macro} |
| 6707 |
% |
| 6708 |
% \begin{macro}{\benzoxazolev} |
| 6709 |
% \begin{macro}{\benzoxazolevi} |
| 6710 |
% \begin{macrocode} |
| 6711 |
\def\benzoxazolev{% |
| 6712 |
\@ifnextchar[{\@benzoxazolev[@}{\@benzoxazolev[rb]}} |
| 6713 |
\def\@benzoxazolev[#1]#2{% |
| 6714 |
\iforigpt \typeout{command `benzoxazolev' % |
| 6715 |
is based on `nonaheterov'.}\fi% |
| 6716 |
\nonaheterov[#1]{1==O;3==N}{#2}} |
| 6717 |
\def\benzoxazolevi{% |
| 6718 |
\@ifnextchar[{\@benzoxazolevi[@}{\@benzoxazolevi[rb]}} |
| 6719 |
\def\@benzoxazolevi[#1]#2{% |
| 6720 |
\iforigpt \typeout{command `benzoxazolevi' % |
| 6721 |
is based on `nonaheterovi'.}\fi% |
| 6722 |
\nonaheterovi[#1]{1==O;3==N}{#2}} |
| 6723 |
% \end{macrocode} |
| 6724 |
% \end{macro} |
| 6725 |
% \end{macro} |
| 6726 |
% |
| 6727 |
% \section{Building blocks} |
| 6728 |
% \subsection{Six-membered ring unit} |
| 6729 |
% |
| 6730 |
% The old function (v1.01) of |\sixunitv| as a fusing ring unit |
| 6731 |
% is succeeded by |\sixfusev| and |\sixfusevi|. |
| 6732 |
% The command |\sixunitv| has been changed into a subsidiary |
| 6733 |
% command of |\sixheterov| (v2.00). |
| 6734 |
% |
| 6735 |
% The macro |\sixunitv| is a six-membered fragment that can be |
| 6736 |
% fused to another ring structure to produce a new ring system. |
| 6737 |
% The following |
| 6738 |
% numbering is adopted in this macro. |
| 6739 |
% |
| 6740 |
% \begin{verbatim} |
| 6741 |
% ********************** |
| 6742 |
% * six-membered unit * |
| 6743 |
% * (vertical type) * |
| 6744 |
% ********************** |
| 6745 |
% |
| 6746 |
% 1 |
| 6747 |
% * |
| 6748 |
% 6 * * 2 |
| 6749 |
% | | |
| 6750 |
% | | |
| 6751 |
% 5 * * 3 |
| 6752 |
% * |
| 6753 |
% 4 <===== the original point |
| 6754 |
% \end{verbatim} |
| 6755 |
% |
| 6756 |
% The macro |\sixunitv| has three arguments |ATOMLIST|, |SUBSLIST| |
| 6757 |
% and |OMIT| |
| 6758 |
% as well as an optional argument |BONDLIST|. |
| 6759 |
% |
| 6760 |
% \begin{verbatim} |
| 6761 |
% \sixunitv[BONDLIST]{ATOMLIST}{SUBSLIST}{OMIT} |
| 6762 |
% \end{verbatim} |
| 6763 |
% |
| 6764 |
% The |BONDLIST| argument contains one |
| 6765 |
% character selected from a to f, each of which indicates the presence of |
| 6766 |
% an inner (endcyclic) double bond on the corresponding position. |
| 6767 |
% The option `$n+$' ($n=1$ to $6$) represents a plus charge on a hetero atom |
| 6768 |
% at the $n$-position. |
| 6769 |
% |
| 6770 |
% \begin{verbatim} |
| 6771 |
% BONDLIST = |
| 6772 |
% |
| 6773 |
% none : fully saturated |
| 6774 |
% a : 1,2-double bond |
| 6775 |
% b : 2,3-double bond |
| 6776 |
% c : 4,3-double bond |
| 6777 |
% d : 4,5-double bond |
| 6778 |
% e : 5,6-double bond |
| 6779 |
% f : 6,1-double bond |
| 6780 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 6) |
| 6781 |
% \end{verbatim} |
| 6782 |
% |
| 6783 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 6784 |
% which are separated from each other by a semicolon. Each heteroatom |
| 6785 |
% descriptor consists of a locant number and a heteroatom, |
| 6786 |
% where these are separated with a double equality symbol. |
| 6787 |
% |
| 6788 |
% \begin{verbatim} |
| 6789 |
% ATOMLIST: list of heteroatoms (max 6 atoms) |
| 6790 |
% |
| 6791 |
% for n = 1 to 6 |
| 6792 |
% |
| 6793 |
% n : Hetero atom, e.g. N, O, etc. at n-position, |
| 6794 |
% e.g. 1==N for N at 1-position |
| 6795 |
% \end{verbatim} |
| 6796 |
% |
| 6797 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 6798 |
% which are separated from each other by a semicolon. Each substitution |
| 6799 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 6800 |
% where these are separated with a double equality symbol. |
| 6801 |
% |
| 6802 |
% \begin{verbatim} |
| 6803 |
% SUBSLIST: list of substituents |
| 6804 |
% |
| 6805 |
% for n = 1 to 6 |
| 6806 |
% |
| 6807 |
% nD : exocyclic double bond at n-atom |
| 6808 |
% n or nS : exocyclic single bond at n-atom |
| 6809 |
% nA : alpha single bond at n-atom |
| 6810 |
% nB : beta single bond at n-atom |
| 6811 |
% nSA : alpha single bond at n-atom (boldface) |
| 6812 |
% nSB : beta single bond at n-atom (dotted line) |
| 6813 |
% nSa : alpha (not specified) single bond at n-atom |
| 6814 |
% nSb : beta (not specified) single bond at n-atom |
| 6815 |
% |
| 6816 |
% nSd : alpha single bond at n-atom (dotted line) |
| 6817 |
% with an alternative direction to nSA |
| 6818 |
% nSu : beta single bond at n-atom (boldface) |
| 6819 |
% with an alternative direction to nSB |
| 6820 |
% nFA : alpha single bond at n-atom (dotted line) |
| 6821 |
% for ring fusion |
| 6822 |
% nFB : beta single bond at n-atom (boldface) |
| 6823 |
% for ring fusion |
| 6824 |
% nGA : alpha single bond at n-atom (dotted line) |
| 6825 |
% for the other ring fusion |
| 6826 |
% nGB : beta single bond at n-atom (boldface) |
| 6827 |
% for the other ring fusion |
| 6828 |
% \end{verbatim} |
| 6829 |
% |
| 6830 |
% The argument |OMIT| represents one bond to be omitted. |
| 6831 |
% The omitted edge is regarded as a fused position. |
| 6832 |
% |
| 6833 |
% \begin{verbatim} |
| 6834 |
% OMIT: one bond omitted (a, b, c, d, e, or f) |
| 6835 |
% \end{verbatim} |
| 6836 |
% |
| 6837 |
% Several examples are shown as follows. |
| 6838 |
% \begin{verbatim} |
| 6839 |
% e.g. |
| 6840 |
% |
| 6841 |
% \sixhunitv{1==N}{1==Cl;2==F}{e} |
| 6842 |
% \end{verbatim} |
| 6843 |
% |
| 6844 |
% The definition of |\sixunitv| uses a picture environment and |
| 6845 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 6846 |
% \begin{enumerate} |
| 6847 |
% \item treatment of atom list, |
| 6848 |
% \item placing outer skeletons, |
| 6849 |
% \item placing inner double bonds, |
| 6850 |
% \item setting hetero atoms, and |
| 6851 |
% \item placing substituents by using |\setsixringv|. |
| 6852 |
% \end{enumerate} |
| 6853 |
% |
| 6854 |
% \changes{v1.01a}{1998/06/08}{\cs{sixunitv} bug fix: |
| 6855 |
% \cs{bbb} to \cs{fff} and \cs{ccc} to \cs{eee}} |
| 6856 |
% |
| 6857 |
% \begin{macro}{\sixunitv} |
| 6858 |
% \begin{macro}{\@sixunitv} |
| 6859 |
% \begin{macrocode} |
| 6860 |
\def\sixunitv{\@ifnextchar[{\@sixunitv[@}{\@sixunitv[@]}} |
| 6861 |
\def\@sixunitv[#1]#2#3#4{\sixheterov[#1]{#2}{#3}[#4]} |
| 6862 |
% \end{macrocode} |
| 6863 |
% \end{macro} |
| 6864 |
% \end{macro} |
| 6865 |
% |
| 6866 |
% \changes{v3.00}{2002/04/30}{\cs{sixunitv}: Old definition deleted.} |
| 6867 |
% |
| 6868 |
% \subsection{Five-membered ring unit} |
| 6869 |
% \subsubsection{Vertical type} |
| 6870 |
% |
| 6871 |
% The old function (v1.01) of |\fiveunitv| as a fusing ring unit |
| 6872 |
% is succeeded by |\fivefusev|. |
| 6873 |
% The command |\fiveunitv| has been changed into a subsidiary |
| 6874 |
% command of |\fiveheterov| (v2.00). |
| 6875 |
% |
| 6876 |
% The macro |\fiveunitv| is a five-membered fragment that can be |
| 6877 |
% fused to another |
| 6878 |
% ring structure to produce a new ring system. The following |
| 6879 |
% numbering is adopted in this macro. |
| 6880 |
% |
| 6881 |
% \begin{verbatim} |
| 6882 |
% ********************** |
| 6883 |
% * five-membered unit * |
| 6884 |
% * (vertical type) * |
| 6885 |
% ********************** |
| 6886 |
% |
| 6887 |
% 4 _______ 3 |
| 6888 |
% | | |
| 6889 |
% | | |
| 6890 |
% 5 * * 2 |
| 6891 |
% * |
| 6892 |
% 1 <===== the original point |
| 6893 |
% \end{verbatim} |
| 6894 |
% |
| 6895 |
% The macro |\fiveunitv| has three arguments |ATOMLIST|, |SUBSLIST| |
| 6896 |
% and |OMIT| |
| 6897 |
% as well as an optional argument |BONDLIST|. |
| 6898 |
% |
| 6899 |
% \begin{verbatim} |
| 6900 |
% \fiveunitv[BONDLIST]{ATOMLIST}{SUBSLIST}{OMIT} |
| 6901 |
% \end{verbatim} |
| 6902 |
% |
| 6903 |
% The |BONDLIST| argument contains one |
| 6904 |
% character selected from a to e, each of which indicates the presence of |
| 6905 |
% an inner (endcyclic) double bond on the corresponding position. |
| 6906 |
% The option `$n+$' ($n=1$ to $5$) represents a plus charge on a hetero atom |
| 6907 |
% at the $n$-position. |
| 6908 |
% |
| 6909 |
% \begin{verbatim} |
| 6910 |
% BONDLIST: list of inner double bonds |
| 6911 |
% |
| 6912 |
% a : 1,2-double bond |
| 6913 |
% b : 2,3-double bond |
| 6914 |
% c : 4,3-double bond |
| 6915 |
% d : 4,5-double bond |
| 6916 |
% e : 5,1-double bond |
| 6917 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 5) |
| 6918 |
% \end{verbatim} |
| 6919 |
% |
| 6920 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 6921 |
% which are separated from each other by a semicolon. Each heteroatom |
| 6922 |
% descriptor consists of a locant number and a heteroatom, |
| 6923 |
% where these are separated with a double equality symbol. |
| 6924 |
% |
| 6925 |
% \begin{verbatim} |
| 6926 |
% ATOMLIST: list of heteroatoms (max 5 atoms) |
| 6927 |
% |
| 6928 |
% for n = 1 to 5 |
| 6929 |
% |
| 6930 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 6931 |
% e.g. 1==N for N at 1-position |
| 6932 |
% \end{verbatim} |
| 6933 |
% |
| 6934 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 6935 |
% which are separated from each other by a semicolon. Each substitution |
| 6936 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 6937 |
% where these are separated with a double equality symbol. |
| 6938 |
% |
| 6939 |
% \begin{verbatim} |
| 6940 |
% SUBSLIST: list of substituents |
| 6941 |
% |
| 6942 |
% for n = 1 to 5 |
| 6943 |
% |
| 6944 |
% nD : exocyclic double bond at n-atom |
| 6945 |
% n or nS : exocyclic single bond at n-atom |
| 6946 |
% nA : alpha single bond at n-atom |
| 6947 |
% nB : beta single bond at n-atom |
| 6948 |
% nSA : alpha single bond at n-atom (boldface) |
| 6949 |
% nSB : beta single bond at n-atom (dotted line) |
| 6950 |
% nSa : alpha (not specified) single bond at n-atom |
| 6951 |
% nSb : beta (not specified) single bond at n-atom |
| 6952 |
% |
| 6953 |
% nSd : alpha single bond at n-atom (dotted line) |
| 6954 |
% with an alternative direction to nSA |
| 6955 |
% nSu : beta single bond at n-atom (boldface) |
| 6956 |
% with an alternative direction to nSB |
| 6957 |
% nFA : alpha single bond at n-atom (dotted line) |
| 6958 |
% for ring fusion |
| 6959 |
% nFB : beta single bond at n-atom (boldface) |
| 6960 |
% for ring fusion |
| 6961 |
% nGA : alpha single bond at n-atom (dotted line) |
| 6962 |
% for the other ring fusion |
| 6963 |
% nGB : beta single bond at n-atom (boldface) |
| 6964 |
% for the other ring fusion |
| 6965 |
% \end{verbatim} |
| 6966 |
% |
| 6967 |
% The argument |OMIT| represents one bond to be omitted. |
| 6968 |
% The omitted edge is regarded as a fused position. |
| 6969 |
% |
| 6970 |
% \begin{verbatim} |
| 6971 |
% OMIT: one bond omitted (a, b, c, d, e, or f) |
| 6972 |
% \end{verbatim} |
| 6973 |
% |
| 6974 |
% Several examples are shown as follows. |
| 6975 |
% \begin{verbatim} |
| 6976 |
% e.g. |
| 6977 |
% |
| 6978 |
% \fiveunitv{1==N}{1==H;2==F}{a} |
| 6979 |
% \end{verbatim} |
| 6980 |
% |
| 6981 |
% The definition of |\fiveunitv| uses a picture environment and |
| 6982 |
% consists of the same unit processes as shown in |\fiveheterov|: |
| 6983 |
% \begin{enumerate} |
| 6984 |
% \item treatment of atom list, |
| 6985 |
% \item placing outer skeletons, |
| 6986 |
% \item placing inner double bonds, |
| 6987 |
% \item setting hetero atoms, and |
| 6988 |
% \item placing substituents by using |\setsixringv| partially. |
| 6989 |
% \end{enumerate} |
| 6990 |
% |
| 6991 |
% \begin{macro}{\fiveunitv} |
| 6992 |
% \begin{macro}{\@fiveunitv} |
| 6993 |
% \begin{macrocode} |
| 6994 |
\def\fiveunitv{\@ifnextchar[{\@fiveunitv[@}{\@fiveunitv[r]}} |
| 6995 |
\def\@fiveunitv[#1]#2#3#4{\fiveheterov[#1]{#2}{#3}[#4]} |
| 6996 |
% \end{macrocode} |
| 6997 |
% \end{macro} |
| 6998 |
% \end{macro} |
| 6999 |
% |
| 7000 |
% \changes{v3.00}{2002/04/30}{\cs{fivunitv}: Old definition deleted.} |
| 7001 |
% |
| 7002 |
% \subsubsection{Inverse vertical type} |
| 7003 |
% |
| 7004 |
% The old function (v1.01) of |\fiveunitvi| as a fusing ring unit |
| 7005 |
% is succeeded by |\fivefusevi|. |
| 7006 |
% The command |\fiveunitvi| has been changed into a subsidiary |
| 7007 |
% command of |\fiveheterovi| (v2.00). |
| 7008 |
% |
| 7009 |
% The macro |\fiveunitvi| typesets a five-membered fragment that can be |
| 7010 |
% fused to another |
| 7011 |
% ring structure to produce a new ring system. The following |
| 7012 |
% numbering is adopted in this macro. |
| 7013 |
% |
| 7014 |
% \begin{verbatim} |
| 7015 |
% ************************************ |
| 7016 |
% * five-membered unit * |
| 7017 |
% * (vertical type, inverse type) * |
| 7018 |
% ************************************ |
| 7019 |
% |
| 7020 |
% 1 |
| 7021 |
% * |
| 7022 |
% 6 * * 2 |
| 7023 |
% | | |
| 7024 |
% |_____| |
| 7025 |
% 4 3 |
| 7026 |
% * |
| 7027 |
% (0,0) <===== the original point |
| 7028 |
% \end{verbatim} |
| 7029 |
% |
| 7030 |
% The macro |\fiveunitvi| has three arguments |ATOMLIST|, |SUBSLIST| |
| 7031 |
% and |OMIT| |
| 7032 |
% as well as an optional argument |BONDLIST|. |
| 7033 |
% |
| 7034 |
% \begin{verbatim} |
| 7035 |
% \fiveunitvi[BONDLIST]{ATOMLIST}{SUBSLIST}{OMIT} |
| 7036 |
% \end{verbatim} |
| 7037 |
% |
| 7038 |
% The |BONDLIST| argument contains one |
| 7039 |
% character selected from a to e, each of which indicates the presence of |
| 7040 |
% an inner (endcyclic) double bond on the corresponding position. |
| 7041 |
% The option `$n+$' ($n=1$ to $5$) represents a plus charge on a hetero atom |
| 7042 |
% at the $n$-position. |
| 7043 |
% |
| 7044 |
% \begin{verbatim} |
| 7045 |
% BONDLIST: list of inner double bonds |
| 7046 |
% |
| 7047 |
% a : 1,2-double bond |
| 7048 |
% b : 2,3-double bond |
| 7049 |
% c : 4,3-double bond |
| 7050 |
% d : 4,5-double bond |
| 7051 |
% e : 5,1-double bond |
| 7052 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 5) |
| 7053 |
% \end{verbatim} |
| 7054 |
% |
| 7055 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 7056 |
% which are separated from each other by a semicolon. Each heteroatom |
| 7057 |
% descriptor consists of a locant number and a heteroatom, |
| 7058 |
% where these are separated with a double equality symbol. |
| 7059 |
% |
| 7060 |
% \begin{verbatim} |
| 7061 |
% ATOMLIST: list of heteroatoms (max 5 atoms) |
| 7062 |
% |
| 7063 |
% for n = 1 to 5 |
| 7064 |
% |
| 7065 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 7066 |
% e.g. 1==N for N at 1-position |
| 7067 |
% \end{verbatim} |
| 7068 |
% |
| 7069 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 7070 |
% which are separated from each other by a semicolon. Each substitution |
| 7071 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 7072 |
% where these are separated with a double equality symbol. |
| 7073 |
% |
| 7074 |
% \begin{verbatim} |
| 7075 |
% SUBSLIST: list of substituents |
| 7076 |
% |
| 7077 |
% for n = 1 to 5 |
| 7078 |
% |
| 7079 |
% nD : exocyclic double bond at n-atom |
| 7080 |
% n or nS : exocyclic single bond at n-atom |
| 7081 |
% nA : alpha single bond at n-atom |
| 7082 |
% nB : beta single bond at n-atom |
| 7083 |
% nSA : alpha single bond at n-atom (boldface) |
| 7084 |
% nSB : beta single bond at n-atom (dotted line) |
| 7085 |
% nSa : alpha (not specified) single bond at n-atom |
| 7086 |
% nSb : beta (not specified) single bond at n-atom |
| 7087 |
% |
| 7088 |
% nSd : alpha single bond at n-atom (dotted line) |
| 7089 |
% with an alternative direction to nSA |
| 7090 |
% nSu : beta single bond at n-atom (boldface) |
| 7091 |
% with an alternative direction to nSB |
| 7092 |
% nFA : alpha single bond at n-atom (dotted line) |
| 7093 |
% for ring fusion |
| 7094 |
% nFB : beta single bond at n-atom (boldface) |
| 7095 |
% for ring fusion |
| 7096 |
% nGA : alpha single bond at n-atom (dotted line) |
| 7097 |
% for the other ring fusion |
| 7098 |
% nGB : beta single bond at n-atom (boldface) |
| 7099 |
% for the other ring fusion |
| 7100 |
% \end{verbatim} |
| 7101 |
% |
| 7102 |
% The argument |OMIT| represents one bond to be omitted. |
| 7103 |
% The omitted edge is regarded as a fused position. |
| 7104 |
% |
| 7105 |
% \begin{verbatim} |
| 7106 |
% OMIT: one bond omitted (a, b, c, d, e, or f) |
| 7107 |
% \end{verbatim} |
| 7108 |
% |
| 7109 |
% Several examples are shown as follows. |
| 7110 |
% \begin{verbatim} |
| 7111 |
% e.g. |
| 7112 |
% |
| 7113 |
% \fiveunitvi{1==N}{1==H;2==F}{a} |
| 7114 |
% \end{verbatim} |
| 7115 |
% |
| 7116 |
% The definition of |\fiveunitvi| uses a picture environment and |
| 7117 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 7118 |
% \begin{enumerate} |
| 7119 |
% \item treatment of atom list, |
| 7120 |
% \item placing outer skeletons, |
| 7121 |
% \item placing inner double bonds, |
| 7122 |
% \item setting hetero atoms, and |
| 7123 |
% \item placing substituents by using |\setsixringv| partially. |
| 7124 |
% \end{enumerate} |
| 7125 |
% |
| 7126 |
% \begin{macro}{\fiveunitvi} |
| 7127 |
% \begin{macro}{\@fiveunitvi} |
| 7128 |
% \begin{macrocode} |
| 7129 |
\def\fiveunitvi{\@ifnextchar[{\@fiveunitvi[@}{\@fiveunitvi[r]}} |
| 7130 |
\def\@fiveunitvi[#1]#2#3#4{\fiveheterovi[#1]{#2}{#3}[#4]} |
| 7131 |
% \end{macrocode} |
| 7132 |
% \end{macro} |
| 7133 |
% \end{macro} |
| 7134 |
% |
| 7135 |
% \changes{v3.00}{2002/04/30}{\cs{fivunitvi}: Old definition deleted.} |
| 7136 |
% |
| 7137 |
% \section{Four-membered heterocycles} |
| 7138 |
% \subsection{Horizontal bonds} |
| 7139 |
% |
| 7140 |
% \begin{macro}{\bondshoriz} |
| 7141 |
% \begin{macrocode} |
| 7142 |
% %%%%%%%%%%%%%%%%%%% |
| 7143 |
% % horizontal bond % |
| 7144 |
% %%%%%%%%%%%%%%%%%%% |
| 7145 |
% horizontal inner bond for four-membered rings |
| 7146 |
\def\bondshoriz{% |
| 7147 |
\begin{sfpicture}(200,300)(0,0) |
| 7148 |
\ifx\fff\empty% |
| 7149 |
\ifx\bbb\empty% |
| 7150 |
\Put@Line(-138,270)(1,0){134}%double bond 4-3 |
| 7151 |
\else% |
| 7152 |
\Put@Line(-138,270)(1,0){115}%double bond 4-3 |
| 7153 |
\fi% |
| 7154 |
\else% |
| 7155 |
\ifx\bbb\empty% |
| 7156 |
\Put@Line(-120,270)(1,0){115}%double bond 4-3 |
| 7157 |
\else% |
| 7158 |
\Put@Line(-120,270)(1,0){96}%double bond 4-3 |
| 7159 |
\fi% |
| 7160 |
\fi\end{sfpicture}}% |
| 7161 |
% horizontal inner bond for four-membered rings (inverse type) |
| 7162 |
\def\bondshorizi{% |
| 7163 |
\begin{sfpicture}(200,300)(0,0) |
| 7164 |
\ifx\eee\empty% |
| 7165 |
\ifx\ccc\empty% |
| 7166 |
\Put@Line(-138,136)(1,0){134}%double bond 4-3 |
| 7167 |
\else%% |
| 7168 |
\Put@Line(-138,136)(1,0){115}%double bond 4-3 |
| 7169 |
\fi% |
| 7170 |
\else% |
| 7171 |
\ifx\ccc\empty% |
| 7172 |
\Put@Line(-120,136)(1,0){115}%double bond 4-3 |
| 7173 |
\else% |
| 7174 |
\Put@Line(-120,136)(1,0){96}%double bond 4-3 |
| 7175 |
\fi% |
| 7176 |
\fi\end{sfpicture}}% |
| 7177 |
% \end{macrocode} |
| 7178 |
% \end{macro} |
| 7179 |
% |
| 7180 |
% \begin{macro}{\skbondshoriz} |
| 7181 |
% \begin{macrocode} |
| 7182 |
%horizontal bond for four-membered rings |
| 7183 |
\def\skbondshoriz{% |
| 7184 |
\begin{sfpicture}(200,300)(0,0) |
| 7185 |
\ifx\fff\empty% |
| 7186 |
\ifx\bbb\empty% |
| 7187 |
\Put@Line(-171,303)(1,0){200}%bond 4-3 |
| 7188 |
\else% |
| 7189 |
\Put@Line(-171,303)(1,0){158}%bond 4-3 |
| 7190 |
\fi% |
| 7191 |
\else% |
| 7192 |
\ifx\bbb\empty% |
| 7193 |
\Put@Line(29,303)(-1,0){158}%bond 4-3 |
| 7194 |
\else% |
| 7195 |
\Put@Line(-129,303)(1,0){116}%bond 4-3 |
| 7196 |
\fi% |
| 7197 |
\fi\end{sfpicture}}% |
| 7198 |
% \end{macrocode} |
| 7199 |
% \end{macro} |
| 7200 |
% |
| 7201 |
% \begin{macro}{\skbondshorizi} |
| 7202 |
% \begin{macrocode} |
| 7203 |
%horizontal bond for four-membered rings (inverse type) |
| 7204 |
\def\skbondshorizi{% |
| 7205 |
\begin{sfpicture}(200,300)(0,0) |
| 7206 |
\ifx\eee\empty% |
| 7207 |
\ifx\ccc\empty% |
| 7208 |
\Put@Line(-171,103)(1,0){200}%bond 4-3 |
| 7209 |
\else% |
| 7210 |
\Put@Line(-171,103)(1,0){158}%bond 4-3 |
| 7211 |
\fi% |
| 7212 |
\else% |
| 7213 |
\ifx\ccc\empty% |
| 7214 |
\Put@Line(29,103)(-1,0){158}%bond 4-3 |
| 7215 |
\else% |
| 7216 |
\Put@Line(-129,103)(1,0){116}%bond 4-3 |
| 7217 |
\fi% |
| 7218 |
\fi\end{sfpicture}}% |
| 7219 |
% \end{macrocode} |
| 7220 |
% \end{macro} |
| 7221 |
% |
| 7222 |
% \begin{macro}{\dotskbondshoriz} |
| 7223 |
% \begin{macrocode} |
| 7224 |
%horizontal bond for four-membered rings |
| 7225 |
\def\dotskbondshoriz{% |
| 7226 |
\begin{sfpicture}(200,300)(0,0) |
| 7227 |
\ifx\fff\empty% |
| 7228 |
\ifx\bbb\empty% |
| 7229 |
\dotorline(-171,303)(1,0){200}/(-171,303)(29,303)% |
| 7230 |
\else% |
| 7231 |
\dotorline(-171,303)(1,0){158}/(-171,303)(-29,303)% |
| 7232 |
\fi% |
| 7233 |
\else% |
| 7234 |
\ifx\bbb\empty% |
| 7235 |
\dotorline(29,303)(-1,0){158}/(29,303)(-129,303)% |
| 7236 |
\else% |
| 7237 |
\dotorline(-129,303)(1,0){116}/(-129,303)(-13,303)% |
| 7238 |
\fi% |
| 7239 |
\fi\end{sfpicture}}% |
| 7240 |
% \end{macrocode} |
| 7241 |
% \end{macro} |
| 7242 |
% |
| 7243 |
% \begin{macro}{\dotskbondshorizi} |
| 7244 |
% \begin{macrocode} |
| 7245 |
%horizontal bond for four-membered rings (inverse type) |
| 7246 |
\def\dotskbondshorizi{% |
| 7247 |
\begin{sfpicture}(200,300)(0,0) |
| 7248 |
\ifx\eee\empty% |
| 7249 |
\ifx\ccc\empty% |
| 7250 |
\dotorline(-171,103)(1,0){200}/(-171,103)(29,103)% |
| 7251 |
\else% |
| 7252 |
\dotorline(-171,103)(1,0){158}/(-171,103)(-29,103)% |
| 7253 |
\fi% |
| 7254 |
\else% |
| 7255 |
\ifx\ccc\empty% |
| 7256 |
\dotorline(29,103)(-1,0){158}/(29,103)(-129,103)% |
| 7257 |
\else% |
| 7258 |
\dotorline(-129,103)(1,0){116}/(-129,103)(-13,103)% |
| 7259 |
\fi% |
| 7260 |
\fi\end{sfpicture}}% |
| 7261 |
% \end{macrocode} |
| 7262 |
% \end{macro} |
| 7263 |
% |
| 7264 |
% \subsection{Drawing four-membered heterocycles} |
| 7265 |
% |
| 7266 |
% The macro |\fourhetero| typesets a four-membered ring. The following |
| 7267 |
% numbering is adopted in this macro. |
| 7268 |
% |
| 7269 |
% \begin{verbatim} |
| 7270 |
% ************************** |
| 7271 |
% * fourhetero derivatives * |
| 7272 |
% * (vertical type) * |
| 7273 |
% ************************** |
| 7274 |
% The following numbering is adopted in this macro. |
| 7275 |
% |
| 7276 |
% c |
| 7277 |
% 4 _____ 3 |
| 7278 |
% d | | b |
| 7279 |
% | | |
| 7280 |
% 1 ----- 2<===== the original point |
| 7281 |
% a |
| 7282 |
% \end{verbatim} |
| 7283 |
% |
| 7284 |
% The macro |\fourhetero| has two arguments |ATOMLIST| and |SUBSLIST| |
| 7285 |
% as well as an optional argument |BONDLIST|. |
| 7286 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 7287 |
% treat stereochemical information or other bond situations. |
| 7288 |
% |
| 7289 |
% \begin{verbatim} |
| 7290 |
% \fourhetero(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 7291 |
% \end{verbatim} |
| 7292 |
% |
| 7293 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 7294 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 7295 |
% character selected from bond specifiers `a' to `d' and a uppercase |
| 7296 |
% character `A' or `B'. |
| 7297 |
% |
| 7298 |
% The |BONDLIST| argument contains one |
| 7299 |
% character selected from a to e, each of which indicates the presence of |
| 7300 |
% an inner (endcyclic) double bond on the corresponding position. |
| 7301 |
% The option `$n+$' ($n=1$ to $4$) represents a plus charge on a hetero atom |
| 7302 |
% at the $n$-position. |
| 7303 |
% |
| 7304 |
% \begin{verbatim} |
| 7305 |
% BONDLIST: list of inner double bonds |
| 7306 |
% |
| 7307 |
% a : 1,2-double bond |
| 7308 |
% b : 2,3-double bond |
| 7309 |
% c : 4,3-double bond |
| 7310 |
% e : 4,1-double bond |
| 7311 |
% |
| 7312 |
% {n+} : plus at the n-nitrogen atom (n = 1 to 4) |
| 7313 |
% \end{verbatim} |
| 7314 |
% |
| 7315 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 7316 |
% which are separated from each other by a semicolon. Each heteroatom |
| 7317 |
% descriptor consists of a locant number and a heteroatom, |
| 7318 |
% where these are separated with a double equality symbol. |
| 7319 |
% |
| 7320 |
% \begin{verbatim} |
| 7321 |
% ATOMLIST: list of heteroatoms (max 4 atoms) |
| 7322 |
% |
| 7323 |
% for n = 1 to 4 |
| 7324 |
% |
| 7325 |
% n : Hetero atom, e.g. N, O, etc. at n-position |
| 7326 |
% e.g. 1==N for N at 1-position |
| 7327 |
% \end{verbatim} |
| 7328 |
% |
| 7329 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 7330 |
% which are separated from each other by a semicolon. Each substitution |
| 7331 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 7332 |
% where these are separated with a double equality symbol. |
| 7333 |
% |
| 7334 |
% \begin{verbatim} |
| 7335 |
% SUBSLIST: list of substituents |
| 7336 |
% |
| 7337 |
% for n = 1 to 4 |
| 7338 |
% |
| 7339 |
% nD : exocyclic double bond at n-atom |
| 7340 |
% n or nS : exocyclic single bond at n-atom |
| 7341 |
% nA : alpha single bond at n-atom |
| 7342 |
% nB : beta single bond at n-atom |
| 7343 |
% nSA : alpha single bond at n-atom (boldface) |
| 7344 |
% nSB : beta single bond at n-atom (dotted line) |
| 7345 |
% nSa : alpha (not specified) single bond at n-atom |
| 7346 |
% nSb : beta (not specified) single bond at n-atom |
| 7347 |
% |
| 7348 |
% nSd : alpha single bond at n-atom (dotted line) |
| 7349 |
% with an alternative direction to nSA |
| 7350 |
% nSu : beta single bond at n-atom (boldface) |
| 7351 |
% with an alternative direction to nSB |
| 7352 |
% nFA : alpha single bond at n-atom (dotted line) |
| 7353 |
% for ring fusion |
| 7354 |
% nFB : beta single bond at n-atom (boldface) |
| 7355 |
% for ring fusion |
| 7356 |
% nGA : alpha single bond at n-atom (dotted line) |
| 7357 |
% for the other ring fusion |
| 7358 |
% nGB : beta single bond at n-atom (boldface) |
| 7359 |
% for the other ring fusion |
| 7360 |
% \end{verbatim} |
| 7361 |
% |
| 7362 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 7363 |
% The omitted edges may be regarded as both fused and non-fused |
| 7364 |
% positions. |
| 7365 |
% |
| 7366 |
% \begin{verbatim} |
| 7367 |
% OMIT: one or more bonds omitted (a to d: see BONDLIST) |
| 7368 |
% \end{verbatim} |
| 7369 |
% |
| 7370 |
% Several examples are shown as follows. |
| 7371 |
% \begin{verbatim} |
| 7372 |
% e.g. |
| 7373 |
% |
| 7374 |
% \fourhetero{1==N}{1==H;2==F} |
| 7375 |
% \fourhetero[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 7376 |
% \fourhetero[eb]{1==N}{1D==O;4SA==MeO;4SB==OMe;5W==Cl;6==Cl} |
| 7377 |
% \end{verbatim} |
| 7378 |
% |
| 7379 |
% The definition of |\fourhetero| uses a picture environment and |
| 7380 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 7381 |
% \begin{enumerate} |
| 7382 |
% \item treatment of atom list, |
| 7383 |
% \item placing outer skeletons, |
| 7384 |
% \item placing inner double bonds, |
| 7385 |
% \item setting hetero atoms, and |
| 7386 |
% \item placing substituents by using |\setsixringv| partially. |
| 7387 |
% \end{enumerate} |
| 7388 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 7389 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 7390 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 7391 |
% \changes{v2.00}{1998/12/5}{Add: spiro and fused rings} |
| 7392 |
% |
| 7393 |
% \begin{macro}{\fourhetero} |
| 7394 |
% \begin{macro}{\@four@hetero} |
| 7395 |
% \begin{macro}{\@four@@hetero} |
| 7396 |
% \begin{macro}{\@fourhetero} |
| 7397 |
% \begin{macrocode} |
| 7398 |
\def\fourhetero{\@ifnextchar({\@four@hetero(@}{\@four@hetero(@)}} |
| 7399 |
\def\@four@hetero(#1){\@ifnextchar[{\@four@@hetero(#1)[@}% |
| 7400 |
{\@four@@hetero(#1)[@]}} |
| 7401 |
\def\@four@@hetero(#1)[#2]#3#4{\@ifnextchar[% |
| 7402 |
{\@fourhetero(#1)[#2]{#3}{#4}[@}% |
| 7403 |
{\@fourhetero(#1)[#2]{#3}{#4}[@]}} |
| 7404 |
\def\@fourhetero(#1)[#2]#3#4[#5]{% |
| 7405 |
% \end{macrocode} |
| 7406 |
% |
| 7407 |
% \begin{macrocode} |
| 7408 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7409 |
% % treatment of atom list % |
| 7410 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7411 |
\iniatom\iniflag%initialize |
| 7412 |
\test@vertix@sixv{#3}{e}{c}{b}{f}{@}{@}% |
| 7413 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7414 |
% % adustment of subs positions % |
| 7415 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7416 |
\@reset@ylsw% |
| 7417 |
\ylposition{#4}{5}{1}{4}{-1}% for 2 to 3 |
| 7418 |
\if@ylsw \ifx\@@ylii\empty |
| 7419 |
\def\@@ylii{142}\def\@@yli{0}\fi |
| 7420 |
\else |
| 7421 |
\ylposition{#4}{4}{4}{6}{0}% for 1 |
| 7422 |
\fi |
| 7423 |
\if@ylsw \ifx\@@ylii\empty |
| 7424 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 7425 |
\else |
| 7426 |
\ylposition{#4}{2}{5}{7}{0}% for 4 |
| 7427 |
\fi |
| 7428 |
\if@ylsw \ifx\@@ylii\empty |
| 7429 |
\def\@@ylii{0}\def\@@yli{0}\fi |
| 7430 |
\fi |
| 7431 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 7432 |
(800,880)(-571,-137){fourhetero}% |
| 7433 |
(571,137)(171,-103)%2002/4/30 by S. Fujita |
| 7434 |
% \end{macrocode} |
| 7435 |
% |
| 7436 |
% \begin{macrocode} |
| 7437 |
% %%%%%%%%%%%%%%%%%% |
| 7438 |
% % outer skeleton % |
| 7439 |
% %%%%%%%%%%%%%%%%%% |
| 7440 |
{\resetbdsw% |
| 7441 |
\@bond@@omit{#5}% |
| 7442 |
\Put@Direct(0,0){\set@skel@longbond{#1}{a}{skbondshorizi}}% |
| 7443 |
% bond between 1 and 2 \@aaa -> \skbondshorizi etc |
| 7444 |
\Put@Direct(-142,0){\set@skel@bond{#1}{b}{b}}% |
| 7445 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 7446 |
\Put@Direct(0,0){\set@skel@longbond{#1}{c}{skbondshoriz}}% |
| 7447 |
% bond between 3 and 4 \@ccc -> \skbondshoriz etc |
| 7448 |
\Put@Direct(0,0){\set@skel@bond{#1}{d}{e}}% |
| 7449 |
% bond between 4 and 1 \@ddd -> \skbonde etc |
| 7450 |
}% |
| 7451 |
% \end{macrocode} |
| 7452 |
% |
| 7453 |
% \begin{macrocode} |
| 7454 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7455 |
% % inner double bond % |
| 7456 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7457 |
\@tfor\member:=#2\do{% |
| 7458 |
\if\member r\relax% |
| 7459 |
\else\if\member a\relax \Put@Direct(0,0){\bondshorizi}% |
| 7460 |
\else\if\member b\relax \Put@Direct(-142,0){\bondb}% |
| 7461 |
\else\if\member c\relax \Put@Direct(0,0){\bondshoriz}% |
| 7462 |
\else\if\member d\relax \Put@Direct(0,0){\bonde}% |
| 7463 |
\else |
| 7464 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 7465 |
% % inner bond attachment % |
| 7466 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 7467 |
\expandafter\twoCH@@R\member//% |
| 7468 |
\set@fusionadd@fourv |
| 7469 |
\fi\fi\fi\fi\fi}% |
| 7470 |
% \end{macrocode} |
| 7471 |
% |
| 7472 |
% \begin{macrocode} |
| 7473 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 7474 |
% % setting heteroatoms % |
| 7475 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 7476 |
\Put@Direct(-142,0){\set@hetatom@sixv{#3}{5}{1}{4}{-1}% |
| 7477 |
\storeclipinfo%added 2001/06/20 by S. Fujita |
| 7478 |
}% for 2 to 3 |
| 7479 |
\developclipinfo%added 2001/06/20 by S. Fujita |
| 7480 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{4}{4}{6}{0}% |
| 7481 |
\storeclipinfo%added 2001/06/20 by S. Fujita |
| 7482 |
}% for 1 |
| 7483 |
\developclipinfo%added 2001/06/20 by S. Fujita |
| 7484 |
\Put@Direct(0,0){\set@hetatom@sixv{#3}{2}{5}{7}{0}% |
| 7485 |
\storeclipinfo%added 2001/06/20 by S. Fujita |
| 7486 |
}% for 4 |
| 7487 |
\developclipinfo%added 2001/06/20 by S. Fujita |
| 7488 |
% \end{macrocode} |
| 7489 |
% |
| 7490 |
% \begin{macrocode} |
| 7491 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 7492 |
% % setting substituents % |
| 7493 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 7494 |
\Put@Direct(-142,0){\setsixringv{#4}{5}{1}{4}{-1}}% for 2 to 3 |
| 7495 |
\Put@Direct(0,0){\setsixringv{#4}{4}{4}{6}{0}}% for 1 |
| 7496 |
\Put@Direct(0,0){\setsixringv{#4}{2}{5}{7}{0}}% for 4 |
| 7497 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \fourhetero macro |
| 7498 |
% \end{macrocode} |
| 7499 |
% \end{macro} |
| 7500 |
% \end{macro} |
| 7501 |
% \end{macro} |
| 7502 |
% \end{macro} |
| 7503 |
% |
| 7504 |
% The macro |\set@fusionadd@fourv| is an inner command contained |
| 7505 |
% in the definition of |\fourhetero| etc., where |
| 7506 |
% the macro is used for setting an additive |
| 7507 |
% or a fused ring at each bond (designated by |\@@tmpa|). The |
| 7508 |
% fused ring is typeset by the inner command |\set@fusion@fourv|. |
| 7509 |
% |
| 7510 |
% \begin{macro}{\set@fusionadd@fourv} |
| 7511 |
% \changes{v2.00}{1998/12/5}{New command: \cs{set@fusionadd@fourv}} |
| 7512 |
% \begin{macrocode} |
| 7513 |
\def\set@fusionadd@fourv{% |
| 7514 |
\if\@@tmpa 1\relax% |
| 7515 |
\putlatom{-200}{120}{\scriptsize \@@tmpb}% % right type |
| 7516 |
\else\if\@@tmpa 2\relax% |
| 7517 |
\putratom{60}{120}{\scriptsize \@@tmpb}% % right type |
| 7518 |
\else\if\@@tmpa 3\relax% |
| 7519 |
\putratom{60}{233}{\scriptsize \@@tmpb}% % right type |
| 7520 |
\else\if\@@tmpa 4\relax% |
| 7521 |
\putlatom{-200}{233}{\scriptsize \@@tmpb}% % right type |
| 7522 |
\else |
| 7523 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7524 |
% % inner bond fusion % |
| 7525 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7526 |
\set@fusion@fourv |
| 7527 |
\fi\fi\fi\fi% |
| 7528 |
}% |
| 7529 |
% \end{macrocode} |
| 7530 |
% \end{macro} |
| 7531 |
% |
| 7532 |
% The inner command |\set@fusion@fourv| is used for typesetting |
| 7533 |
% a fused ring at each bond represented by |\@@tmpa|. Warnings |
| 7534 |
% concerning mismatched ring-fusions are based on the command |
| 7535 |
% |\FuseWarning|. |
| 7536 |
% |
| 7537 |
% \begin{macro}{\set@fusion@fourv} |
| 7538 |
% \changes{v2.00}{1998/12/5}{New command: \cs{set@fusion@fourv}} |
| 7539 |
% \changes{v5.00}{2010/10/01}{\cs{FuseWarning} recovered for bond coloring} |
| 7540 |
% \begin{macrocode} |
| 7541 |
\def\set@fusion@fourv{% |
| 7542 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7543 |
% % inner bond fusion % |
| 7544 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7545 |
\if\@@tmpa d\relax% |
| 7546 |
\putlratom{-171}{303}{\@@tmpb}% % bond fused |
| 7547 |
\FuseWarning{0}{200}% |
| 7548 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{d}% |
| 7549 |
\else\if\@@tmpa D\relax% |
| 7550 |
\putlratom{-171}{103}{\@@tmpb}% % bond fused |
| 7551 |
\FuseWarning{0}{-200}% |
| 7552 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{D}% |
| 7553 |
\else\if\@@tmpa a\relax% |
| 7554 |
\putlratom{-173}{103}{\@@tmpb}% % bond fused |
| 7555 |
\FuseWarning{-200}{0}% |
| 7556 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{f}% |
| 7557 |
\else\if\@@tmpa A\relax% |
| 7558 |
\putlratom{27}{103}{\@@tmpb}% % bond fused |
| 7559 |
\FuseWarning{200}{0}% |
| 7560 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{A}% |
| 7561 |
\else\if\@@tmpa b\relax% |
| 7562 |
\putlratom{27}{103}{\@@tmpb}% % bond fused |
| 7563 |
\FuseWarning{0}{-200}% |
| 7564 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{b}% |
| 7565 |
\else\if\@@tmpa B\relax% |
| 7566 |
\putlratom{27}{303}{\@@tmpb}% % bond fused |
| 7567 |
\FuseWarning{0}{200}% |
| 7568 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{B}% |
| 7569 |
\else\if\@@tmpa c\relax% |
| 7570 |
\putlratom{27}{303}{\@@tmpb}% % bond fused |
| 7571 |
\FuseWarning{200}{0}% |
| 7572 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{c}% |
| 7573 |
\else\if\@@tmpa C\relax% |
| 7574 |
\putlratom{-171}{303}{\@@tmpb}% % bond fused |
| 7575 |
\FuseWarning{-200}{0}% |
| 7576 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{C}% |
| 7577 |
\fi\fi\fi\fi\fi\fi\fi\fi% |
| 7578 |
\global\let\FuseWarning=\FuseW@rning%added 2010/10/01 |
| 7579 |
}% end of the macro \set@fusion@fourv |
| 7580 |
% \end{macrocode} |
| 7581 |
% \end{macro} |
| 7582 |
% |
| 7583 |
% |
| 7584 |
% \changes{v5.01}{2013/3/19}{added \cs{oxetane}, \cs{thietane}, and \cs{azetidine} } |
| 7585 |
% \begin{macro}{\oxetane} |
| 7586 |
% \begin{macro}{\azetidine} |
| 7587 |
% \begin{macro}{\thietane} |
| 7588 |
% \begin{macrocode} |
| 7589 |
\def\oxetane{\@ifnextchar[{\@oxetane[@}{\@oxetane[]}} |
| 7590 |
\def\@oxetane[#1]#2{% |
| 7591 |
\iforigpt \typeout{command `oxetane' % |
| 7592 |
is based on `fourhetero'.}\fi% |
| 7593 |
\fourhetero[#1]{1==O}{#2}} |
| 7594 |
\def\azetidine{\@ifnextchar[{\@azetidine[@}{\@azetidine[]}} |
| 7595 |
\def\@azetidine[#1]#2{% |
| 7596 |
\iforigpt \typeout{command `azetidine' % |
| 7597 |
is based on `fourhetero'.}\fi% |
| 7598 |
\fourhetero[#1]{1==N}{#2}} |
| 7599 |
\def\thietane{\@ifnextchar[{\@thietane[@}{\@thietane[]}} |
| 7600 |
\def\@thietane[#1]#2{% |
| 7601 |
\iforigpt \typeout{command `thietane' % |
| 7602 |
is based on `fourhetero'.}\fi% |
| 7603 |
\fourhetero[#1]{1==S}{#2}} |
| 7604 |
% \end{macrocode} |
| 7605 |
% \end{macro} |
| 7606 |
% \end{macro} |
| 7607 |
% \end{macro} |
| 7608 |
% |
| 7609 |
% |
| 7610 |
% \section{Three-membered heterocycles} |
| 7611 |
% \subsection{Vertical type} |
| 7612 |
% \subsubsection{Sloped bonds} |
| 7613 |
% |
| 7614 |
% \begin{macro}{\bondtria} |
| 7615 |
% \begin{macrocode} |
| 7616 |
% ********************** |
| 7617 |
% * bonds for triangle * |
| 7618 |
% ********************** |
| 7619 |
% fff 3--------2bbb |
| 7620 |
% ` / |
| 7621 |
% ddd `1/ <===== the original point |
| 7622 |
% bond between 1 and 2 |
| 7623 |
\def\bondtria{% |
| 7624 |
\ifx\ddd\empty% |
| 7625 |
\ifx\bbb\empty% |
| 7626 |
\Put@Line(-6,42)(3,5){72}% %double bond 1-2 |
| 7627 |
\else% |
| 7628 |
\Put@Line(-6,42)(3,5){60}% %double bond 1-2 |
| 7629 |
\fi% |
| 7630 |
\else% |
| 7631 |
\ifx\bbb\empty% |
| 7632 |
\Put@Line(6,62)(3,5){60}% %double bond 1-2 |
| 7633 |
\else% |
| 7634 |
\Put@Line(10,32)(3,5){60}% %double bond 1-2 |
| 7635 |
\fi% |
| 7636 |
\fi% |
| 7637 |
}% |
| 7638 |
% \end{macrocode} |
| 7639 |
% \end{macro} |
| 7640 |
% |
| 7641 |
% \begin{macro}{\bondtrib} |
| 7642 |
% \begin{macrocode} |
| 7643 |
% bond between 1 and 3 |
| 7644 |
\def\bondtrib{% |
| 7645 |
\ifx\ddd\empty% |
| 7646 |
\ifx\fff\empty% |
| 7647 |
\Put@Line(6,42)(-3,5){72}% %double bond 1-3 |
| 7648 |
\else% |
| 7649 |
\Put@Line(6,42)(-3,5){60}% %double bond 1-3 |
| 7650 |
\fi% |
| 7651 |
\else% |
| 7652 |
\ifx\fff\empty% |
| 7653 |
\Put@Line(-6,62)(-3,5){60}% %double bond 1-2 |
| 7654 |
\else% |
| 7655 |
\Put@Line(6,42)(-3,5){60}% %double bond 1-2 |
| 7656 |
\fi% |
| 7657 |
\fi% |
| 7658 |
}% |
| 7659 |
% \end{macrocode} |
| 7660 |
% \end{macro} |
| 7661 |
% |
| 7662 |
% \begin{macro}{\skbondtria} |
| 7663 |
% \begin{macrocode} |
| 7664 |
%bond between 1 and 2 |
| 7665 |
\def\skbondtria{% |
| 7666 |
\begin{sfpicture}(200,200)(0,0) |
| 7667 |
\ifx\ddd\empty% |
| 7668 |
\ifx\bbb\empty% |
| 7669 |
\Put@Line(0,0)(3,5){103}% %bond 1-2 |
| 7670 |
\else% |
| 7671 |
\Put@Line(0,0)(3,5){80}% %bond 1-2 |
| 7672 |
\fi% |
| 7673 |
\else% |
| 7674 |
\ifx\bbb\empty% |
| 7675 |
\Put@Line(103,171)(-3,-5){80}% %bond 1-2 |
| 7676 |
\else% |
| 7677 |
\Put@Line(35,21)(3,5){60}% %bond 1-2 |
| 7678 |
\fi% |
| 7679 |
\fi\end{sfpicture}}% |
| 7680 |
% \end{macrocode} |
| 7681 |
% \end{macro} |
| 7682 |
% |
| 7683 |
% \begin{macro}{\skbondtrib} |
| 7684 |
% \begin{macrocode} |
| 7685 |
%bond between 1 and 3 |
| 7686 |
\def\skbondtrib{% |
| 7687 |
\begin{sfpicture}(200,200)(0,0) |
| 7688 |
\ifx\ddd\empty% |
| 7689 |
\ifx\fff\empty% |
| 7690 |
\Put@Line(0,0)(-3,5){103}% %bond 1-3 |
| 7691 |
\else% |
| 7692 |
\Put@Line(0,0)(-3,5){80}% %bond 1-3 |
| 7693 |
\fi% |
| 7694 |
\else% |
| 7695 |
% \ifx\eee\empty%bug fix 1993/11/19 |
| 7696 |
\ifx\fff\empty% |
| 7697 |
\Put@Line(-103,171)(3,-5){80}% %bond 1-3 |
| 7698 |
\else% |
| 7699 |
\Put@Line(-35,21)(-3,5){60}% %bond 1-3 |
| 7700 |
\fi% |
| 7701 |
\fi\end{sfpicture}}% |
| 7702 |
% \end{macrocode} |
| 7703 |
% \end{macro} |
| 7704 |
% |
| 7705 |
% \begin{macro}{\dotskbondtria} |
| 7706 |
% \begin{macrocode} |
| 7707 |
%bond between 1 and 2 |
| 7708 |
\def\dotskbondtria{% |
| 7709 |
\begin{sfpicture}(200,200)(0,0) |
| 7710 |
\ifx\ddd\empty% |
| 7711 |
\ifx\bbb\empty% |
| 7712 |
\dotorline(0,0)(3,5){103}/(0,0)(103,171)% |
| 7713 |
\else% |
| 7714 |
\dotorline(0,0)(3,5){80}/(0,0)(80,133)% |
| 7715 |
\fi% |
| 7716 |
\else% |
| 7717 |
\ifx\bbb\empty% |
| 7718 |
\dotorline(103,171)(-3,-5){80}/(103,171)(23,38)% |
| 7719 |
\else% |
| 7720 |
\dotorline(35,21)(3,5){60}/(35,21)(95,121)% |
| 7721 |
\fi% |
| 7722 |
\fi\end{sfpicture}}% |
| 7723 |
% \end{macrocode} |
| 7724 |
% \end{macro} |
| 7725 |
% |
| 7726 |
% \begin{macro}{\dotskbondtrib} |
| 7727 |
% \begin{macrocode} |
| 7728 |
%bond between 1 and 3 |
| 7729 |
\def\dotskbondtrib{% |
| 7730 |
\begin{sfpicture}(200,200)(0,0) |
| 7731 |
\ifx\ddd\empty% |
| 7732 |
\ifx\fff\empty% |
| 7733 |
\dotorline(0,0)(-3,5){103}/(0,0)(-103,171)% |
| 7734 |
\else% |
| 7735 |
\dotorline(0,0)(-3,5){80}/(0,0)(-80,133)% |
| 7736 |
\fi% |
| 7737 |
\else% |
| 7738 |
\ifx\fff\empty% |
| 7739 |
\dotorline(-103,171)(3,-5){80}/(-103,171)(-23,38)% |
| 7740 |
\else% |
| 7741 |
\dotorline(-35,21)(-3,5){60}/(-35,21)(-95,121)% |
| 7742 |
\fi% |
| 7743 |
\fi\end{sfpicture}}% |
| 7744 |
% \end{macrocode} |
| 7745 |
% \end{macro} |
| 7746 |
% |
| 7747 |
% \subsubsection{Drawing three-membered heterocycles} |
| 7748 |
% |
| 7749 |
% The macro |\threehetero| typesets a three-membered ring. The following |
| 7750 |
% numbering is adopted in this macro. |
| 7751 |
% |
| 7752 |
% \begin{verbatim} |
| 7753 |
% **************************** |
| 7754 |
% * thereehetero derivatives * |
| 7755 |
% * (vertical type) * |
| 7756 |
% **************************** |
| 7757 |
% |
| 7758 |
% b |
| 7759 |
% 3--------2 |
| 7760 |
% c ` / a |
| 7761 |
% `1/ <===== the original point |
| 7762 |
% \end{verbatim} |
| 7763 |
% |
| 7764 |
% The macro |\threehetero| has two arguments |ATOMLIST| and |SUBSLIST| |
| 7765 |
% as well as an optional argument |BONDLIST|. |
| 7766 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 7767 |
% treat stereochemical information or other bond situations. |
| 7768 |
% |
| 7769 |
% \begin{verbatim} |
| 7770 |
% \threehetero(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 7771 |
% \threeheterov(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 7772 |
% \end{verbatim} |
| 7773 |
% |
| 7774 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 7775 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 7776 |
% character selected from bond specifiers `a' to `c' and a uppercase |
| 7777 |
% character `A' or `B'. |
| 7778 |
% |
| 7779 |
% The |BONDLIST| argument contains one |
| 7780 |
% character selected from a to c, each of which indicates the presence of |
| 7781 |
% an inner (endcyclic) double bond on the corresponding position. |
| 7782 |
% The option `$n+$' ($n=1$ to $3$) represents a plus charge on a hetero atom |
| 7783 |
% at the $n$-position. |
| 7784 |
% The option `$n+$' ($n=4$ to $6$) represents a plus charge outside the ring. |
| 7785 |
% The option `$0+$' typesets a plus charge at the center of the ring. |
| 7786 |
% |
| 7787 |
% \begin{verbatim} |
| 7788 |
% BONDLIST = |
| 7789 |
% |
| 7790 |
% none : saturated |
| 7791 |
% a : 1,2-double bond |
| 7792 |
% b : 2,3-double bond |
| 7793 |
% c : 3,1-double bond |
| 7794 |
% A : aromatic circle |
| 7795 |
% {n+} : plus at the n-hetero atom (n = 1 to 3) |
| 7796 |
% : n=4 -- outer plus at 1 position |
| 7797 |
% : n=5 -- outer plus at 2 position |
| 7798 |
% : n=6 -- outer plus at 3 position |
| 7799 |
% {0+} : plus at the center of a cyclopropane ring |
| 7800 |
% \end{verbatim} |
| 7801 |
% |
| 7802 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 7803 |
% which are separated from each other by a semicolon. Each heteroatom |
| 7804 |
% descriptor consists of a locant number and a heteroatom, |
| 7805 |
% where these are separated with a double equality symbol. |
| 7806 |
% |
| 7807 |
% \begin{verbatim} |
| 7808 |
% ATOMLIST: list of heteroatoms (max 3 atoms) |
| 7809 |
% |
| 7810 |
% for n = 1 to 3 |
| 7811 |
% |
| 7812 |
% n : Hetero atom, e.g. N, O, etc. at n-position, |
| 7813 |
% e.g. 1==N for N at 1-position |
| 7814 |
% \end{verbatim} |
| 7815 |
% |
| 7816 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 7817 |
% which are separated from each other by a semicolon. Each substitution |
| 7818 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 7819 |
% where these are separated with a double equality symbol. |
| 7820 |
% |
| 7821 |
% \begin{verbatim} |
| 7822 |
% SUBSLIST: list of substituents |
| 7823 |
% |
| 7824 |
% for n = 1 to 3 |
| 7825 |
% |
| 7826 |
% nD : exocyclic double bond at n-atom |
| 7827 |
% n or nS : exocyclic single bond at n-atom |
| 7828 |
% nA : alpha single bond at n-atom |
| 7829 |
% nB : beta single bond at n-atom |
| 7830 |
% nSA : alpha single bond at n-atom (boldface) |
| 7831 |
% nSB : beta single bond at n-atom (dotted line) |
| 7832 |
% nSa : alpha (not specified) single bond at n-atom |
| 7833 |
% nSb : beta (not specified) single bond at n-atom |
| 7834 |
% |
| 7835 |
% nSd : alpha single bond at n-atom (dotted line) |
| 7836 |
% with an alternative direction to nSA |
| 7837 |
% nSu : beta single bond at n-atom (boldface) |
| 7838 |
% with an alternative direction to nSB |
| 7839 |
% nFA : alpha single bond at n-atom (dotted line) |
| 7840 |
% for ring fusion |
| 7841 |
% nFB : beta single bond at n-atom (boldface) |
| 7842 |
% for ring fusion |
| 7843 |
% nGA : alpha single bond at n-atom (dotted line) |
| 7844 |
% for the other ring fusion |
| 7845 |
% nGB : beta single bond at n-atom (boldface) |
| 7846 |
% for the other ring fusion |
| 7847 |
% \end{verbatim} |
| 7848 |
% |
| 7849 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 7850 |
% The omitted edges may be regarded as both fused and non-fused |
| 7851 |
% positions. |
| 7852 |
% |
| 7853 |
% \begin{verbatim} |
| 7854 |
% OMIT: one or more bonds omitted (a to c: see BONDLIST) |
| 7855 |
% \end{verbatim} |
| 7856 |
% |
| 7857 |
% Several examples are shown as follows. |
| 7858 |
% \begin{verbatim} |
| 7859 |
% e.g. |
| 7860 |
% |
| 7861 |
% \threehetero{1==N}{1==Cl;2==F} |
| 7862 |
% \threehetero[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 7863 |
% \threehetero{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 7864 |
% \end{verbatim} |
| 7865 |
% |
| 7866 |
% The definition of |\threehetero| uses a picture environment and |
| 7867 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 7868 |
% \begin{enumerate} |
| 7869 |
% \item treatment of atom list, |
| 7870 |
% \item placing outer skeletons, |
| 7871 |
% \item placing inner double bonds, |
| 7872 |
% \item setting hetero atoms, and |
| 7873 |
% \item placing substituents by using |\setsixringv| partially. |
| 7874 |
% \end{enumerate} |
| 7875 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 7876 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 7877 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 7878 |
% \changes{v2.00}{1998/12/5}{Add: spiro and fused rings} |
| 7879 |
% \changes{v2.01}{2001/6/20}{The |
| 7880 |
% \cs{storeclipinfo} command is added.} |
| 7881 |
% |
| 7882 |
% \begin{macro}{\threehetero} |
| 7883 |
% \begin{macro}{\@three@hetero} |
| 7884 |
% \begin{macro}{\@three@@hetero} |
| 7885 |
% \begin{macro}{\@threehetero} |
| 7886 |
% \begin{macrocode} |
| 7887 |
\def\threehetero{\@ifnextchar({\@three@hetero(@}{\@three@hetero(@)}} |
| 7888 |
\def\@three@hetero(#1){\@ifnextchar[{\@three@@hetero(#1)[@}% |
| 7889 |
{\@three@@hetero(#1)[@]}} |
| 7890 |
\def\@three@@hetero(#1)[#2]#3#4{\@ifnextchar[% |
| 7891 |
{\@threehetero(#1)[#2]{#3}{#4}[@}% |
| 7892 |
{\@threehetero(#1)[#2]{#3}{#4}[@]}} |
| 7893 |
\def\@threehetero(#1)[#2]#3#4[#5]{% |
| 7894 |
% \end{macrocode} |
| 7895 |
% |
| 7896 |
% \begin{macrocode} |
| 7897 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7898 |
% % treatment of atom list % |
| 7899 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7900 |
\iniatom\iniflag%initialize |
| 7901 |
\test@vertix@sixv{#3}{d}{b}{f}{@}{@}{@}% |
| 7902 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7903 |
% % adustment of subs positions % |
| 7904 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7905 |
\@reset@ylsw% |
| 7906 |
\ylposition{#4}{3}{3}{5}{0}%subst 1 |
| 7907 |
\if@ylsw \ifx\@@ylii\empty |
| 7908 |
\def\@@ylii{68}\def\@@yli{0}\fi |
| 7909 |
\else |
| 7910 |
\ylposition{#4}{0}{1}{3}{0}%subst 2 |
| 7911 |
\fi |
| 7912 |
\if@ylsw \ifx\@@ylii\empty |
| 7913 |
\def\@@ylii{142}\def\@@yli{132}\fi |
| 7914 |
\else |
| 7915 |
\ylposition{#4}{3}{5}{7}{0}%subst 3 |
| 7916 |
\fi |
| 7917 |
\if@ylsw \ifx\@@ylii\empty |
| 7918 |
\def\@@ylii{0}\def\@@yli{132}\fi |
| 7919 |
\fi |
| 7920 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 7921 |
(800,580)(-468,-240){threeheterov}% |
| 7922 |
(468,240)(68,0)%2002/4/30 by S. Fujita |
| 7923 |
% \end{macrocode} |
| 7924 |
% |
| 7925 |
% \begin{macrocode} |
| 7926 |
% %%%%%%%%%%%%%%%%%% |
| 7927 |
% % outer skeleton % |
| 7928 |
% %%%%%%%%%%%%%%%%%% |
| 7929 |
{\resetbdsw% |
| 7930 |
\@bond@@omit{#5}% |
| 7931 |
\Put@Direct(-68,0){\set@skel@longbond{#1}{a}{skbondtria}}% |
| 7932 |
% bond between 1 and 2 \@aaa -> \skbondtria etc |
| 7933 |
\Put@Direct(0,-132){\set@skel@longbond{#1}{b}{skbondshoriz}}% |
| 7934 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 7935 |
\Put@Direct(-68,0){\set@skel@longbond{#1}{c}{skbondtrib}}% |
| 7936 |
% bond between 3 and 1 \@ccc -> \skbondtria etc |
| 7937 |
}% |
| 7938 |
% \end{macrocode} |
| 7939 |
% |
| 7940 |
% \begin{macrocode} |
| 7941 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7942 |
% % inner double bond % |
| 7943 |
% %%%%%%%%%%%%%%%%%%%%% |
| 7944 |
\@tfor\member:=#2\do{% |
| 7945 |
\if\member r\relax% |
| 7946 |
\else\if\member a\relax\Put@Direct(-68,0){\bondtria}% |
| 7947 |
\else\if\member b\relax\Put@Direct(0,-126){\bondshoriz}% |
| 7948 |
\else\if\member c\relax\Put@Direct(-68,0){\bondtrib}% |
| 7949 |
\else\if\member A\relax% aromatic circle |
| 7950 |
\Put@oCircle(-70,108){100}% %circle |
| 7951 |
\else |
| 7952 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 7953 |
% % inner bond attachment % |
| 7954 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 7955 |
\expandafter\twoCH@@R\member//% |
| 7956 |
\set@fusionadd@threev |
| 7957 |
\fi\fi\fi\fi\fi% |
| 7958 |
}% |
| 7959 |
% \end{macrocode} |
| 7960 |
% |
| 7961 |
% \begin{macrocode} |
| 7962 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 7963 |
% % setting hetero atoms % |
| 7964 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 7965 |
\Put@Direct(-68,0){\set@hetatom@sixv{#3}{3}{3}{5}{0}% |
| 7966 |
%\if@clip\global\@cliptrue\fi |
| 7967 |
\storeclipinfo |
| 7968 |
}%subst 1 |
| 7969 |
\developclipinfo |
| 7970 |
\Put@Direct(-142,-132){\set@hetatom@sixv{#3}{0}{1}{3}{0}% |
| 7971 |
%\if@bclip\global\@bcliptrue\fi |
| 7972 |
\storeclipinfo |
| 7973 |
}%subst 2 |
| 7974 |
\developclipinfo |
| 7975 |
\Put@Direct(0,-132){\set@hetatom@sixv{#3}{3}{5}{7}{0}% |
| 7976 |
%\if@fclip\global\@fcliptrue\fi |
| 7977 |
\storeclipinfo |
| 7978 |
}%subst 3 |
| 7979 |
\developclipinfo |
| 7980 |
% \end{macrocode} |
| 7981 |
% |
| 7982 |
% \begin{macrocode} |
| 7983 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 7984 |
% % setting substituents % |
| 7985 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 7986 |
\Put@Direct(-68,0){\setsixringv{#4}{3}{3}{5}{0}}%subst 1 |
| 7987 |
\Put@Direct(-142,-132){\setsixringv{#4}{0}{1}{3}{0}}%subst 2 |
| 7988 |
\Put@Direct(0,-132){\setsixringv{#4}{3}{5}{7}{0}}%subst 3 |
| 7989 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \threehetero macro |
| 7990 |
% \end{macrocode} |
| 7991 |
% \end{macro} |
| 7992 |
% \end{macro} |
| 7993 |
% \end{macro} |
| 7994 |
% \end{macro} |
| 7995 |
% |
| 7996 |
% \begin{macro}{\threeheterov} |
| 7997 |
% \begin{macrocode} |
| 7998 |
\let\threeheterov=\threehetero |
| 7999 |
% \end{macrocode} |
| 8000 |
% \end{macro} |
| 8001 |
% |
| 8002 |
% The macro |\set@fusionadd@threev| is an inner command contained |
| 8003 |
% in the definition of |\threehetero| etc., where |
| 8004 |
% the macro is used for setting an additive |
| 8005 |
% or a fused ring at each bond (designated by |\@@tmpa|). The |
| 8006 |
% fused ring is typeset by the inner command |\set@fusion@threev|. |
| 8007 |
% |
| 8008 |
% \begin{macro}{\set@fusionadd@threev} |
| 8009 |
% \changes{v2.00}{1998/12/5}{New command: \cs{set@fusionadd@threev}} |
| 8010 |
% \begin{macrocode} |
| 8011 |
\def\set@fusionadd@threev{% |
| 8012 |
\if\@@tmpa 0\relax% |
| 8013 |
\putratom{-94}{92}{\scriptsize\@@tmpb}% % right type |
| 8014 |
\else\if\@@tmpa 1\relax% |
| 8015 |
\putratom{-94}{60}{\scriptsize\@@tmpb}% % right type |
| 8016 |
\else\if\@@tmpa 2\relax% |
| 8017 |
\putratom{-52}{120}{\scriptsize\@@tmpb}% % right type |
| 8018 |
\else\if\@@tmpa 3\relax% |
| 8019 |
\putratom{-126}{126}{\scriptsize\@@tmpb}% % right type |
| 8020 |
\else\if\@@tmpa 4\relax% |
| 8021 |
\putratom{-30}{-20}{\scriptsize\@@tmpb}% % right type |
| 8022 |
\else\if\@@tmpa 5\relax% |
| 8023 |
\putratom{52}{110}{\scriptsize\@@tmpb}% % right type |
| 8024 |
\else\if\@@tmpa 6\relax% |
| 8025 |
\putratom{-250}{110}{\scriptsize\@@tmpb}% % right type |
| 8026 |
\else |
| 8027 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8028 |
% % inner bond fusion % |
| 8029 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8030 |
\set@fusion@threev |
| 8031 |
\fi\fi\fi\fi\fi\fi\fi% |
| 8032 |
}% |
| 8033 |
% \end{macrocode} |
| 8034 |
% \end{macro} |
| 8035 |
% |
| 8036 |
% The inner command |\set@fusion@threev| is used for typesetting |
| 8037 |
% a fused ring at each bond represented by |\@@tmpa|. Warnings |
| 8038 |
% concerning mismatched ring-fusions are based on the command |
| 8039 |
% |\FuseWarning|. |
| 8040 |
% |
| 8041 |
% \begin{macro}{\set@fusion@threev} |
| 8042 |
% \changes{v2.00}{1998/12/5}{New command: \cs{set@fusion@threev}} |
| 8043 |
% \changes{v5.00}{2010/10/01}{\cs{FuseWarning} recovered for bond coloring} |
| 8044 |
% \begin{macrocode} |
| 8045 |
\def\set@fusion@threev{% |
| 8046 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8047 |
% % inner bond fusion % |
| 8048 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8049 |
\if\@@tmpa b\relax% |
| 8050 |
\putlratom{29}{171}{\@@tmpb}% % bond fused |
| 8051 |
\FuseWarning{200}{0}% |
| 8052 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{b}% |
| 8053 |
\else\if\@@tmpa B\relax% |
| 8054 |
\putlratom{-171}{171}{\@@tmpb}% % bond fused |
| 8055 |
\FuseWarning{-200}{0}% |
| 8056 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{B}% |
| 8057 |
\else\if\@@tmpa a\relax% |
| 8058 |
\putlratom{-68}{0}{\@@tmpb}% % bond fused |
| 8059 |
\FuseWarning{-103}{-171}% |
| 8060 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{a}% |
| 8061 |
\else\if\@@tmpa A\relax% |
| 8062 |
\putlratom{29}{171}{\@@tmpb}% % bond fused |
| 8063 |
\FuseWarning{103}{171}% |
| 8064 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{A}% |
| 8065 |
\else\if\@@tmpa c\relax% |
| 8066 |
\putlratom{-171}{171}{\@@tmpb}% % bond fused |
| 8067 |
\FuseWarning{-103}{171}% |
| 8068 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{c}% |
| 8069 |
\else\if\@@tmpa C\relax% |
| 8070 |
\putlratom{-68}{0}{\@@tmpb}% % bond fused |
| 8071 |
\FuseWarning{103}{-171}% |
| 8072 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{C}% |
| 8073 |
\fi\fi\fi\fi\fi\fi% |
| 8074 |
\global\let\FuseWarning=\FuseW@rning%added 2010/10/01 |
| 8075 |
}% end of the macro \set@fusion@threev |
| 8076 |
% \end{macrocode} |
| 8077 |
% \end{macro} |
| 8078 |
% |
| 8079 |
% \changes{v5.01}{2013/3/19}{added \cs{oxiranev}, \cs{aziridinev}, and \cs{thiiranev} } |
| 8080 |
% \begin{macro}{\oxiranev} |
| 8081 |
% \begin{macro}{\aziridinev} |
| 8082 |
% \begin{macro}{\thiiranev} |
| 8083 |
% \begin{macrocode} |
| 8084 |
\def\oxiranev{\@ifnextchar[{\@oxiranev[@}{\@oxiranev[]}} |
| 8085 |
\def\@oxiranev[#1]#2{% |
| 8086 |
\iforigpt \typeout{command `oxiranev' % |
| 8087 |
is based on `threeheterov'.}\fi% |
| 8088 |
\threeheterov[#1]{1==O}{#2}} |
| 8089 |
\def\aziridinev{\@ifnextchar[{\@aziridinev[@}{\@aziridinev[]}} |
| 8090 |
\def\@aziridinev[#1]#2{% |
| 8091 |
\iforigpt \typeout{command `aziridinev' % |
| 8092 |
is based on `threeheterov'.}\fi% |
| 8093 |
\threeheterov[#1]{1==N}{#2}} |
| 8094 |
\def\thiiranev{\@ifnextchar[{\@thiiranev[@}{\@thiiranev[]}} |
| 8095 |
\def\@thiiranev[#1]#2{% |
| 8096 |
\iforigpt \typeout{command `thiiranev' % |
| 8097 |
is based on `threeheterov'.}\fi% |
| 8098 |
\threeheterov[#1]{1==S}{#2}} |
| 8099 |
% \end{macrocode} |
| 8100 |
% \end{macro} |
| 8101 |
% \end{macro} |
| 8102 |
% \end{macro} |
| 8103 |
% |
| 8104 |
% \subsection{Inverse vertical type} |
| 8105 |
% \subsubsection{Sloped bonds} |
| 8106 |
% |
| 8107 |
% \changes{v1.02}{1998/10/20}{Newly added commands: |
| 8108 |
% \cs{Bondtria}} |
| 8109 |
% \begin{macro}{\Bondtria} |
| 8110 |
% \begin{macrocode} |
| 8111 |
% ********************** |
| 8112 |
% * bonds for triangle * |
| 8113 |
% ********************** |
| 8114 |
% |
| 8115 |
% aaa /1` <===== the original point |
| 8116 |
% / ` |
| 8117 |
% eee 3--------2ccc |
| 8118 |
% bond between 1 and 2 |
| 8119 |
\def\Bondtria{% |
| 8120 |
\ifx\aaa\empty% |
| 8121 |
\ifx\ccc\empty% |
| 8122 |
\Put@Line(-6,-42)(3,-5){72}% %double bond 1-2 |
| 8123 |
\else% |
| 8124 |
\Put@Line(-6,-42)(3,-5){60}% %double bond 1-2 |
| 8125 |
\fi% |
| 8126 |
\else% |
| 8127 |
\ifx\ccc\empty% |
| 8128 |
\Put@Line(6,-62)(3,-5){60}% %double bond 1-2 |
| 8129 |
\else% |
| 8130 |
\Put@Line(10,-32)(3,-5){60}% %double bond 1-2 |
| 8131 |
\fi% |
| 8132 |
\fi% |
| 8133 |
}% |
| 8134 |
% \end{macrocode} |
| 8135 |
% \end{macro} |
| 8136 |
% |
| 8137 |
% \changes{v1.02}{1998/10/20}{Newly added commands: \cs{Bondtrib}} |
| 8138 |
% \begin{macro}{\Bondtrib} |
| 8139 |
% \begin{macrocode} |
| 8140 |
% bond between 1 and 3 |
| 8141 |
\def\Bondtrib{% |
| 8142 |
\ifx\aaa\empty% |
| 8143 |
\ifx\eee\empty% |
| 8144 |
\Put@Line(6,-42)(-3,-5){72}% %double bond 1-3 |
| 8145 |
\else% |
| 8146 |
\Put@Line(6,-42)(-3,-5){60}% %double bond 1-3 |
| 8147 |
\fi% |
| 8148 |
\else% |
| 8149 |
\ifx\fff\empty% |
| 8150 |
\Put@Line(-6,-62)(-3,-5){60}% %double bond 1-2 |
| 8151 |
\else% |
| 8152 |
\Put@Line(6,-42)(-3,-5){60}% %double bond 1-2 |
| 8153 |
\fi% |
| 8154 |
\fi% |
| 8155 |
}% |
| 8156 |
% \end{macrocode} |
| 8157 |
% \end{macro} |
| 8158 |
% |
| 8159 |
% \changes{v1.02}{1998/10/20}{Newly added commands: |
| 8160 |
% \cs{skBondtria}} |
| 8161 |
% \begin{macro}{\skBondtria} |
| 8162 |
% \begin{macrocode} |
| 8163 |
%bond between 1 and 2 |
| 8164 |
\def\skBondtria{% |
| 8165 |
% \begin{sfpicture}(200,200)(0,0) |
| 8166 |
% \begin{sfpicture}(0,0)(0,0) |
| 8167 |
\ifx\aaa\empty% |
| 8168 |
\ifx\ccc\empty% |
| 8169 |
\Put@Line(0,0)(3,-5){103}% %bond 1-2 |
| 8170 |
\else% |
| 8171 |
\Put@Line(0,0)(3,-5){80}% %bond 1-2 |
| 8172 |
\fi% |
| 8173 |
\else% |
| 8174 |
\ifx\ccc\empty% |
| 8175 |
\Put@Line(103,-171)(-3,5){80}% %bond 1-2 |
| 8176 |
\else% |
| 8177 |
\Put@Line(35,-21)(3,-5){60}% %bond 1-2 |
| 8178 |
\fi% |
| 8179 |
\fi |
| 8180 |
%\end{sfpicture} |
| 8181 |
}% |
| 8182 |
% \end{macrocode} |
| 8183 |
% \end{macro} |
| 8184 |
% |
| 8185 |
% \changes{v1.02}{1998/10/20}{Newly added commands: |
| 8186 |
% \cs{skBondtrib}} |
| 8187 |
% \begin{macro}{\skBondtrib} |
| 8188 |
% \begin{macrocode} |
| 8189 |
%bond between 1 and 3 |
| 8190 |
\def\skBondtrib{% |
| 8191 |
% \begin{sfpicture}(0,0)(0,0) |
| 8192 |
% \begin{sfpicture}(200,200)(0,0) |
| 8193 |
\ifx\aaa\empty% |
| 8194 |
\ifx\eee\empty% |
| 8195 |
\Put@Line(0,0)(-3,-5){103}% %bond 1-3 |
| 8196 |
\else% |
| 8197 |
\Put@Line(0,0)(-3,-5){80}% %bond 1-3 |
| 8198 |
\fi% |
| 8199 |
\else% |
| 8200 |
\ifx\eee\empty% |
| 8201 |
\Put@Line(-103,-171)(3,5){80}% %bond 1-3 |
| 8202 |
\else% |
| 8203 |
\Put@Line(-35,-21)(-3,-5){60}% %bond 1-3 |
| 8204 |
\fi% |
| 8205 |
\fi |
| 8206 |
%\end{sfpicture} |
| 8207 |
}% |
| 8208 |
% \end{macrocode} |
| 8209 |
% \end{macro} |
| 8210 |
% |
| 8211 |
% \changes{v2.00}{1998/12/25}{Newly added commands: |
| 8212 |
% \cs{dotskBondtria}} |
| 8213 |
% \begin{macro}{\dotskBondtria} |
| 8214 |
% \begin{macrocode} |
| 8215 |
%bond between 1 and 2 |
| 8216 |
\def\dotskBondtria{% |
| 8217 |
\ifx\aaa\empty% |
| 8218 |
\ifx\ccc\empty% |
| 8219 |
\dotorline(0,0)(3,-5){103}/(0,0)(103,-171)% |
| 8220 |
\else% |
| 8221 |
\dotorline(0,0)(3,-5){80}/(0,0)(80,-133)% |
| 8222 |
\fi% |
| 8223 |
\else% |
| 8224 |
\ifx\ccc\empty% |
| 8225 |
\dotorline(103,-171)(-3,5){80}/(103,-171)(23,-38)% |
| 8226 |
\else% |
| 8227 |
\dotorline(35,-21)(3,-5){60}/(35,-21)(95,-121)% |
| 8228 |
\fi% |
| 8229 |
\fi |
| 8230 |
}% |
| 8231 |
% \end{macrocode} |
| 8232 |
% \end{macro} |
| 8233 |
% |
| 8234 |
% \changes{v2.00}{1998/12/25}{Newly added commands: |
| 8235 |
% \cs{dotskBondtrib}} |
| 8236 |
% \begin{macro}{\dotskBondtrib} |
| 8237 |
% \begin{macrocode} |
| 8238 |
%bond between 1 and 3 |
| 8239 |
\def\dotskBondtrib{% |
| 8240 |
\ifx\aaa\empty% |
| 8241 |
\ifx\eee\empty% |
| 8242 |
\dotorline(0,0)(-3,-5){103}/(0,0)(-103,-171)% |
| 8243 |
\else% |
| 8244 |
\dotorline(0,0)(-3,-5){80}/(0,0)(-80,-133)% |
| 8245 |
\fi% |
| 8246 |
\else% |
| 8247 |
\ifx\eee\empty% |
| 8248 |
\dotorline(-103,-171)(3,5){80}/(-103,-171)(-23,-38)% |
| 8249 |
\else% |
| 8250 |
\dotorline(-35,-21)(-3,-5){60}/(-35,-21)(-95,-121)% |
| 8251 |
\fi% |
| 8252 |
\fi |
| 8253 |
}% |
| 8254 |
% \end{macrocode} |
| 8255 |
% \end{macro} |
| 8256 |
% |
| 8257 |
% \subsubsection{Drawing three-membered heterocycles (inverse)} |
| 8258 |
% |
| 8259 |
% The macro |\threeheteroi| typesets a three-membered ring of |
| 8260 |
% inverse vertical type. The following numbering is adopted |
| 8261 |
% in this macro. |
| 8262 |
% \changes{v1.02}{1998/10/20}{Newly added commands: |
| 8263 |
% \cs{threeheteroi}} |
| 8264 |
% |
| 8265 |
% \begin{verbatim} |
| 8266 |
% **************************** |
| 8267 |
% * thereehetero derivatives * |
| 8268 |
% * (inverse vertical type) * |
| 8269 |
% **************************** |
| 8270 |
% |
| 8271 |
% /1` <===== the original point |
| 8272 |
% c / ` a |
| 8273 |
% 3--------2 |
| 8274 |
% b |
| 8275 |
% \end{verbatim} |
| 8276 |
% |
| 8277 |
% The macro |\threeheteroi| has two arguments |ATOMLIST| and |SUBSLIST| |
| 8278 |
% as well as an optional argument |BONDLIST|. |
| 8279 |
% Two optional arguments |SKBONDLIST| and |OMIT| are added to |
| 8280 |
% treat stereochemical information or other bond situations. |
| 8281 |
% |
| 8282 |
% \begin{verbatim} |
| 8283 |
% \threeheteroi(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 8284 |
% \threeheterovi(SKBONDLIST)[BONDLIST]{ATOMLIST}{SUBSLIST}[OMIT] |
| 8285 |
% \end{verbatim} |
| 8286 |
% |
| 8287 |
% The |SKBONDLIST| argument contains pairs of two alphabets in |
| 8288 |
% parentheses, e.g. (\{bA\}\{fB\}). Each pair contains a lowercase |
| 8289 |
% character selected from bond specifiers `a' to `c' and a uppercase |
| 8290 |
% character `A' or `B'. |
| 8291 |
% |
| 8292 |
% The |BONDLIST| argument contains one |
| 8293 |
% character selected from a to c, each of which indicates the presence of |
| 8294 |
% an inner (endcyclic) double bond on the corresponding position. |
| 8295 |
% The option `$n+$' ($n=1$ to $3$) represents a plus charge on a hetero atom |
| 8296 |
% at the $n$-position. |
| 8297 |
% The option `$n+$' ($n=4$ to $6$) represents a plus charge outside the ring. |
| 8298 |
% The option `$0+$' typesets a plus charge at the center of the ring. |
| 8299 |
% |
| 8300 |
% \begin{verbatim} |
| 8301 |
% BONDLIST = |
| 8302 |
% |
| 8303 |
% none : saturated |
| 8304 |
% a : 1,2-double bond |
| 8305 |
% b : 2,3-double bond |
| 8306 |
% c : 3,1-double bond |
| 8307 |
% A : aromatic circle |
| 8308 |
% {n+} : plus at the n-hetero atom (n = 1 to 3) |
| 8309 |
% : n=4 -- outer plus at 1 position |
| 8310 |
% : n=5 -- outer plus at 2 position |
| 8311 |
% : n=6 -- outer plus at 3 position |
| 8312 |
% {0+} : plus at the center of a cyclopropane ring |
| 8313 |
% \end{verbatim} |
| 8314 |
% |
| 8315 |
% The |ATOMLIST| argument contains one or more heteroatom descriptors |
| 8316 |
% which are separated from each other by a semicolon. Each heteroatom |
| 8317 |
% descriptor consists of a locant number and a heteroatom, |
| 8318 |
% where these are separated with a double equality symbol. |
| 8319 |
% |
| 8320 |
% \begin{verbatim} |
| 8321 |
% ATOMLIST: list of heteroatoms (max 3 atoms) |
| 8322 |
% |
| 8323 |
% for n = 1 to 3 |
| 8324 |
% |
| 8325 |
% n : Hetero atom, e.g. N, O, etc. at n-position, |
| 8326 |
% e.g. 1==N for N at 1-position |
| 8327 |
% \end{verbatim} |
| 8328 |
% |
| 8329 |
% The |SUBSLIST| argument contains one or more substitution descriptors |
| 8330 |
% which are separated from each other by a semicolon. Each substitution |
| 8331 |
% descriptor has a locant number with a bond modifier and a substituent, |
| 8332 |
% where these are separated with a double equality symbol. |
| 8333 |
% |
| 8334 |
% \begin{verbatim} |
| 8335 |
% SUBSLIST: list of substituents |
| 8336 |
% |
| 8337 |
% for n = 1 to 3 |
| 8338 |
% |
| 8339 |
% nD : exocyclic double bond at n-atom |
| 8340 |
% n or nS : exocyclic single bond at n-atom |
| 8341 |
% nA : alpha single bond at n-atom |
| 8342 |
% nB : beta single bond at n-atom |
| 8343 |
% nSA : alpha single bond at n-atom (boldface) |
| 8344 |
% nSB : beta single bond at n-atom (dotted line) |
| 8345 |
% nSa : alpha (not specified) single bond at n-atom |
| 8346 |
% nSb : beta (not specified) single bond at n-atom |
| 8347 |
% |
| 8348 |
% nSd : alpha single bond at n-atom (dotted line) |
| 8349 |
% with an alternative direction to nSA |
| 8350 |
% nSu : beta single bond at n-atom (boldface) |
| 8351 |
% with an alternative direction to nSB |
| 8352 |
% nFA : alpha single bond at n-atom (dotted line) |
| 8353 |
% for ring fusion |
| 8354 |
% nFB : beta single bond at n-atom (boldface) |
| 8355 |
% for ring fusion |
| 8356 |
% nGA : alpha single bond at n-atom (dotted line) |
| 8357 |
% for the other ring fusion |
| 8358 |
% nGB : beta single bond at n-atom (boldface) |
| 8359 |
% for the other ring fusion |
| 8360 |
% \end{verbatim} |
| 8361 |
% |
| 8362 |
% The argument |OMIT| represents one or more bonds to be omitted. |
| 8363 |
% The omitted edges may be regarded as both fused and non-fused |
| 8364 |
% positions. |
| 8365 |
% |
| 8366 |
% \begin{verbatim} |
| 8367 |
% OMIT: one or more bonds omitted (a to c: see BONDLIST) |
| 8368 |
% \end{verbatim} |
| 8369 |
% |
| 8370 |
% Several examples are shown as follows. |
| 8371 |
% \begin{verbatim} |
| 8372 |
% e.g. |
| 8373 |
% |
| 8374 |
% \threeheteroi{1==N}{1==Cl;2==F} |
| 8375 |
% \threeheteroi[c]{1==N}{1==Cl;4==F;2==CH$_{3}$} |
| 8376 |
% \threeheteroi{1==N}{1D==O;4SA==MeO;4SB==OMe;5==Cl;6==Cl} |
| 8377 |
% \end{verbatim} |
| 8378 |
% |
| 8379 |
% The definition of |\threehetero| uses a picture environment and |
| 8380 |
% consists of the same unit processes as shown in |\sixheterov|: |
| 8381 |
% \begin{enumerate} |
| 8382 |
% \item treatment of atom list, |
| 8383 |
% \item placing outer skeletons, |
| 8384 |
% \item placing inner double bonds, |
| 8385 |
% \item setting hetero atoms, and |
| 8386 |
% \item placing substituents by using |\setsixringv| partially. |
| 8387 |
% \end{enumerate} |
| 8388 |
% \changes{v1.02}{1998/10/31}{Adding \cs{ylposition}, \cs{if@ylsw}, |
| 8389 |
% \cs{yl@shifti}, \cs{@ylii}, \cs{yl@shiftii}, \cs{@ylii}, |
| 8390 |
% \cs{yl@xdiff} and \cs{yl@ydiff}} |
| 8391 |
% \changes{v2.00}{1998/12/5}{Add: spiro and fused rings} |
| 8392 |
% \changes{v2.01}{2001/6/20}{The |
| 8393 |
% \cs{storeclipinfo} command is added.} |
| 8394 |
% |
| 8395 |
% \begin{macro}{\threeheteroi} |
| 8396 |
% \begin{macro}{\@three@heteroi} |
| 8397 |
% \begin{macro}{\@three@@heteroi} |
| 8398 |
% \begin{macro}{\@threeheteroi} |
| 8399 |
% \begin{macrocode} |
| 8400 |
\def\threeheteroi{\@ifnextchar({\@three@heteroi(@}{\@three@heteroi(@)}} |
| 8401 |
\def\@three@heteroi(#1){\@ifnextchar[{\@three@@heteroi(#1)[@}% |
| 8402 |
{\@three@@heteroi(#1)[@]}} |
| 8403 |
\def\@three@@heteroi(#1)[#2]#3#4{\@ifnextchar[% |
| 8404 |
{\@threeheteroi(#1)[#2]{#3}{#4}[@}% |
| 8405 |
{\@threeheteroi(#1)[#2]{#3}{#4}[@]}} |
| 8406 |
\def\@threeheteroi(#1)[#2]#3#4[#5]{% |
| 8407 |
% \end{macrocode} |
| 8408 |
% |
| 8409 |
% \begin{macrocode} |
| 8410 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 8411 |
% % treatment of atom list % |
| 8412 |
% %%%%%%%%%%%%%%%%%%%%%%%%%% |
| 8413 |
\iniatom\iniflag%initialize |
| 8414 |
\test@vertix@sixv{#3}{a}{c}{e}{@}{@}{@}% |
| 8415 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 8416 |
% % adustment of subs positions % |
| 8417 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 8418 |
\@reset@ylsw% |
| 8419 |
\ylposition{#4}{0}{0}{2}{0}%subst 1 |
| 8420 |
\if@ylsw \ifx\@@ylii\empty |
| 8421 |
\def\@@ylii{68}\def\@@yli{406}\fi |
| 8422 |
\else |
| 8423 |
\ylposition{#4}{1}{2}{4}{0}%subst 2 |
| 8424 |
\fi |
| 8425 |
\if@ylsw \ifx\@@ylii\empty |
| 8426 |
\def\@@ylii{142}\def\@@yli{275}\fi |
| 8427 |
\else |
| 8428 |
\ylposition{#4}{2}{4}{6}{0}%subst 3 |
| 8429 |
\fi |
| 8430 |
\if@ylsw \ifx\@@ylii\empty |
| 8431 |
\def\@@ylii{0}\def\@@yli{275}\fi |
| 8432 |
\fi |
| 8433 |
\begin{ShiftPicEnvB}(0,0)(-\yl@shiftii,-\yl@shifti)/% |
| 8434 |
(800,580)(-468,-340){threeheterovi}% |
| 8435 |
(468,340)(68,0)%2002/4/30 by S. Fujita |
| 8436 |
% \end{macrocode} |
| 8437 |
% |
| 8438 |
% \begin{macrocode} |
| 8439 |
% %%%%%%%%%%%%%%%%%% |
| 8440 |
% % outer skeleton % |
| 8441 |
% %%%%%%%%%%%%%%%%%% |
| 8442 |
{\resetbdsw% |
| 8443 |
\@bond@@omit{#5}% |
| 8444 |
\Put@Direct(-68,0){\set@skel@longbond{#1}{a}{skBondtria}}% |
| 8445 |
% bond between 1 and 2 \@aaa -> \skBondtria etc |
| 8446 |
\Put@Direct(0,-275){\set@skel@longbond{#1}{b}{skbondshorizi}}% |
| 8447 |
% bond between 2 and 3 \@bbb -> \skbondb etc |
| 8448 |
\Put@Direct(-68,0){\set@skel@longbond{#1}{c}{skBondtrib}}% |
| 8449 |
% bond between 3 and 1 \@ccc -> \skBondtrib etc |
| 8450 |
}% |
| 8451 |
% \end{macrocode} |
| 8452 |
% |
| 8453 |
% \begin{macrocode} |
| 8454 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8455 |
% % inner double bond % |
| 8456 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8457 |
\@tfor\member:=#2\do{% |
| 8458 |
\if\member r\relax% |
| 8459 |
\else\if\member a\relax\Put@Direct(-68,0){\Bondtria}% |
| 8460 |
\else\if\member b\relax\Put@Direct(0,-274){\bondshorizi}% |
| 8461 |
\else\if\member c\relax\Put@Direct(-68,0){\Bondtrib}% |
| 8462 |
\else\if\member A\relax% aromatic circle |
| 8463 |
\Put@oCircle(-70,-108){100}% %circle |
| 8464 |
\else |
| 8465 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 8466 |
% % inner bond attachment % |
| 8467 |
% %%%%%%%%%%%%%%%%%%%%%%%%% |
| 8468 |
\expandafter\twoCH@@R\member//% |
| 8469 |
\set@fusionadd@threevi |
| 8470 |
\fi\fi\fi\fi\fi% |
| 8471 |
}% |
| 8472 |
% \end{macrocode} |
| 8473 |
% |
| 8474 |
% \begin{macrocode} |
| 8475 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 8476 |
% % setting hetero atoms % |
| 8477 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 8478 |
\Put@Direct(-68,-406){\set@hetatom@sixv{#3}{0}{0}{2}{0}% |
| 8479 |
%\if@aclip\global\@acliptrue\fi |
| 8480 |
\storeclipinfo |
| 8481 |
}%subst 1 |
| 8482 |
\developclipinfo |
| 8483 |
\Put@Direct(0,-275){\set@hetatom@sixv{#3}{2}{4}{6}{0}% |
| 8484 |
%\if@eclip\global\@ecliptrue\fi |
| 8485 |
\storeclipinfo |
| 8486 |
}%subst 3 |
| 8487 |
\developclipinfo |
| 8488 |
\Put@Direct(-142,-275){\set@hetatom@sixv{#3}{1}{2}{4}{0}% |
| 8489 |
%\if@cclip\global\@ccliptrue\fi |
| 8490 |
\storeclipinfo |
| 8491 |
}%subst 2 |
| 8492 |
\developclipinfo |
| 8493 |
% \end{macrocode} |
| 8494 |
% |
| 8495 |
% \begin{macrocode} |
| 8496 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 8497 |
% % setting substituents % |
| 8498 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 8499 |
\Put@Direct(-68,-406){\setsixringv{#4}{0}{0}{2}{0}}%subst 1 |
| 8500 |
\Put@Direct(0,-275){\setsixringv{#4}{2}{4}{6}{0}}%subst 3 |
| 8501 |
\Put@Direct(-142,-275){\setsixringv{#4}{1}{2}{4}{0}}%subst 2 |
| 8502 |
\end{ShiftPicEnvB}\iniatom\iniflag}% %end of \threeheteroi macro |
| 8503 |
% \end{macrocode} |
| 8504 |
% \end{macro} |
| 8505 |
% \end{macro} |
| 8506 |
% \end{macro} |
| 8507 |
% \end{macro} |
| 8508 |
% |
| 8509 |
% \begin{macro}{\threeheterovi} |
| 8510 |
% \begin{macrocode} |
| 8511 |
\let\threeheterovi=\threeheteroi |
| 8512 |
% \end{macrocode} |
| 8513 |
% \end{macro} |
| 8514 |
% |
| 8515 |
% The macro |\set@fusionadd@threevi| is an inner command contained |
| 8516 |
% in the definition of |\threeheteroi| etc., where |
| 8517 |
% the macro is used for setting an additive |
| 8518 |
% or a fused ring at each bond (designated by |\@@tmpa|). The |
| 8519 |
% fused ring is typeset by the inner command |\set@fusion@threevi|. |
| 8520 |
% |
| 8521 |
% \begin{macro}{\set@fusionadd@threevi} |
| 8522 |
% \changes{v2.00}{1998/12/5}{New command: \cs{set@fusionadd@threevi}} |
| 8523 |
% \begin{macrocode} |
| 8524 |
\def\set@fusionadd@threevi{% |
| 8525 |
\if\@@tmpa 0\relax% |
| 8526 |
\putratom{-94}{-120}{\scriptsize\@@tmpb}% % right type |
| 8527 |
\else\if\@@tmpa 1\relax% |
| 8528 |
\putratom{-94}{-80}{\scriptsize\@@tmpb}% % right type |
| 8529 |
\else\if\@@tmpa 2\relax% |
| 8530 |
\putratom{-52}{-150}{\scriptsize\@@tmpb}% % right type |
| 8531 |
\else\if\@@tmpa 3\relax% |
| 8532 |
\putratom{-126}{-150}{\scriptsize\@@tmpb}% % right type |
| 8533 |
\else\if\@@tmpa 4\relax% |
| 8534 |
\putratom{-30}{0}{\scriptsize\@@tmpb}% % right type |
| 8535 |
\else\if\@@tmpa 5\relax% |
| 8536 |
\putratom{32}{-130}{\scriptsize\@@tmpb}% % right type |
| 8537 |
\else\if\@@tmpa 6\relax% |
| 8538 |
\putratom{-230}{-130}{\scriptsize\@@tmpb}% % right type |
| 8539 |
\else |
| 8540 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8541 |
% % inner bond fusion % |
| 8542 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8543 |
\set@fusion@threevi |
| 8544 |
\fi\fi\fi\fi\fi\fi\fi% |
| 8545 |
}% |
| 8546 |
% \end{macrocode} |
| 8547 |
% \end{macro} |
| 8548 |
% |
| 8549 |
% The inner command |\set@fusion@threevi| is used for typesetting |
| 8550 |
% a fused ring at each bond represented by |\@@tmpa|. Warnings |
| 8551 |
% concerning mismatched ring-fusions are based on the command |
| 8552 |
% |\FuseWarning|. |
| 8553 |
% |
| 8554 |
% \begin{macro}{\set@fusion@threevi} |
| 8555 |
% \changes{v2.00}{1998/12/5}{New command: \cs{set@fusion@threevi}} |
| 8556 |
% \changes{v5.00}{2010/10/01}{\cs{FuseWarning} recovered for bond coloring} |
| 8557 |
% \begin{macrocode} |
| 8558 |
\def\set@fusion@threevi{% |
| 8559 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8560 |
% % inner bond fusion % |
| 8561 |
% %%%%%%%%%%%%%%%%%%%%% |
| 8562 |
\if\@@tmpa b\relax% |
| 8563 |
\putlratom{29}{-171}{\@@tmpb}% % bond fused |
| 8564 |
\FuseWarning{200}{0}% |
| 8565 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{b}% |
| 8566 |
\else\if\@@tmpa B\relax% |
| 8567 |
\putlratom{-171}{-171}{\@@tmpb}% % bond fused |
| 8568 |
\FuseWarning{-200}{0}% |
| 8569 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{B}% |
| 8570 |
\else\if\@@tmpa a\relax% |
| 8571 |
\putlratom{-68}{0}{\@@tmpb}% % bond fused |
| 8572 |
\FuseWarning{-103}{171}% |
| 8573 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{a}% |
| 8574 |
\else\if\@@tmpa A\relax% |
| 8575 |
\putlratom{29}{-171}{\@@tmpb}% % bond fused |
| 8576 |
\FuseWarning{103}{-171}% |
| 8577 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{A}% |
| 8578 |
\else\if\@@tmpa c\relax% |
| 8579 |
\putlratom{-171}{-171}{\@@tmpb}% % bond fused |
| 8580 |
\FuseWarning{103}{171}% |
| 8581 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{c}% |
| 8582 |
\else\if\@@tmpa C\relax% |
| 8583 |
\putlratom{-68}{0}{\@@tmpb}% % bond fused |
| 8584 |
\FuseWarning{-103}{-171}% |
| 8585 |
{\fuseAx}{\fuseAy}{\fuseBx}{\fuseBy}{C}% |
| 8586 |
\fi\fi\fi\fi\fi\fi% |
| 8587 |
\global\let\FuseWarning=\FuseW@rning%added 2010/10/01 |
| 8588 |
}% end of the macro \set@fusion@threevi |
| 8589 |
%</hetarom> |
| 8590 |
% \end{macrocode} |
| 8591 |
% \end{macro} |
| 8592 |
% |
| 8593 |
% \changes{v5.01}{2013/3/19}{added \cs{oxiranev}, \cs{aziridinev}, and \cs{thiiranev} } |
| 8594 |
% \begin{macro}{\oxiranevi} |
| 8595 |
% \begin{macro}{\aziridinevi} |
| 8596 |
% \begin{macro}{\thiiranevi} |
| 8597 |
% \begin{macrocode} |
| 8598 |
\def\oxiranevi{\@ifnextchar[{\@oxiranevi[@}{\@oxiranevi[]}} |
| 8599 |
\def\@oxiranevi[#1]#2{% |
| 8600 |
\iforigpt \typeout{command `oxiranevi' % |
| 8601 |
is based on `threeheterovi'.}\fi% |
| 8602 |
\threeheterovi[#1]{1==O}{#2}} |
| 8603 |
\def\aziridinevi{\@ifnextchar[{\@aziridinevi[@}{\@aziridinevi[]}} |
| 8604 |
\def\@aziridinevi[#1]#2{% |
| 8605 |
\iforigpt \typeout{command `aziridinevi' % |
| 8606 |
is based on `threeheterovi'.}\fi% |
| 8607 |
\threeheterovi[#1]{1==N}{#2}} |
| 8608 |
\def\thiiranevi{\@ifnextchar[{\@thiiranevi[@}{\@thiiranevi[]}} |
| 8609 |
\def\@thiiranevi[#1]#2{% |
| 8610 |
\iforigpt \typeout{command `thiiranevi' % |
| 8611 |
is based on `threeheterovi'.}\fi% |
| 8612 |
\threeheterovi[#1]{1==S}{#2}} |
| 8613 |
% \end{macrocode} |
| 8614 |
% \end{macro} |
| 8615 |
% \end{macro} |
| 8616 |
% \end{macro} |
| 8617 |
% |
| 8618 |
% \Finale |
| 8619 |
% |
| 8620 |
\endinput |