summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:07:48 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:07:48 +0000
commite3cf1c350b9a36ecea93ff3c52f9d8c7a2e11f91 (patch)
treee969557da1ec832569d343ac21af2bca68481347 /Master/texmf-dist
parent21adaa3d95913b790b2ff7d19e3d651d9e03db59 (diff)
stdclsdv
git-svn-id: svn://tug.org/texlive/trunk@1347 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/tex/latex/stdclsdv/stdclsdv.sty79
1 files changed, 79 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/stdclsdv/stdclsdv.sty b/Master/texmf-dist/tex/latex/stdclsdv/stdclsdv.sty
new file mode 100644
index 00000000000..0c7496002ec
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/stdclsdv/stdclsdv.sty
@@ -0,0 +1,79 @@
+%%
+%% This is file `stdclsdv.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% stdclsdv.dtx (with options: `usc')
+%%
+%% Copyright 1999 Peter R. Wilson
+%%
+%% This program is provided under the terms of the
+%% LaTeX Project Public License distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt.
+%%
+%% Author: Peter Wilson (CUA and NIST)
+%% now at: peter.r.wilson@boeing.com
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{stdclsdv}[2000/07/16 v1.1 Sectional divisions]
+\newif\ifSCDknownclass\SCDknownclassfalse
+\newif\ifSCDpart\SCDparttrue
+\newif\ifSCDchapter\SCDchapterfalse
+\newif\ifSCDsection\SCDsectiontrue
+\newif\ifSCDnodivs\SCDnodivsfalse
+\@ifclassloaded{book}{\SCDknownclasstrue\SCDchaptertrue}{}
+\@ifclassloaded{report}{\SCDknownclasstrue\SCDchaptertrue}{}
+\@ifclassloaded{article}{\SCDknownclasstrue}{}
+\@ifclassloaded{proc}{\SCDknownclasstrue}{}
+\@ifclassloaded{ltxdoc}{\SCDknownclasstrue}{}
+\@ifclassloaded{slides}{\SCDknownclasstrue
+ \SCDnodivstrue\SCDpartfalse\SCDsectionfalse}{}
+\@ifclassloaded{letter}{\SCDknownclasstrue
+ \SCDnodivstrue\SCDpartfalse\SCDsectionfalse}{}
+\@ifclassloaded{scrbook}{\SCDknownclasstrue\SCDchaptertrue}{}
+\@ifclassloaded{scrreprt}{\SCDknownclasstrue\SCDchaptertrue}{}
+\@ifclassloaded{scrartcl}{\SCDknownclasstrue}{}
+\@ifclassloaded{scrlettr}{\SCDknownclasstrue
+ \SCDnodivstrue\SCDpartfalse\SCDsectionfalse}{}
+\ifSCDknownclass\else
+ \SCDnodivstrue
+ \ifx\part\undefined
+ \SCDpartfalse
+ \else
+ \SCDnodivsfalse
+ \fi
+ \ifx\chapter\undefined\else
+ \SCDchaptertrue \SCDnodivsfalse
+ \fi
+ \ifx\section\undefined
+ \SCDsectionfalse
+ \else
+ \SCDnodivsfalse
+ \fi
+\fi
+\newcommand{\SCDquit}{}
+\newif\ifSCDSameDefinition
+\def\SCDCheckCommand{\@star@or@long%
+ \SCDSameDefinitiontrue% changed from CheckCommand
+ \@SCD@check@command}
+ \@onlypreamble\SCDCheckCommand
+\def\@SCD@check@command#1#2#{\@SCD@check@c#1{#2}}
+ \@onlypreamble\@SCD@check@command
+\long\def\@SCD@check@c#1#2#3{%
+ \expandafter\let\csname\string\reserved@a\endcsname\relax
+ \renew@command\reserved@a#2{#3}%
+ \@ifundefined{\string\reserved@a}%
+ {\@SCD@check@eq#1\reserved@a}%
+ {\expandafter\@SCD@check@eq
+ \csname\string#1\expandafter\endcsname
+ \csname\string\reserved@a\endcsname}}
+ \@onlypreamble\@SCD@check@c
+\def\@SCD@check@eq#1#2{%
+ \ifx#1#2\else
+ \SCDSameDefinitionfalse % changed from CheckCommand
+ \fi}
+ \@onlypreamble\@SCD@check@eq
+\endinput
+%%
+%% End of file `stdclsdv.sty'.