diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-13 22:29:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-13 22:29:11 +0000 |
commit | af97fd519b6d7cfd718d9bf9442f05e1095d2be7 (patch) | |
tree | 9f754cd1e7d3da0a14d98e2a69e7bf77cdcf24e6 /Master/texmf-dist/tex/latex/eskdx/eskdplain.sty | |
parent | a120fe81ec01c892c26137a3c7f7f992213f930a (diff) |
eskdx 0.98 (13may11)
git-svn-id: svn://tug.org/texlive/trunk@22465 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eskdx/eskdplain.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/eskdx/eskdplain.sty | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/eskdx/eskdplain.sty b/Master/texmf-dist/tex/latex/eskdx/eskdplain.sty index c942caf7f7b..1f52526047c 100644 --- a/Master/texmf-dist/tex/latex/eskdx/eskdplain.sty +++ b/Master/texmf-dist/tex/latex/eskdx/eskdplain.sty @@ -20,7 +20,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eskdplain}[2006/11/28 v0.97 Plain Page Style] +\ProvidesPackage{eskdplain}[2011/05/09 v0.98 Plain Page Style] \RequirePackage{eskdstamp} \RequirePackage{calc} @@ -28,12 +28,22 @@ \def\ESKD@plain@vt{% \setlength{\ESKD@tmpdimc}{% \ESKDframeY+\ESKDframeH-\ESKD@padding@v}} + \def\ESKD@plain@vb{% \setlength{\ESKD@tmpdimc}{% \ESKDframeY+\ESKD@padding@v-15mm}} -\def\ESKD@plain@hl{\raggedright} + +\def\ESKD@plain@hl{% + \ifESKD@twoside + \ifodd\c@page\raggedright\else\raggedleft\fi + \else\raggedright\fi} + +\def\ESKD@plain@hr{% + \ifESKD@twoside + \ifodd\c@page\raggedleft\else\raggedright\fi + \else\raggedleft\fi} + \def\ESKD@plain@hc{\centering} -\def\ESKD@plain@hr{\raggedleft} \let\ESKD@plain@ha\ESKD@plain@hc \let\ESKD@plain@va\ESKD@plain@vb @@ -51,7 +61,9 @@ \setlength{\ESKD@tmpdimb}{\ESKDframeW-2\ESKD@padding@h} \ESKD@plain@va \put(\ESKDltu{\ESKD@tmpdima},\ESKDltu{\ESKD@tmpdimc}){% - \parbox[b][15mm][c]{\ESKD@tmpdimb}{\ESKD@plain@ha\thepage}}} + \parbox[b][15mm][c]{\ESKD@tmpdimb}{% + \reset@font\normalsize\normalsfcodes + \ESKD@plain@ha\thepage}}} \ESKDnewStyle{plain}{0mm} \ESKDputOnStyle{plain}{pagenumber}{\ESKDdrawPlainPageNumber} |