diff options
-rw-r--r-- | Master/texmf-dist/tex/latex/preprint/authblk.sty | 180 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preprint/balance.sty | 87 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preprint/figcaps.sty | 265 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preprint/fullpage.sty | 78 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preprint/sublabel.sty | 113 |
5 files changed, 723 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/preprint/authblk.sty b/Master/texmf-dist/tex/latex/preprint/authblk.sty new file mode 100644 index 00000000000..52080a9131e --- /dev/null +++ b/Master/texmf-dist/tex/latex/preprint/authblk.sty @@ -0,0 +1,180 @@ +%% +%% This is file `authblk.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% authblk.dtx (with options: `package') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file authblk.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1997-1999 Patrick W Daly +%% Max-Planck-Institut f\"ur Aeronomie +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@linmpi.mpg.de +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesPackage{authblk} + [2001/02/27 1.3 (PWD)] + %------------------------------------------------------------------- + % NOTICE: + % This file may be used for non-profit purposes. + % It may not be distributed in exchange for money, + % other than distribution costs. + % + % The author provides it `as is' and does not guarantee it in any way. + % +%% authblk coding copyright (C) 1997 Patrick W. Daly + % Max-Planck-Institut f\"ur Aeronomie + % Max-Planck-Str. 2 + % D-37191 Katlenburg-Lindau + % Germany + % + % E-mail: daly@linmpi.mpg.de + %----------------------------------------------------------- + % Author/Affiliation Blocks + % A LaTeX2e package to redefine the \author command to work as normal or + % to allow a footnote style of author/affiliation input. + % + % Three methods of input: + % 1. Standard LaTeX + % \author{Name1//Affil1 /and Name2 and Name3//Affil2 . . .} + % (use \authorcr, not \\, to force new line within the author text) + % 2. Automatic mode (selects modes 1 or 3 depending on number of affiliations) + % \author{Name1} + % \affil{Affil1} + % \author{Name2} + % \author{Name3} + % \affil{Affil2} + % . . . + % 3. Footnotes explicitly + % \author[*]{Name1} + % \author[**]{Name2} + % \author[**]{Name3} + % \affil[*]{Affil1} + % \affil[**]{Affil2} + % . . . + % See documentation in authblk.dtx for further configuration possibilities. + %----------------------------------------------------------- +\newcommand\Authfont{\normalfont} +\newcommand\Affilfont{\normalfont} +\newcommand\Authsep{, } +\newcommand\Authands{, and } +\newcommand\Authand{ and } +\newlength{\affilsep}\setlength{\affilsep}{1em} +\newlength{\@affilsep} +\newcounter{Maxaffil} +\setcounter{Maxaffil}{2} +\DeclareOption{blocks}{\setcounter{Maxaffil}{\maxdimen}} +\DeclareOption{noblocks}{\setcounter{Maxaffil}{0}} +\DeclareOption{max2}{\setcounter{Maxaffil}{2}} +\DeclareOption{max3}{\setcounter{Maxaffil}{3}} +\DeclareOption{max4}{\setcounter{Maxaffil}{4}} +\DeclareOption{max5}{\setcounter{Maxaffil}{5}} +\DeclareOption{max6}{\setcounter{Maxaffil}{6}} +\DeclareOption{auth-sc}{\renewcommand\Authfont{\scshape}} +\DeclareOption{auth-sc-lg}{\renewcommand\Authfont{\large\scshape}} +\DeclareOption{auth-lg}{\renewcommand\Authfont{\large}} +\DeclareOption{affil-sl}{\renewcommand\Affilfont{\slshape}} +\DeclareOption{affil-it}{\renewcommand\Affilfont{\itshape}} +\DeclareOption{german}{\renewcommand\Authand{, und }% + \renewcommand\Authands{, und }} +\ProcessOptions +\newcounter{authors} +\newcounter{affil} +\newif\ifnewaffil \newaffiltrue +\newcommand\AB@authnote[1]{\textsuperscript{\normalfont#1}} +\newcommand\AB@affilnote[1]{\textsuperscript{\normalfont#1}} +\providecommand\textsuperscript[1]{$^{#1}$} +\newcommand\AB@blk@and{\protect\Authfont\protect\AB@setsep} +\newcommand\AB@pand{\protect\and \protect\Authfont \protect\AB@setsep} +\@namedef{@sep1}{} +\@namedef{@sep2}{\Authand} +\newcommand\AB@affilsep{\protect\Affilfont} +\newcommand\AB@affilsepx{\protect\\\protect\Affilfont} +\newcommand\AB@setsep{\setlength{\@affilsep}{\affilsep}} +\newcommand\AB@resetsep{\setlength{\@affilsep}{\z@}} +\newcommand\AB@authlist{} +\newcommand\AB@affillist{} +\newcommand\AB@authors{} +\newcommand\AB@empty{} +\xdef\AB@author{\noexpand\AB@blk@and\@author} +\renewcommand\author[2][]% + {\ifnewaffil\addtocounter{affil}{1}% + \edef\AB@thenote{\arabic{affil}}\fi + \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% + \setcounter{Maxaffil}{0}\fi + \ifnum\value{authors}>1\relax + \@namedef{@sep\number\c@authors}{\Authsep}\fi + \addtocounter{authors}{1}% + \begingroup + \let\protect\@unexpandable@protect \let\and\AB@pand + \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}% + \@temptokena=\expandafter{\AB@authors}% + {\def\\{\protect\\[\@affilsep]\protect\Affilfont + \protect\AB@resetsep}% + \xdef\AB@author{\AB@blk@and#2}% + \ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}% + \xdef\AB@authors{\the\@temptokena\AB@blk@and}% + \else + \xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}% + \global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}% + \gdef\AB@as{\Authsep}% + \fi + \gdef\AB@au@str{#2}}% + \@temptokena=\expandafter{\AB@authlist}% + \let\\=\authorcr + \xdef\AB@authlist{\the\@temptokena + \protect\@nameuse{@sep\number\c@authors}% + \protect\Authfont#2\AB@authnote{\AB@note}}% + \endgroup + \ifnum\value{authors}>2\relax + \@namedef{@sep\number\c@authors}{\Authands}\fi + \newaffilfalse +} +\newcommand\authorcr{\protect\\ \protect\Authfont \protect\AB@setsep}% +\newcommand\affil[2][]% + {\newaffiltrue\let\AB@blk@and\AB@pand + \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% + \setcounter{Maxaffil}{0}\fi + \begingroup + \let\protect\@unexpandable@protect + \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}% + \@temptokena=\expandafter{\AB@authors}% + {\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}% + \xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str + \protect\\[\affilsep]\protect\Affilfont\AB@temp}% + \gdef\AB@las{}\gdef\AB@au@str{}% + {\def\\{, \ignorespaces}\xdef\AB@temp{#2}}% + \@temptokena=\expandafter{\AB@affillist}% + \xdef\AB@affillist{\the\@temptokena \AB@affilsep + \AB@affilnote{\AB@note}\protect\Affilfont\AB@temp}% + \endgroup + \let\AB@affilsep\AB@affilsepx +} +\def\@author{} +\renewcommand\@author{\ifx\AB@affillist\AB@empty\AB@author\else + \ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}% + \AB@authlist\\[\affilsep]\AB@affillist + \else \AB@authors\fi\fi} +\let\AB@maketitle=\maketitle +\def\maketitle + {{\renewenvironment{tabular}[2][]{\begin{center}} + {\end{center}} + \AB@maketitle}} +%% +%% <<<<< End of generated file <<<<<< +%% +%% End of file `authblk.sty'. diff --git a/Master/texmf-dist/tex/latex/preprint/balance.sty b/Master/texmf-dist/tex/latex/preprint/balance.sty new file mode 100644 index 00000000000..2652c05b5ee --- /dev/null +++ b/Master/texmf-dist/tex/latex/preprint/balance.sty @@ -0,0 +1,87 @@ +%% +%% This is file `balance.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% balance.dtx (with options: `package') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file balance.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1993-1999 Patrick W Daly +%% Max-Planck-Institut f\"ur Aeronomie +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@linmpi.mpg.de +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesPackage{balance} + [1999/02/23 4.3 (PWD)] + % In order to balance the columns on a page, \balance must be given + % somewhere within the first column. To turn off the feature, give + % \nobalance. One has to look at the unbalanced text first to decide + % where best to place \balance. + %----------------------------------------------------------- +\newcommand{\@BAlancecol}{\if@twocolumn + \setbox0=\vbox{\unvbox\@outputbox} \@tempdima=\ht0 + \advance\@tempdima by \topskip \advance\@tempdima + by -\baselineskip \divide\@tempdima by 2 + \splittopskip=\topskip + {\vbadness=\@M \loop \global\setbox3=\copy0 + \global\setbox1=\vsplit3 to \@tempdima + \ifdim\ht3>\@tempdima \global\advance\@tempdima by 1pt \repeat} + \setbox\@leftcolumn=\vbox to \@tempdima{\unvbox1\vfil} + \setbox\@outputbox=\vbox to \@tempdima + {\dimen2=\dp3\unvbox3\kern-\dimen2 + \vfil} + \fi} +\newif\if@BAlanceone +\global\@BAlanceonefalse +\newdimen\oldvsize +\newcommand{\@BAdblcol}{\if@firstcolumn + \unvbox\@outputbox \penalty\outputpenalty + \global\oldvsize=\@colht \global\multiply \@colht by 2 + \global\@BAlanceonetrue + \global\@firstcolumnfalse + \else \global\@firstcolumntrue + \if@BAlanceone + \global\@BAlanceonefalse\@BAlancecol + \global\@colht=\oldvsize \else + \PackageWarningNoLine{balance} + {You have called \protect\balance\space + in second column\MessageBreak + Columns might not be balanced}\fi + \setbox\@outputbox\vbox to \@colht{\hbox to\textwidth + {\hbox to\columnwidth {\box\@leftcolumn \hss}\hfil + \vrule width\columnseprule\hfil \hbox to\columnwidth + {\box\@outputbox \hss}}\vfil}\@combinedblfloats + \@outputpage \begingroup \@dblfloatplacement + \@startdblcolumn \@whilesw\if@fcolmade \fi + {\@outputpage\@startdblcolumn}\endgroup + \fi} +\newcommand{\@BAcleardblpage}{\clearpage\if@twoside \ifodd\c@page\else + \hbox{}\newpage\fi\fi} +\newcommand{\@@cleardblpage}{} +\let\@@cleardblpage=\cleardoublepage + +\newcommand{\@@utputdblcol}{} +\let\@@utputdblcol=\@outputdblcol +\newcommand{\balance}{\global\let\@outputdblcol=\@BAdblcol + \global\let\cleardoublepage=\@BAcleardblpage} +\newcommand{\nobalance}{\global\let\@outputdblcol=\@@utputdblcol + \global\let\cleardoublepage=\@@cleardblpage} +%% +%% <<<<< End of generated file <<<<<< +%% +%% End of file `balance.sty'. diff --git a/Master/texmf-dist/tex/latex/preprint/figcaps.sty b/Master/texmf-dist/tex/latex/preprint/figcaps.sty new file mode 100644 index 00000000000..78d204cc118 --- /dev/null +++ b/Master/texmf-dist/tex/latex/preprint/figcaps.sty @@ -0,0 +1,265 @@ +%% +%% This is file `figcaps.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% figcaps.dtx (with options: `package') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file figcaps.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1993-1999 Patrick W Daly +%% Max-Planck-Institut f\"ur Aeronomie +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@linmpi.mpg.de +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesPackage{figcaps} + [1999/02/23 4.7 (PWD)] + % This option allows the figure captions to be collected throughout + % the paper and printed on a separate page at the end. The figures + % themselves will not appear in the text. This is for purposes of + % a manuscript for submission. + % Similarly, tables are not printed in the text, but are outputted at + % the end, after the figure captions. + % The figures themselves may appear, with captions, at + % the end, after the tables. This is done with command \printfigures + % in the preamble. This only makes sense if the figures have been + % generated by LaTeX or if they are being imported. + % Marginal notes added where environments placed if \figmarkon given. + % NOTE: Only works for article-like styles at present, where \section is + % the highest sectioning level. + % NOTE: Tables of contents (incl figures and tables) cannot be used + % NOTE: This file must be read in AFTER \appendix has been defined; + % + % Options with LaTeX2e: + % printfigures - prints the figures at the end of the article, (is + % like issuing the \printfigures command) + % figmark - turns on the markers for figures and tables in the text, + % (is like issuing \figmarkon) + % figon/off - activates or deactivates the whole procedure (is like + % (issuing \figcapson or \figcapsoff). Default=on. + % mylang - (default) leaves explicit text (e.g. `Figure Captions' + % as is, or if undefined, makes them English + % english,american,german,austrian,french,esperanto - changes explicit + % texts accordingly + % blank - makes explicit texts empty. + %----------------------------------------------------------- +\@ifundefined{chapter}{}{% + \PackageError{figcaps} + {`figcaps' may only be used with article-like classes} + {There is no help. You just cannot use `figcaps'}} +\newif\iffigcaps \figcapstrue +\newif\iffigmark \figmarkfalse +\newif\if@figpage \@figpagefalse +\DeclareOption{english}{\def\figurecapname{Figure Captions}% + \def\tablepagename{Tables}% + \def\figurepagename{Figures}} +\DeclareOption{american}{\ExecuteOptions{english}} +\DeclareOption{german}{\def\figurecapname{Untertiteln der Abbildungen}% + \def\tablepagename{Tabellen}% + \def\figurepagename{Abbildungen}} +\DeclareOption{austrian}{\ExecuteOptions{german}} +\DeclareOption{french}{\def\figurecapname{Titres des Figures}% + \def\tablepagename{Tableaux}% + \def\figurepagename{Figures}} +\DeclareOption{esperanto}{\def\figurecapname{Titroj de la Figuroj}% + \def\tablepagename{Tabeloj}% + \def\figurepagename{Figuroj}} +\DeclareOption{blank}{\def\figurecapname{}% + \def\tablepagename{}% + \def\figurepagename{}} +\DeclareOption{blank}{\def\appendixname{}} +\DeclareOption{mylang}{\providecommand{\figurecapname}{Figure Captions}% + \providecommand{\tablepagename}{Tables}% + \providecommand{\figurepagename}{Figures}} +\DeclareOption{figmark}{\figmarktrue} +\DeclareOption{printfigures}{\@figpagetrue} +\DeclareOption{figon}{\figcapstrue} +\DeclareOption{figoff}{\figcapsfalse} +\ExecuteOptions{mylang,figon} +\ProcessOptions* +\begingroup + \catcode `|=0 \catcode `[= 1 + \catcode`]=2 \catcode `\{=12 \catcode `\}=12 + \catcode`\^^M=13 \catcode`\\=12 % +|long|gdef|@vfig#1\end{figure}[|def|@term[\end{figure}]% + |expandafter|writelof#1^^M\end{figure}^^M|end[figure]]% +|long|gdef|@vsfig#1\end{figure*}[|def|@term[\end{figure*}]% + |expandafter|writelof#1^^M\end{figure*}^^M|end[figure*]]% +|long|gdef|@vtab#1\end{table}[|def|@term[\end{table}]% + |expandafter|writelot#1^^M\end{table}^^M|end[table]]% +|long|gdef|@vstab#1\end{table*}[|def|@term[\end{table*}]% + |expandafter|writelot#1^^M\end{table*}^^M|end[table*]]% +|long|gdef|@fcaponly#1\caption[|endgroup|@fcaption]% +|long|gdef|@feject#1\end{figure}[|end[figure]]% + |endgroup +\long\def\FC@writefile#1#2{\@ifundefined{tf@#1}{}{% + \immediate\write\csname tf@#1\endcsname{#2}}} +\def\lof{lof} \def\lot{lot} + +{\catcode`\^^M=13% + \long\gdef\writelof#1^^M{\def\@tempb{#1}% + \ifx\@tempb\@term\let\@tempa\relax\else + \if@filesw\FC@writefile{pof}{#1}\fi\let\@tempa\writelof\fi \@tempa} + \long\gdef\writelot#1^^M{\def\@tempb{#1}% + \ifx\@tempb\@term\let\@tempa\relax\else + \if@filesw\FC@writefile{pot}{#1}\fi\let\@tempa\writelot\fi \@tempa} +} +\def\@fcaption{\refstepcounter\@captype \@ifnextchar[{\@@fcapopt}{\@@fcap}} +\def\@@fcapopt[#1]#2{\@caption\@captype[]{#2}\begingroup\set@literal\@feject} +\def\@@fcap#1{\@caption\@captype[]{#1}\begingroup\set@literal\@feject} +\def\figcapson{\figcapstrue} +\def\figcapsoff{\figcapsfalse} +\def\figmarkon{\figmarktrue} +\def\figmarkoff{\figmarkfalse} +\def\figure{\iffigcaps \let\@tempb=\@zfigure \else \let\@tempb=\@float\fi + \@tempb{figure}} +\def\@zfigure#1{\begingroup\set@literal\@ifnextchar[{\@figure}{\@figure[]}} +\def\@figure[#1]{\@ifundefined{tf@pof}{\newwrite\tf@pof + \if@filesw\immediate\openout\tf@pof\jobname.\lof\relax + \ifFC@appendix\FC@writefile{pof}{\string\doappendix}\fi\fi}{}% + \refstepcounter{figure}\iffigmark\marginpar{\fbox{\fnum@figure}}\fi + \def\@captype{figure}\if@filesw\FC@writefile{pof}{\string\begin{figure}}\fi + \@vfig} + +\def\endfigure{\iffigcaps + \endgroup\if@filesw\FC@writefile{pof}{\string\end{figure}}\fi\else + \end@float\fi} + +\@namedef{figure*}{\iffigcaps \let\@tempb=\@zsfigure \else + \let\@tempb=\@dblfloat\fi \@tempb{figure}} +\def\@zsfigure#1{\begingroup\set@literal\@ifnextchar[{\@sfigure}{\@sfigure[]}} +\def\@sfigure[#1]{\@ifundefined{tf@pof}{\newwrite\tf@pof + \if@filesw\immediate\openout\tf@pof\jobname.\lof\relax + \ifFC@appendix\FC@writefile{pof}{\string\doappendix}\fi\fi}{}% + \refstepcounter{figure}\iffigmark\marginpar{\fbox{\fnum@figure}}\fi + \def\@captype{figure}\if@filesw\FC@writefile{pof}{\string\begin{figure}}\fi + \@vsfig} + +\@namedef{endfigure*}{\iffigcaps\endfigure\else\end@dblfloat\fi} +\def\table{\iffigcaps \let\@tempb=\@ztable \else \let\@tempb=\@float\fi + \@tempb{table}} +\def\@ztable#1{\begingroup\set@literal\@ifnextchar[{\@table}{\@table[]}} +\def\@table[#1]{\@ifundefined{tf@pot}{\newwrite\tf@pot + \if@filesw\immediate\openout\tf@pot\jobname.\lot\relax + \ifFC@appendix\FC@writefile{pot}{\string\doappendix}\fi\fi}{}% + \refstepcounter{table}\iffigmark\marginpar{\fbox{\fnum@table}}\fi + \def\@captype{table}\if@filesw\FC@writefile{pot}{\string\begin{table}}\fi + \@vtab} + +\def\endtable{\iffigcaps + \endgroup\if@filesw\FC@writefile{pot}{\string\end{table}}\fi\else + \end@float\fi} + +\@namedef{table*}{\iffigcaps \let\@tempb=\@zstable \else + \let\@tempb=\@dblfloat\fi \@tempb{table}} +\def\@zstable#1{\begingroup\set@literal\@ifnextchar[{\@stable}{\@stable[]}} +\def\@stable[#1]{\@ifundefined{tf@pot}{\newwrite\tf@pot + \if@filesw\immediate\openout\tf@pot\jobname.\lot\relax + \ifFC@appendix\FC@writefile{pot}{\string\doappendix}\fi\fi}{}% + \refstepcounter{table}\iffigmark\marginpar{\fbox{\fnum@table}}\fi + \def\@captype{table}\if@filesw\FC@writefile{pot} + {\string\begin{table}}% + \fi\@vstab} + +\@namedef{endtable*}{\iffigcaps\endtable\else + \end@dblfloat\fi} +\def\tableofcontents{% + \PackageWarningNoLine{figcaps} + {Ignored: \protect\tableofcontents\space command}} +\def\listoffigures{% + \PackageWarningNoLine{figcaps} + {Ignored: \protect\listoffigures\space command}} +\def\listoftables{% + \PackageWarningNoLine{figcaps} + {Ignored: \protect\listoftables\space command}} +\def\addtocontents#1#2{\relax} +\def\addcontentsline#1#2#3{\relax} +{\catcode`\^^M=\active \gdef\cr@relax{\catcode`\^^M=\active \let^^M=\relax}} +\def\set@literal{\cr@relax \let\do\@makeother\dospecials} +\def\@figurecaps{\@ifundefined{tf@pof}{}{\if@filesw + \immediate\closeout\tf@pof\fi + \@ifundefined{appendixname}{}{\def\appendixname{}} + \parindent\z@ + \reset@figtab\clearpage\section*{\figurecapname}\vspace{1cm}% + \@mkboth{\uppercase{\figurecapname}}{\uppercase{\figurecapname}}% + \addcontentsline{toc}{section}{\figurecapname}% + \def\figure{\def\addcontentsline####1####2####3{}% + \def\@captype{figure}% + \begingroup\set@literal\@fcaponly + }\def\endfigure{\endgroup\bigskip}% + {\let\@makecaption=\@makefcaption + \@input{\jobname.\lof}}% + \clearpage}}% +\def\@tablepage{\@ifundefined{tf@pot}{}{\if@filesw + \immediate\closeout\tf@pot\fi + \@ifundefined{appendixname}{}{\def\appendixname{}} + \parindent\z@ + \reset@figtab\clearpage\section*{\tablepagename} + \@mkboth{\uppercase{\tablepagename}}{\uppercase{\tablepagename}}% + \def\table{\def\@captype{table}\vbox\bgroup + }\def\endtable{\egroup\bigskip}% + \@input{\jobname.\lot} + \clearpage}} +\def\printfigures{\@figpagetrue} +\def\@figurepage{\if@figpage\@ifundefined{tf@pof}{}{% + \@ifundefined{appendixname}{}{\def\appendixname{}} + \reset@figtab\clearpage\section*{\figurepagename}% + \@mkboth{\uppercase{\figurepagename}}{\uppercase{\figurepagename}}% + \begingroup + \def\figure{\def\@captype{figure}\vbox\bgroup}\def\endfigure{\egroup + \vspace{20pt}}% + \def\label##1{}% + \@input{\jobname.\lof}\newpage\endgroup}\fi} +\long\def\@makefcaption#1#2{% + \vskip 10pt + #1. #2\par } +\def\reset@figtab{% + \setcounter{figure}{0}\setcounter{table}{0} +} +\AtEndDocument{\iffigcaps\@tablepage\@figurecaps\@figurepage\fi} +\let\@appendix=\appendix +\newif\ifFC@appendix \FC@appendixfalse +\def\appendix{\FC@appendixtrue + \@ifundefined{tf@pof}{}{\if@filesw\FC@writefile{pof}{\string\doappendix}\fi}% + \@ifundefined{tf@pot}{}{\if@filesw\FC@writefile{pot}{\string\doappendix}\fi}% + \global\let\@section=\section + \doappendix + \let\@@section=\section + \def\section{% + \@ifundefined{tf@pof}{}{\if@filesw\FC@writefile{pof}{\string + \stepcounter{section}}\fi}% + \@ifundefined{tf@pot}{}{\if@filesw\FC@writefile{pot}{\string + \stepcounter{section}}\fi}% + \@@section} + \global\let\reset@figtab=\@unappendix} +\def\doappendix{% + \global\let\@thefigure=\thefigure + \global\let\@thetable=\thetable + \global\let\@cl@section=\cl@section + \@appendix +} +\def\@unappendix{\FC@appendixfalse + \setcounter{figure}{0}\setcounter{table}{0} + \let\thefigure=\@thefigure + \let\thetable=\@thetable + \let\cl@section=\@cl@section + \let\section=\@section +} +%% +%% <<<<< End of generated file <<<<<< +%% +%% End of file `figcaps.sty'. diff --git a/Master/texmf-dist/tex/latex/preprint/fullpage.sty b/Master/texmf-dist/tex/latex/preprint/fullpage.sty new file mode 100644 index 00000000000..38749a599cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/preprint/fullpage.sty @@ -0,0 +1,78 @@ +%% +%% This is file `fullpage.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% fullpage.dtx (with options: `package') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file fullpage.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1994-1999 Patrick W Daly +%% Max-Planck-Institut f\"ur Aeronomie +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@linmpi.mpg.de +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesPackage{fullpage} + [1999/02/23 1.1 (PWD)] + % Sets all 4 margins to be either 1 inch or 1.5 cm, and specifies + % the page style + % Call as \usepackage[options]{fullpage} + % Options = in (default) for 1 inch + % cm for 1.5 cm + % plain (default) sets \pagestyle{plain} + % empty sets \pagestyle{empty} + % headings sets \pagestyle{headings} + % myheadings sets \pagestyle{myheadings} + %----------------------------------------------------------- +\newlength{\FP@margin} +\DeclareOption{in}{\setlength{\FP@margin}{1in}} +\DeclareOption{cm}{\setlength{\FP@margin}{1.5cm}} +\newif\ifFP@plain +\newif\ifFP@empty +\DeclareOption{plain}{\FP@plaintrue \FP@emptyfalse + \pagestyle{plain}} +\DeclareOption{empty}{\FP@plaintrue \FP@emptytrue + \pagestyle{empty}} +\DeclareOption{headings}{\FP@plainfalse \FP@emptyfalse + \pagestyle{headings}} +\DeclareOption{myheadings}{\FP@plainfalse \FP@emptyfalse + \pagestyle{myheadings}} +\ExecuteOptions{in,plain} +\ProcessOptions* +\ifFP@plain + \setlength{\headheight}{0pt} + \setlength{\headsep}{0pt} +\fi +\ifFP@empty + \setlength{\footskip}{0pt} +\fi +\setlength{\textwidth}{\paperwidth} +\addtolength{\textwidth}{-2\FP@margin} +\setlength{\oddsidemargin}{\FP@margin} +\addtolength{\oddsidemargin}{-1in} +\setlength{\evensidemargin}{\oddsidemargin} +\setlength{\textheight}{\paperheight} +\addtolength{\textheight}{-\headheight} +\addtolength{\textheight}{-\headsep} +\addtolength{\textheight}{-\footskip} +\addtolength{\textheight}{-2\FP@margin} +\setlength{\topmargin}{\FP@margin} +\addtolength{\topmargin}{-1in} +%% +%% <<<<< End of generated file <<<<<< +%% +%% End of file `fullpage.sty'. diff --git a/Master/texmf-dist/tex/latex/preprint/sublabel.sty b/Master/texmf-dist/tex/latex/preprint/sublabel.sty new file mode 100644 index 00000000000..a1d035506a9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/preprint/sublabel.sty @@ -0,0 +1,113 @@ +%% +%% This is file `sublabel.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% sublabel.dtx (with options: `package') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file sublabel.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1993-1999 Patrick W Daly +%% Max-Planck-Institut f\"ur Aeronomie +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@linmpi.mpg.de +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesPackage{sublabel} + [1999/02/23 4.5 (PWD)] + % To change a counter foo so that it has sublabels (4a 4b 4c ...) + % give the command \sublabon{foo}... \sublaboff{foo} + % + % The style of the sublabel is given by command \substyle, which takes one + % argument, a counter. It may be redefined in the document to be whatever + % style is wanted. + % Default is {\itshape\alph{#1}}, ie italic lowercase numbers. + % + % Options for LaTeX2e: + % roman the style of sublabels is small roman letter + % italic the style is small italic letter (default) + %----------------------------------------------------------- +\@ifundefined{iffigcaps}{} + {\PackageWarningNoLine{sublabel} + {***********************************\MessageBreak + This package read in after `figcaps'\MessageBreak + There could be problems with sublabelled\MessageBreak + figure and table numbers.\MessageBreak + ***********************************}} +\newcommand{\substyle}{} + \DeclareOption{italic}{\def\substyle#1{\itshape\alph{#1}}} + \DeclareOption{roman}{\def\substyle#1{\alph{#1}}} + \ExecuteOptions{italic} + \ProcessOptions +\newcommand{\sublabon}[1]{\@bsphack +\@ifundefined{c@#1}{% + \PackageError{sublabel} + {\protect\sublabon\space called for a non-existent counter}{\@eha}} + {\@ifundefined{c@sb@#1}{\expandafter\newcount\csname c@sb@#1\endcsname + \setcounter{sb@#1}{-1}}{}% +\ifnum\@nameuse{c@sb@#1}<0\else\sublaboff{#1}\fi +\stepcounter{#1}% +\setcounter{sb@#1}{0}% +\def\@tempa{eqnarray}\ifx \@tempa\@currenvir + \addtocounter{equation}{-1}\setcounter{sb@equation}{1}\fi +\global\expandafter\let\csname @ldthe#1\expandafter\endcsname + \csname the#1\endcsname +\expandafter\gdef\csname the#1\endcsname{% + \@nameuse{@ldthe#1}{\substyle{sb@#1}}} +}\@esphack} +\newcommand{\sublaboff}[1]{\@bsphack +\@ifundefined{c@#1}{% + \PackageError{sublabel} + {\protect\sublaboff\space called for a non-existent counter}{\@eha}} + {\@ifundefined{c@sb@#1}{% + \PackageWarning{sublabel} + {\protect\sublaboff{#1} called without any previous + \MessageBreak + \protect\sublabon{#1} command}} + {\ifnum\@nameuse{c@sb@#1}<0 + \PackageWarning{sublabel} + {\protect\sublaboff{#1} called without a previous + \MessageBreak + \protect\sublabon{#1} command being active}\else +\ifnum\@nameuse{c@sb@#1}=0\addtocounter{#1}{-1}\fi +\setcounter{sb@#1}{-1}% +\global\expandafter\let\csname the#1\expandafter\endcsname + \csname @ldthe#1\endcsname +\def\@tempa{eqnarray}\ifx \@tempa\@currenvir + \stepcounter{equation}\fi +\fi}}\@esphack} +\AtBeginDocument{% +\let\@ldstepcounter=\stepcounter +\renewcommand{\stepcounter}[1] + {\@ifundefined{c@sb@#1}{\@ldstepcounter{#1}}{\ifnum + \@nameuse{c@sb@#1}<0\relax + \@ldstepcounter{#1}\else \@ldstepcounter{sb@#1}\fi}% +} +\let\@ldaddtoctr=\addtocounter +\renewcommand{\addtocounter}[2] + {\@ifundefined{c@sb@#1}{\@ldaddtoctr{#1}{#2}}{\ifnum + \@nameuse{c@sb@#1}<0\relax + \@ldaddtoctr{#1}{#2}\else \@ldaddtoctr{sb@#1}{#2}\fi}% +} +\let\@ldendeqnarray=\endeqnarray +\renewcommand{\endeqnarray}{\@ldendeqnarray + \@ifundefined{c@sb@equation}{}{\ifnum\c@sb@equation<0\else + \@ldaddtoctr{equation}{1}\@ldaddtoctr{sb@equation}{-1}\fi}} +} +%% +%% <<<<< End of generated file <<<<<< +%% +%% End of file `sublabel.sty'. |