diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:57:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:57:36 +0000 |
commit | c5c7f075891032e94d192ef00ca0cb9919d0e8cd (patch) | |
tree | fc8bf0944e12dc8c3295ad1caf82a230e1495d9b /Master/texmf-dist/tex/latex/koma-script/scrlfile.sty | |
parent | 3eb843585fc56ace68d2c095ff32de0c743b9446 (diff) |
koma-script
git-svn-id: svn://tug.org/texlive/trunk@1018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrlfile.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/scrlfile.sty | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty b/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty new file mode 100644 index 00000000000..e314c208726 --- /dev/null +++ b/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty @@ -0,0 +1,111 @@ +%% +%% This is file `scrlfile.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% scrclass.dtx (with options: `package,scrlfile') +%% scrlogo.dtx +%% +%% Copyright (C) 1994-2004 Markus Kohm. +%% +%% All rights reserved. For further copyright information see the file +%% LEGAL.TXT or LEGALDE.TXT. +%% +%% This file is part of the LaTeX2e KOMA-Script bundle. +%% ---------------------------------------------------- +%% +%% The KOMA-Script bundle bases on the Script-family created by +%% Frank Neukam 1993 and the standard documents classes created +%% by the LaTeX3-Team 1994-1996. +%% ------------------------------------------------------------------------ +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% For error reports in case of UNCHANGED versions see documentation. +%% +%% Please do not request updates from us directly. Distribution is +%% done through Mail-Servers, Mailboxes and TeX organizations. +%% +%% You are not allowed to change this file. +%% +%% You are allowed to distribute this file under the condition that +%% it is distributed together with all files mentioned in readme.txt +%% and liesmich.txt. See LEGAL.TXT or LEGALDE.TXT for further +%% information. +%% +%% If you receive only some of these files from someone, complain! +%% +%% You are NOT ALLOWED to distribute this file alone. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{% + scrlfile% + } + [2004/09/16 v2.9t LaTeX2e KOMA + package] +\typeout{Package scrlfile, \csname ver@scrlfile.sty\endcsname% + ^^J\@spaces\@spaces\@spaces\@spaces\space\space + Copyright (C) Markus Kohm^^J} +\ExecuteOptions{} +\ProcessOptions\relax +\CheckCommand{\InputIfFileExists}[2]{% + \IfFileExists{#1}% + {#2\@addtofilelist{#1}\@@input \@filef@und}} +\renewcommand{\InputIfFileExists}[2]{% + \IfFileExists{#1}{% + \scr@load@hook{before}{#1}% + #2\@addtofilelist{#1}\@@input \@filef@und + \scr@load@hook{after}{#1}}} +\newcommand*{\scr@load@hook}[2]{% + \@ifundefined{#2-@#1}{}{% + \@nameuse{#2-@#1}% + \expandafter\let\csname #2-@#1\endcsname=\relax}} +\newcommand*{\scr@set@load@hook}[2]{% + \@ifundefined{#2-@#1}{\@namedef{#2-@#1}{}}{}% + \expandafter\g@addto@macro\csname #2-@#1\endcsname} +\newcommand*{\BeforeFile}{\scr@set@load@hook{before}} +\newcommand*{\AfterFile}{\scr@set@load@hook{after}} +\newcommand*{\BeforeClass}[1]{% + \scr@set@load@hook{before}{#1.\@clsextension}} +\newcommand*{\AfterClass}{% + \@ifstar {\@sAfterClass}{\@AfterClass}} +\newcommand*{\@AfterClass}[1]{% + \scr@set@load@hook{after}{#1.\@clsextension}} +\newcommand*{\@sAfterClass}[1]{% + \begingroup + \@ifclassloaded{#1}{% + \aftergroup\@secondoftwo + }{% + \aftergroup\@AfterClass + }% + \endgroup + {#1}% +} +\newcommand*{\BeforePackage}[1]{% + \scr@set@load@hook{before}{#1.\@pkgextension}} +\newcommand*{\AfterPackage}{% + \@ifstar {\@sAfterPackage}{\@AfterPackage}} +\newcommand*{\@AfterPackage}[1]{% + \scr@set@load@hook{after}{#1.\@pkgextension}} +\newcommand*{\@sAfterPackage}[1]{% + \begingroup + \@ifpackageloaded{#1}{% + \aftergroup\@secondoftwo + }{% + \aftergroup\@AfterPackage + }% + \endgroup + {#1}% +} +\@ifundefined{KOMAScript}{% + \DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em% + M\kern.05em A\kern.1em-\kern.1em Script}}}{} +\endinput +%% +%% End of file `scrlfile.sty'. |