<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% This is file `sizeredc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sizeredc.dtx  (with options: `sizeredc')
%% 
%% This is a generated file.
%% 
%% Copyright 1996, 2001, 2002, 2004,2010 by Shinsaku Fujita
%% all rights reserved.
%% This style file is created for drawing chemical structural formulas
%% This style file is to be contained in the ``xymtex'' directory which
%% is an input directory for TeX.
%% 
%% This file is part of the XyMTeX system.
%% =======================================
%% Old Versions:
%% Released on June 20, 2001 version 1.00
%% Released on April 30, 2002 version 1.01
%% Released on Auguts 30, 2004 version 4.01 (for XyMTeX 4.01)
%% 
%% The Present Version:
%% Version 5.00 Released on October 01, 2010
%% 
%% 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 sizeredc.dtx and sizeredc.ins
%% and the derived file sizeredc.sty.
%% 
%% =======================================
%% 
%% File: sizeredc.dtx
%% \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     \&amp;
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \&lt;
%%   Equals        \=     Greater than  \&gt;     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
\typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 5.00}
\typeout{       -- Released October 01, 2010 by Shinsaku Fujita}
\def\j@urnalname{sizeredc}
\def\versi@ndate{October 01, 2010}
\def\versi@nno{ver5.00}
\def\copyrighth@lder{SF} % Shinsaku Fujita
\typeout{XyMTeX Macro File `\j@urnalname' (\versi@nno) &lt;\versi@ndate&gt;%
\space[\copyrighth@lder]}
\newcount\@tempcntx \newcount\@tempcnty \newcount\@tempcntz
\newif\ifseifuflag \seifuflagfalse
\def\DIVIDE#1#2#3{%
\seifuflagfalse \@tempcntx=#1
\ifnum\@tempcntx&lt;0 \@tempcntx=-\@tempcntx\seifuflagtrue\fi
\divide\@tempcntx by#2\relax
\ifnum\@tempcntx&lt;0 \@tempcntx=-\@tempcntx
\ifseifuflag \seifuflagfalse \else \seifuflagtrue\fi\fi
\@tempcntz=\@tempcntx%%store
\@tempcnty=\@tempcntx \multiply\@tempcnty by#2%
\ifnum\@tempcnty&lt;0 \@tempcnty=-\@tempcnty\fi
\@tempcntx=#1%
\ifnum\@tempcntx&lt;0 \@tempcntx=-\@tempcntx\fi
\advance\@tempcntx by-\@tempcnty%
\multiply\@tempcntx by10 \edef\s{\the\@tempcntx}%
\divide\@tempcntx by#2
\ifnum\@tempcntx&lt;0 \@tempcntx=-\@tempcntx\fi
\ifnum\@tempcntx&gt;4\relax \advance\@tempcntz by1\fi
\ifseifuflag \xdef#3{-\the\@tempcntz}%
\else\xdef#3{\the\@tempcntz}\fi}
\newcount\@xArg \newcount\@yArg
\def\LineTemp(#1,#2)#3{\begingroup
\@xArg #1\relax \@yArg #2\relax
\ifnum\@xArg&lt;0 \@tempcntx=-#3 \else
\ifnum\@xArg&gt;0 \@tempcntx=#3 \else \@tempcntx=0 \fi\fi
\@tempcnty=#3
\multiply\@tempcnty by\@yArg\relax
\ifnum\@tempcnty&lt;0 \@tempcnty=-\@tempcnty\fi
\ifnum\@xArg&lt;0 \@xArg=-\@xArg\fi
\ifnum\@xArg=0 \edef\RR{#3}\else
{\DIVIDE{\@tempcnty}{\@xArg}\RR}\fi
\@tempcnty=\RR%
\ifnum\@yArg&lt;0 \ifnum\@tempcnty&gt;0 \@tempcnty=-\@tempcnty\fi\fi
\drawline(0,0)(\the\@tempcntx,\the\@tempcnty)%
\endgroup}
\RequirePackage{epic}%
\newif\ifsizereduction \sizereductionfalse
\def\reduced@line(#1,#2)#3{\ifsizereduction
\ifdim\unitlength&lt;0.1pt \LineTemp(#1,#2){#3}\else
\@ldline(#1,#2){#3}\fi
\else\@ldline(#1,#2){#3}\fi}
\let\line=\reduced@line
\def\@changeunitlength#1{\unitlength=#1\relax
\ifdim\unitlength&lt;0.1pt \sizereductiontrue
\ifdim\unitlength&lt;0.062pt \let\substfontsize=\tiny \else
\ifdim\unitlength&lt;0.072pt \let\substfontsize=\scriptsize \else
\ifdim\unitlength&lt;0.082pt \let\substfontsize=\footnotesize
\fi\fi\fi
\else\let\substfontsize=\normalsize
\fi}
\let\changeunitlength=\@changeunitlength
\def\reducedsizepicture{%
\@ifnextchar[{\reduced@picture}{\reduced@picture[0.1pt]}}
\def\reduced@picture[#1]{%
\sizereductiontrue
\let\sfpicture=\picture
\let\endsfpicture=\endpicture
\let\Put@Direct=\put
\let\Multiput@Direct=\multiput
\let\thicklines=\@ldthicklines
\let\thinlines=\@ldthinlines
\let\line=\reduced@line
\let\dotorline=\d@t@rline
\let\Put@Line=\Put@@Line
\let\Put@sCircle=\Put@@sCircle
\let\Put@oCircle=\Put@@oCircle
\xymtexpsswfalse
\let\changeunitlength=\@changeunitlength
\changeunitlength{#1}}
\reducedsizepicture%size-reduction setting
\let\oldlineslope=\lineslope%used only in the manual
\def\lineslope(#1,#2){%
\begingroup
\ifdim #1 &lt;0pt \@xdim= -#1 \else\@xdim=#1\fi
\ifdim #2 &lt;0pt \@ydim= -#2 \else\@ydim=#2\fi
\multiply\@xdim by10\relax%by S. Fujita 2001/6/20
\multiply\@ydim by10\relax%by S. Fujita 2001/6/20
\ifdim\@xdim &gt;\@ydim \@tempdima=\@xdim \@xdim=\@ydim \@ydim=\@tempdima
\@flippedargstrue\else\@flippedargsfalse\fi% x &lt; y
\ifdim\@ydim &gt;1pt \@tempcntx=\@ydim
            \divide\@tempcntx by 65536% now \@tempcntx=integral part of #1.
            \divide\@xdim \@tempcntx\fi
\ifdim\@xdim &lt;.083333pt \@xarg=1 \@yarg=0
 \else\ifdim\@xdim &lt;.183333pt \@xarg=6 \@yarg=1
 \else\ifdim\@xdim &lt;.225pt  \@xarg=5 \@yarg=1
 \else\ifdim\@xdim &lt;.291666pt  \@xarg=4 \@yarg=1
 \else\ifdim\@xdim &lt;.366666pt  \@xarg=3 \@yarg=1
 \else\ifdim\@xdim &lt;.45pt  \@xarg=5 \@yarg=2
 \else\ifdim\@xdim &lt;.55pt  \@xarg=2 \@yarg=1
 \else\ifdim\@xdim &lt;.633333pt  \@xarg=5 \@yarg=3
 \else\ifdim\@xdim &lt;.708333pt  \@xarg=3 \@yarg=2
 \else\ifdim\@xdim &lt;.775pt  \@xarg=4 \@yarg=3
 \else\ifdim\@xdim &lt;.816666pt  \@xarg=5 \@yarg=4
 \else\ifdim\@xdim &lt;.916666pt  \@xarg=6 \@yarg=5
       \else \@xarg=1 \@yarg=1%
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\if@flippedargs\relax\else\@tempcntx=\@xarg \@xarg=\@yarg
  \@yarg=\@tempcntx\fi
\ifdim #1 &lt;0pt \global\@xarg= -\@xarg\else\global\@xarg= \@xarg\fi
\ifdim #2 &lt;0pt \global\@yarg= -\@yarg\else\global\@yarg= \@yarg\fi
%%\typeout{closest slope integers = \the\@xarg, \the\@yarg}
\endgroup}
\endinput
%%
%% End of file `sizeredc.sty'.
</pre></body></html>