diff options
Diffstat (limited to '2004/netfilter-failover-ols2004/OLS2004-proceedings/texmf/tex/latex/combine/combinet.sty')
-rw-r--r-- | 2004/netfilter-failover-ols2004/OLS2004-proceedings/texmf/tex/latex/combine/combinet.sty | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/2004/netfilter-failover-ols2004/OLS2004-proceedings/texmf/tex/latex/combine/combinet.sty b/2004/netfilter-failover-ols2004/OLS2004-proceedings/texmf/tex/latex/combine/combinet.sty new file mode 100644 index 0000000..5b1858b --- /dev/null +++ b/2004/netfilter-failover-ols2004/OLS2004-proceedings/texmf/tex/latex/combine/combinet.sty @@ -0,0 +1,138 @@ +%% +%% This is file `combinet.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% combine.dtx (with options: `pck') +%% +%% Author: Peter Wilson (CUA) now at peter.r.wilson@boeing.com +%% (or at: pandgwilson at earthlink dot net) +%% Copyright 2000, 2001, 2002, 2003 Peter R. Wilson +%% +%% 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 the license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2003/06/01 or later. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This work consists of the files listed in the README file. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{combinet}[2004/03/06 v0.2a document titles in ToC] +\@ifclassloaded{combine}{}{% + \PackageError{combinet}{The `combine' class is expected}{\@ehc}% +} + +\newif\ifc@lnomtitle + \c@lnomtitlefalse +\newif\ifc@lnomauthor + \c@lnomauthorfalse +\newif\ifc@lnothanks + \c@lnothanksfalse +\newif\ifc@lpubopt + \c@lpuboptfalse +\newif\ifc@lpubtop + \c@lpubtopfalse +\newif\ifc@lpubs + \c@lpubsfalse + +\DeclareOption{nomtitle}{\c@lnomtitletrue} +\DeclareOption{nomauthor}{\c@lnomauthortrue} +\DeclareOption{nothanks}{\c@lnothankstrue} +\DeclareOption{pub}{\c@lpubopttrue\c@lpubtopfalse\c@lpubstrue} +\DeclareOption{pubtop}{\c@lpubtoptrue\c@lpuboptfalse\c@lpubstrue} +\ProcessOptions\relax + +\ifc@lpubs + \renewcommand{\published}[2][\@empty]{% + \c@lpubtrue + \ifx #1\@empty + \gdef\c@lpubtoc{#2} + \else + \gdef\c@lpubtoc{#1} + \fi + \gdef\c@lpubbody{#2} + } +\fi + +\appendiargdef{\title}{% + \begingroup + \renewcommand{\thanks}[1]{} + \protected@xdef\c@l@title{#1} + \endgroup +} +\appendiargdef{\author}{% + \begingroup + \renewcommand{\thanks}[1]{} + \renewcommand{\and}{\unskip, } + \protected@xdef\c@l@author{#1} + \endgroup +} + +\def\c@lbmaketitle{\par + \begingroup + \let\newpage\relax + \let\@maketitle\c@lb@maketitle + \ifc@lpub + \ifc@lpubtop + \ifc@lnopubindoc\else + {\parindent\z@ \pubfont \c@lpubbody\par\nobreak} + \fi + \fi + \fi + \c@lmtitle %% typeset the title block + \endgroup + \setcounter{footnote}{0} + \begingroup + \let\thanks\@empty + \ifc@ltoctitle\else + \ifc@lnomtitle\else + \ifx\@title\@empty\else + \ifc@lnothanks + \c@laaddcontentsline{toc}% + {coltoctitle}{\protect\numberline{}\c@l@title}% + \else + \c@laaddcontentsline{toc}% + {coltoctitle}{\protect\numberline{}\@title}% + \fi + \fi + \fi + \fi + \ifc@ltocauthor\else + \ifc@lnomauthor\else + \ifx\@author\@empty\else + \ifc@lnothanks + \c@laaddcontentsline{toc}% + {coltocauthor}{\protect\numberline{}\c@l@author} + \else + \c@laaddcontentsline{toc}% + {coltocauthor}{\protect\numberline{}\@author} + \fi + \fi + \fi + \fi + \endgroup + \ifc@lpub + \ifc@lpubopt + \ifc@lnopubindoc\else + {\parindent\z@ \pubfont \c@lpubbody\par\nobreak} + \fi + \fi + \ifc@lpubs + \ifc@lnopubintoc\else + \c@laaddcontentsline{toc}{published}{\protect\numberline{}\c@lpubtoc} + \fi + \fi + \fi + \c@lmtitlempty +} + +\endinput +%% +%% End of file `combinet.sty'. |