From 4f617355bd5e865e45f1dd5c88172a1d38d41e81 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 12 Jan 2006 23:53:26 +0000
Subject: computational-complexity

git-svn-id: svn://tug.org/texlive/trunk@781 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/computational-complexity/ccaux.sty   | 217 +++++++++++++++++++++
 1 file changed, 217 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty

(limited to 'Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty')

diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
new file mode 100644
index 00000000000..b5ff2b5b442
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
@@ -0,0 +1,217 @@
+%%
+%% This is file `ccaux.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% cc.dtx  (with options: `ccaux,chartab')
+%% 
+%% This is a generated file.
+%% 
+%% Copyright 2000-2003
+%% Michael N"usken, Joachim von zur Gathen, computational complexity
+%% 
+%% IMPORTANT NOTICE:
+%% 
+%% You are *not* allowed to modify this file.
+%% 
+%% You are *not* allowed to distribute this file.
+%% For distribution of the original source see the terms
+%% for copying and modification in the file cc.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     \&
+%%   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         \~}
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{ccaux}[2005/08/27 v2.04
+         computational complexity, auxiliaries.
+         Michael Nuesken, Bonn.]
+\newif\if@longarticle \@longarticletrue
+\newif\if@cclayout \@cclayouttrue
+\newif\if@Tone \@Tonetrue
+\newif\if@latin \@latintrue
+\newif\if@babel \@babelfalse
+\newif\if@ams \@amstrue
+\newif\if@autotitle \@autotitletrue
+\newif\if@ccsectioning \@ccsectioningtrue
+\newif\if@cccite \@cccitefalse
+\newif\if@natbib \@natbibtrue
+\newif\if@manualbibliography \@manualbibliographyfalse
+\newif\if@twocolumnbibliography \@twocolumnbibliographyfalse
+\newif\if@cctheorems \@cctheoremstrue
+\newif\if@standardtheorems \@standardtheoremstrue
+\newif\if@ccnosepeqncnt \@ccnosepeqncnttrue
+\newif\if@ccalgo \@ccalgotrue
+\newif\if@theoremitemprefixes \@theoremitemprefixestrue
+\newif\if@ccpublish \@ccpublishfalse
+\newif\if@cctextarea \@cctextareatrue
+\newcount\@marginmode \@marginmode\tw@
+\def\numberallwithin#1{\gdef\cc@numberingtoplevel{#1}}
+\def\@adjustnumbering{%
+  \if@longarticle
+  \numberwithin{equation}\cc@numberingtoplevel
+  \numberwithin{figure}\cc@numberingtoplevel
+  \numberwithin{table}\cc@numberingtoplevel
+  \if@cctheorems\if@standardtheorems\else
+    \numberwithin{answer}\cc@numberingtoplevel
+    \numberwithin{assumption}\cc@numberingtoplevel
+    \numberwithin{claim}\cc@numberingtoplevel
+    \numberwithin{conjecture}\cc@numberingtoplevel
+    \numberwithin{convention}\cc@numberingtoplevel
+    \numberwithin{corollary}\cc@numberingtoplevel
+    \numberwithin{counterexample}\cc@numberingtoplevel
+    \numberwithin{definition}\cc@numberingtoplevel
+    \numberwithin{exercise}\cc@numberingtoplevel
+    \numberwithin{fact}\cc@numberingtoplevel
+    \numberwithin{hypothesis}\cc@numberingtoplevel
+    \numberwithin{lemma}\cc@numberingtoplevel
+    \numberwithin{notation}\cc@numberingtoplevel
+    \numberwithin{note}\cc@numberingtoplevel
+    \numberwithin{observation}\cc@numberingtoplevel
+    \numberwithin{open}\cc@numberingtoplevel
+    \numberwithin{openquestion}\cc@numberingtoplevel
+    \numberwithin{problem}\cc@numberingtoplevel
+    \numberwithin{proposition}\cc@numberingtoplevel
+    \numberwithin{question}\cc@numberingtoplevel
+    \numberwithin{remark}\cc@numberingtoplevel
+    \numberwithin{result}\cc@numberingtoplevel
+    \numberwithin{theorem}\cc@numberingtoplevel
+    \numberwithin{thesis}\cc@numberingtoplevel
+    \numberwithin{warning}\cc@numberingtoplevel
+    \numberwithin{exampleexample}\cc@numberingtoplevel
+  \fi\fi
+\fi}
+\numberallwithin{section}% redo this in the preamble, if necessary
+\newcommand{\newwarning}[2]{%
+  \expandafter\gdef\csname cc@warn@#1\endcsname{#2}%
+  \expandafter\def\csname cc@warncount@#1\endcsname{0}}
+\newcommand{\ccClassWarning}[1]{%
+  \@ifundefined{cc@warn@#1}{%
+    \ClassWarning{cc}{Undefined warning.\MessageBreak
+      This should never occur.
+      Please inform nuesken@bit.uni-bonn.de .}%
+    }{}%
+  \expandafter\ifcase\csname cc@warncount@#1\endcsname\relax
+  \ClassWarning{cc}{\csname cc@warn@#1\endcsname.\MessageBreak
+    Possible further occurencies of this warning will be\MessageBreak
+    collected until the end of the document.\MessageBreak
+    This one was}%
+  \or
+  \AtEndDocument{%
+    \ClassWarningNoLine{cc}{Repeated warning collected \csname
+      cc@warncount@#1\endcsname\space times:\MessageBreak
+      \csname cc@warn@#1\endcsname}%
+    }%
+  \else
+  \fi
+  \expandafter\count@=0\csname cc@warncount@#1\endcsname\relax
+  \advance\count@\@ne
+  \expandafter\xdef\csname cc@warncount@#1\endcsname{\the\count@}%
+  }
+\providecommand{\addto}[2]{%
+  \expandafter\ccaddto\expandafter{\csname
+  cc@\string#1\endcsname}{#2}{#1}}
+\newcommand{\ccaddto}[3]{%
+  \ifx#1\@undefined
+    \def#1{#2}%
+    \AtBeginDocument{\expandafter\ccaddtonow\expandafter{#1}#3}%
+  \else
+    \ifx#1\relax
+      \def#1{#2}%
+      \AtBeginDocument{\expandafter\ccaddtonow\expandafter{#1}#3}%
+    \else
+      {\toks@\expandafter{#1#2}%
+        \xdef#1{\the\toks@}}%
+    \fi
+  \fi
+}
+\newcommand{\ccaddtoINDOC}[3]{%
+  \ifx#1\@undefined
+    \def#1{#2}%
+  \else
+    \ifx#1\relax
+      \def#1{#2}%
+    \else
+      {\toks@\expandafter{#1#2}%
+        \xdef#1{\the\toks@}}%
+    \fi
+  \fi
+}
+\AtBeginDocument{\global\let\ccaddto\ccaddtoINDOC}
+\newcommand{\ccaddtonow}[2]{%
+  \ifx#2\@undefined
+    \def#2{#1}%
+  \else
+    \ifx#2\relax
+      \def#2{#1}%
+    \else
+      {\toks@\expandafter{#2#1}%
+        \xdef#2{\the\toks@}}%
+    \fi
+  \fi
+}
+\def\cc@ifempty#1{\cc@xifempty#1@@..\@nil}
+\long\def\cc@xifempty#1#2@#3#4#5\@nil{%
+  \ifx#3#4\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi}
+\long\def\cc@ifnotempty#1{\cc@ifempty{#1}{}}
+%%% \def\oldbabel\def#1#2#3#4#5#6{\def#1{#2}%
+%%%   \cc@ifnotempty{#2}{\addto\captionsenglish{\def#1{#2}}}%
+%%%   \cc@ifnotempty{#3}{%
+%%%     \addto\captionsgerman{\def#1{#3}}%
+%%%     \addto\captionsngerman{\def#1{#3}}%
+%%%   }%
+%%%   \cc@ifnotempty{#4}{\addto\captionsfrench{\def#1{#4}}}%
+%%%   \cc@ifnotempty{#5}{\addto\captionsitalian{\def#1{#5}}}%
+%%%   \cc@ifnotempty{#6}{\addto\captionsspanish{\def#1{#6}}}%
+%%% }
+\def\babel\def#1#2{%
+  \@ifnextchar[{\n@wbabel{#1}{#2}}{\n@wbabel{#1}{#2}[]}}
+\def\n@wbabel#1#2[#3]{%
+  \def#1{#2}%
+  \cc@ifnotempty{#2}{\addto\captionsenglish{\def#1{#2}}}%
+  \babeladdtranslations#1{#3}%
+}
+\def\b@beladdlang#1=#2=#3\@@@#4{%
+  \cc@ifnotempty{#2}{%
+    %%% \@ifundefined{captions#1}{%
+    %%%   \ClassWarning{cc}{Language `#1' undefined, ignoring
+    %%%     translation \string#4=#2.}%
+    %%% }{%
+    \expandafter\addto\csname captions#1\endcsname{\def#4{#2}}%
+    %%% }%
+  }%
+}
+\def\babeladdtranslations#1#2{%
+  \@for\@tempa:=#2\do{\expandafter\b@beladdlang\@tempa==\@@@#1}%
+}
+\def\condbreak#1{%
+  \vskip 0pt plus #1%
+  \pagebreak[3]%
+  \vskip 0pt plus -#1%
+  \relax}
+\let\ccorg@enumerate\enumerate
+\def\enumerate{\@ifstar{\count251\c@enumi
+        \count252\c@enumii
+        \count253\c@enumiii
+        \count254\c@enumiv
+        \ccorg@enumerate
+        \c@enumi\count251
+        \c@enumii\count252
+        \c@enumiii\count253
+        \c@enumiv\count254}%
+        {\ccorg@enumerate}}
+\endinput
+%%
+%% End of file `ccaux.sty'.
-- 
cgit v1.2.3

