summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xymtex/base/xymtex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/xymtex/base/xymtex.dtx')
-rw-r--r--Master/texmf-dist/source/latex/xymtex/base/xymtex.dtx308
1 files changed, 308 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/xymtex/base/xymtex.dtx b/Master/texmf-dist/source/latex/xymtex/base/xymtex.dtx
new file mode 100644
index 00000000000..a38ccd0a2af
--- /dev/null
+++ b/Master/texmf-dist/source/latex/xymtex/base/xymtex.dtx
@@ -0,0 +1,308 @@
+% \iffalse
+%
+% xymtex.dtx
+%
+% Copyright (C) 1993-2004,2005,2009,2010,2011,2013 by Shinsaku Fujita All rights reserved.
+%
+% This file is part of the ChemSci system
+% ========================================
+%
+% This style file is created for submitting a manuscript to
+% scientific journals. This style file is to be contained in the
+% ``xymtex'' directory which is an input directory for TeX.
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+% The Current Maintainer of this work is Shinsaku Fujita.
+%
+% This work consists of the files xymtex.dtx and xymtex.ins
+% and the derived files: xymtex.sty, xymtexps.sty and xymtexpdf.sty.
+%
+%=======================================
+%
+% This file is a successor to:
+%
+% *********************************************************************
+% * Version 1.00 Released December 1, 1993 by Shinsaku Fujita %
+% * Version 1.00a Released May 22, 1996 by Shinsaku Fujita %
+% * Version 1.02 Released October 31, 1998 by Shinsaku Fujita %
+% * Version 2.00 Released December 25, 1998 by Shinsaku Fujita %
+% *********************************************************************
+% xymtex.sty
+%
+% Copyright (C) 1993, 1966, 1998, 2001,2004 by Shinsaku Fujita, all rights reserved.
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00}
+% \typeout{ -- Released December 1, 1993 by Shinsaku Fujita}
+% \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00a}
+% \typeout{ -- Released May 22, 1996 by Shinsaku Fujita}
+% \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.02}
+% \typeout{ -- Released October 31, 1998 by Shinsaku Fujita}
+% \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 2.00}
+% \typeout{ -- Released December 25, 1998 by Shinsaku Fujita}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \def\j@urnalname{xymtex.sty}
+% \def\versi@ndate{May 22, 1996}
+% \def\versi@nno{ver1.00a}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \def\j@urnalname{xymtex.sty}
+% \def\versi@ndate{October 31, 1998}
+% \def\versi@nno{ver1.02}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \def\j@urnalname{xymtex.sty}
+% \def\versi@ndate{December 25, 1998}
+% \def\versi@nno{ver2.00}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \def\j@urnalname{xymtex.sty}
+% \def\versi@ndate{November 17, 2004}
+% \def\versi@nno{ver4.01b}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \def\j@urnalname{xymtex.sty}
+% \def\versi@ndate{December 25, 2004}
+% \def\versi@nno{ver4.02}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+% %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+% \def\versi@ndate{July 20, 2005}
+% \def\versi@nno{ver4.02}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+% %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+% \def\versi@ndate{June 15, 2009}
+% \def\versi@nno{ver4.04}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+% %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+% \def\versi@ndate{November 25, 2009}
+% \def\versi@nno{ver4.05}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+% %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+% \def\versi@ndate{December 01, 2009}
+% \def\versi@nno{ver4.06}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+% %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+% %<xymtexpdf>\def\j@urnalname{xymtexpdf} \def\journalID{xymtexpdf}
+% \def\versi@ndate{October 01, 2010}
+% \def\versi@nno{ver5.00}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+% %<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+% %<xymtexpdf>\def\j@urnalname{xymtexpdf} \def\journalID{xymtexpdf}
+% \def\versi@ndate{February 24, 2011}
+% \def\versi@nno{ver5.01beta}
+% \def\copyrighth@lder{SF} % Shinsaku Fujita
+% \typeout{Package `\j@urnalname' (\versi@nno) <\versi@ndate>\space
+% [\copyrighth@lder]}
+% %<xymtex> \typeout{xymtex.sty ver5.01beta (for LaTeX2e) 2011/02/24[SF]}
+% %<xymtexps> \typeout{xymtexps.sty ver5.01beta (for LaTeX2e) 2011/02/24[SF]}
+% %<xymtexpdf> \typeout{xymtexpdf.sty ver5.01beta (for LaTeX2e) 2011/02/24[SF]}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file is a part of the macro package ``XyMTeX'' which has been
+% designed for typesetting chemical structural formulas.
+%
+% For the review of XyMTeX, see
+% (1) Shinsaku Fujita, ``Typesetting structural formulas with the text
+% formatter TeX/LaTeX'', Computers and Chemistry, 18, 109--116 (1994).
+% The following book deals with an application of TeX/LaTeX to
+% preparation of manuscripts of chemical fields:
+% (2) Shinsaku Fujita, ``LaTeX for Chemists and Biochemists''
+% Tokyo Kagaku Dozin, Tokyo (1993) [in Japanese].
+% (3) Shinskau Fujita, ``XyMTeX for drwoing chemical structural
+% formulas'', TUGboat, 16(1), 80--88 (1995).
+%
+% Please report any bugs, comments, suggestions, etc. to:
+% Old old address:
+% Shinsaku Fujita,
+% Ashigara Research Laboratories, Fuji Photo Film Co., Ltd.,
+% Minami-Ashigara, Kanagawa-ken, 250-01, Japan.
+%
+% Old address:
+% Shinsaku Fujita,
+% Department of Chemistry and Materials Technology,
+% Kyoto Institute of Technology, \\
+% Matsugasaki, Sakyoku, Kyoto, 606 Japan
+%
+% New address:
+% Shinsaku Fujita,
+% Shonan Institute of Chemoinformatics and Mathematical Chemistry
+% Kanagawa, 258-0019 Japan
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \fi
+% \CheckSum{70}
+%% \CharacterTable
+%% {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
+%% 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
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%
+% \iffalse
+%%
+%% `xymtex.dtx' ver5.01 (for LaTeX2e) 2013/03/10
+%% by Shinsaku Fujita
+%%
+%
+% \section{Initial declaration}
+%
+% \changes{v4.01b}{2004/11/17}{Generaging xymtex.sty and xymtexps}
+% \changes{v4.02}{2004/12/20}{Wedged bonds for xymtx-ps.sty}
+% \changes{v4.03}{2005/07/20}{Wave bonds for xymtx-ps.sty}
+% \changes{v4.04}{2009/06/15}{steoroid.sty added for drawing steroids}
+% \changes{v4.05}{2009/11/25}{lewisstruc.sty added for drawing Lewis structures}
+% \changes{v4.06}{2009/12/01}{harpoons added in the chmst-ps package}
+% \changes{v5.00}{2010/10/01}{PDF mode, bond coloring}
+% \changes{v5.01beta}{2011/02/24}{Added the chemist package and the xcolor package}
+% \changes{v5.01}{2013/03/10}{Bug fix}
+%
+% \begin{macrocode}
+% \NeedsTeXFormat{LaTeX2e}
+% \end{macrocode}
+%
+% \begin{macrocode}
+% <xymtex>\ProvidesFile{xymtex.sty}
+% <xymtexps>\ProvidesFile{xymtexps.sty}
+%<driver>\ProvidesFile{xymtex.drv}
+%<driver> [2013/03/10 v5.01
+% <xymtex> ChemSci package ]
+% <xymtexps> ChemSci package ]
+% <xymtexpdf> ChemSci package ]
+%<driver> ChemSci package driver (English)
+% \end{macrocode}
+%
+%\setcounter{StandardModuleDepth}{1}
+%
+% \section{Driver file for this dtx file}
+%
+% \begin{macrocode}
+%<*driver>
+]
+\documentclass{ltxdoc}
+\GetFileInfo{xymtex.drv}
+\title{XyMTeX Packages for Chemists \space\fileversion}
+\author{Shinsaku Fujita \\
+Shonan Institute of Chemoinformatics and Mathematical Chemistry \\
+Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa,
+258-0019 Japan
+%(old address)
+%Department of Chemistry and Materials Technology \\
+%Kyoto Institute of Technology \\
+%Matsugasaki, Sakyoku, Kyoto, 606-8585 Japan
+}
+\date{\filedate}
+\begin{document}
+\maketitle
+\tableofcontents
+\DocInput{xymtex.dtx}
+\end{document}
+%</driver>
+% \end{macrocode}
+%
+% \fi
+%
+% \StopEventually{}
+%
+% \section{{\sc docstrip} options}
+%
+% This dtx file provides the {\sffamily xymtex} package
+% by docstrip processing.
+%
+% \DeleteShortVerb{\|}
+% \begin{center}
+% \begin{tabular}{|l|l|}
+% \hline
+% argument & package name \\
+% \hline
+% xymtex & xymtex.sty \\
+% xymtexps & xymtexps.sty \\
+% xymtexpdf & xymtexpdf.sty \\
+% driver & a documentation driver file \\
+% \hline
+% \end{tabular}
+% \end{center}
+% \MakeShortVerb{\|}
+%
+% \section{Version information}
+%
+% The old process for typing out version information remains active.
+% \begin{macrocode}
+%<xymtex>\def\j@urnalname{xymtex} \def\journalID{xymtex}
+%<xymtexps>\def\j@urnalname{xymtexps} \def\journalID{xymtexps}
+%<xymtexpdf>\def\j@urnalname{xymtexpdf} \def\journalID{xymtexpdf}
+\def\versi@ndate{March 10, 2013}
+\def\versi@nno{ver5.01}
+\def\copyrighth@lder{SF} % Shinsaku Fujita
+\typeout{Package `\j@urnalname' (\versi@nno) <\versi@ndate>\space
+[\copyrighth@lder]}
+%<xymtex> \typeout{xymtex.sty ver5.01 (for LaTeX2e) 2013/03/10[SF]}
+%<xymtexps> \typeout{xymtexps.sty ver5.01 (for LaTeX2e) 2013/03/10[SF]}
+%<xymtexpdf> \typeout{xymtexpdf.sty ver5.01 (for LaTeX2e) 2013/03/10[SF]}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*xymtexpdf>
+\DeclareOption{pdf}{\def\pgfsysdriver{pgfsys-common-pdf.def}}
+\DeclareOption{dvipdfm}{\def\pgfsysdriver{pgfsys-dvipdfm.def}}
+\DeclareOption{pdftex}{\def\pgfsysdriver{pgfsys-pdftex.def}}
+\DeclareOption{ps}{\def\pgfsysdriver{pgfsys-common-postscript.def}}
+\DeclareOption{dvips}{\def\pgfsysdriver{pgfsys-dvips.def}}
+\ExecuteOptions{dvipdfm}
+\InputIfFileExists{pict2e.cfg}{}{}
+\ProcessOptions\relax
+%</xymtexpdf>
+\usepackage{epic}
+\usepackage{chemstr}
+\usepackage{carom}
+\usepackage{hetarom}
+\usepackage{hetaromh}
+\usepackage{lowcycle}
+\usepackage{ccycle}
+\usepackage{hcycle}
+\usepackage{aliphat}
+\usepackage{locant}
+\usepackage{polymers}
+\usepackage{methylen}
+\usepackage{fusering}
+\usepackage{sizeredc}
+\usepackage{steroid}
+\usepackage{lewisstruc}
+\usepackage{bondcolor}
+\usepackage{assurelatexmode}
+%<xymtexps>\usepackage{xymtx-ps}
+%<xymtexpdf>\usepackage{xymtx-pdf}
+%<xymtex>\usepackage{chemist}
+%<xymtex>\usepackage{xcolor}
+%<xymtexps>\usepackage{chmst-ps}
+%<xymtexpdf>\usepackage{chmst-pdf}
+% \end{macrocode}
+%
+% \Finale
+\endinput