summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-12 00:44:32 +0000
committerKarl Berry <karl@freefriends.org>2008-11-12 00:44:32 +0000
commite0fa36719ae8b943d0c515ccc2a4f1e2670cc614 (patch)
treecfd7d451101897cf222cd885a36573ccacd922c4 /Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
parent6d06dddb5a2041f7c07b6502a3bfa973f0d86635 (diff)
koma-script update (11nov08)
git-svn-id: svn://tug.org/texlive/trunk@11262 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.sty19
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty b/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
index 8189fd75643..148e307167a 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrpage2.sty
@@ -40,7 +40,7 @@
%%% From File: scrpage.dtx
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{scrpage2}
- [2007/07/23 v2.2e LaTeX2e KOMA-Script
+ [2008/02/14 v2.2f LaTeX2e KOMA-Script
package]
\DeclareOption{headinclude}{\PassOptionsToPackage{headinclude}{typearea}}
\DeclareOption{headexclude}{\PassOptionsToPackage{headexclude}{typearea}}
@@ -246,13 +246,13 @@
\hss\hskip\@evenfootshift\vbox{\hsize=\@footwidth\relax
\topfoot@rule{#1}{#2}\hb@xt@\@footwidth{{%
\scr@nouppercase
- \headfont\strut #3}}%
+ \headfont\footfont\strut #3}}%
\botfoot@rule{#6}{#7}}\hskip\@oddfootshift\hss}%
\def\@oddfoot{\let\headmark\rightmark
\hss\hskip\@oddfootshift\vbox{\hsize=\@footwidth\relax
\topfoot@rule{#1}{#2}\hb@xt@\@footwidth{{%
\scr@nouppercase
- \headfont\strut #4}}%
+ \headfont\footfont\strut #4}}%
\botfoot@rule{#6}{#7}}\hskip\@evenfootshift\hss}%
}
\def\def@onesidefoot{%
@@ -272,7 +272,7 @@
\hss\hskip\@oddfootshift\vbox{\hsize=\@footwidth\relax
\topfoot@rule{#1}{#2}\hb@xt@\@footwidth{{%
\scr@nouppercase
- \headfont\strut #5}}
+ \headfont\footfont\strut #5}}
\botfoot@rule{#6}{#7}}\hskip\@evenfootshift\hss}%
}
\newcommand\topfoot@rule[2]{%
@@ -674,10 +674,17 @@
\fi
}
\fi
-\providecommand\pnumfont{\normalfont}
-\providecommand\headfont{\normalfont%
+\providecommand*{\pnumfont}{\normalfont}
+\providecommand*{\headfont}{\normalfont%
\slshape%
}
+\def\scr@fnt@wrn@pagehead#1{%
+ `pagehead' is only an alias of `pageheadfoot'.\MessageBreak
+ Font of page foot may also be changed%
+}
+\providecommand*{\footfont}{\normalfont}
+\providecommand*{\scr@fnt@pagefoot}{\footfont}
+\let\scr@fnt@wrn@pagefoot\relax
\newcommand*{\setheadtopline}{\scr@setline{head}{above}}
\newcommand*{\setheadsepline}{\scr@setline{head}{below}}
\newcommand*{\setfootsepline}{\scr@setline{foot}{above}}