summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-08-20 00:02:10 +0000
committerKarl Berry <karl@freefriends.org>2006-08-20 00:02:10 +0000
commit524b07990fd2040ab6ce24b015b9a2bd4544a3c1 (patch)
tree93d7c1e1089e6c5df66ce81b57ed93482321baaa /Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
parentaffc79c45bfab740028ac1e6b8480c5465a42b01 (diff)
koma-script 2.95b, using provided texmf zip
git-svn-id: svn://tug.org/texlive/trunk@1990 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrpage2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrpage2.sty66
1 files changed, 33 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty b/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
index 3f89ffba3a8..57ded19152e 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
@@ -5,47 +5,42 @@
%% The original source files were:
%%
%% scrpage.dtx (with options: `scrpage,v2')
-%% scrlogo.dtx
+%% scrlogo.dtx (with options: `logo')
%%
-%% Copyright 1994-2004 Markus Kohm.
+%% Copyright (c) 1994-2006
+%% Markus Kohm and any individual authors listed elsewhere in this file.
%%
-%% All rights reserved. For further copyright information see the file
-%% legal.txt, and any other copyright indicated in this file.
+%% This file was generated from file(s) of the KOMA-Script bundle.
+%% ---------------------------------------------------------------
%%
-%% This file is part of the LaTeX2e KOMA-Script-bundle.
-%% ----------------------------------------------------
+%% It may be distributed under the conditions of the
+%% LaTeX Project Public License in the version distributed together
+%% with KOMA-Script, see file `lppl.txt' or `lppl-de.txt'.
%%
-%% The KOMA-Script-bundle (but not this file) bases on the
-%% Script-family created by Frank Neukam 1993 and the standard
-%% documents classes created by the LaTeX3-Team 1994-1996.
-%% -------------------------------------------------------------
+%% This file may only be distributed together with a copy of the
+%% KOMA-Script bundle. You may however distribute the
+%% KOMA-Script bundle without all such generated files. See also
+%% `lppl.txt' or `lppl-de.txt' for additional information.
%%
-%% 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.
+%% The list of files belonging to KOMA-Script distribution is given in
+%% the file `manifest.txt'. See also `lppl.txt' or `lppl-de.txt' for
+%% additional information.
%%
+%% If this file is a beta version, you are not allowed to distribute it.
%%
-%% IMPORTANT NOTICE:
+%% English and German manuals are part of KOMA-Script bundle.
+%% ----------------------------------------------------------
%%
-%% For error reports in case of UNCHANGED versions see documentation.
+%% See `README'.
%%
-%% 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.
+%% The KOMA-Script bundle (but maybe not this file) was based upon the
+%% LaTeX2.09 Script family created by Frank Neukam 1993 and the LaTeX2e
+%% standard classes created by The LaTeX3 Project 1994-1996.
%%
+%%% From File: scrpage.dtx
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{scrpage2}
- [2004/09/05 v2.2a LaTeX2e KOMA
+ [2006/03/29 v2.2c LaTeX2e KOMA-Script
package]
\DeclareOption{headinclude}{\PassOptionsToPackage{headinclude}{typearea}}
\DeclareOption{headexclude}{\PassOptionsToPackage{headexclude}{typearea}}
@@ -283,11 +278,15 @@
\setlength{\@tempdimb}{#1}
\begingroup
\csname scr@pre@#4@line\endcsname
- \ifodd\c@page
- \edef\@tempa{\hfline@adjust}
+ \if@twoside
+ \ifodd\c@page
+ \edef\@tempa{\hfline@adjust}%
+ \else
+ \@tempcnta=2\advance\@tempcnta -\hfline@adjust
+ \edef\@tempa{\the\@tempcnta}%
+ \fi
\else
- \@tempcnta=2\advance\@tempcnta -\hfline@adjust
- \edef\@tempa{\the\@tempcnta}
+ \edef\@tempa{\hfline@adjust}%
\fi
\ifnum\@tempa=1
\setlength{\@tempdimb}{.5\@tempdimb}
@@ -1073,6 +1072,7 @@
into the preamble of your document.\MessageBreak
A better solution would be to use typearea package}
\fi\fi}
+%%% From File: scrlogo.dtx
\@ifundefined{KOMAScript}{%
\DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%
M\kern.05em A\kern.1em-\kern.1em Script}}}{}