diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/eskdx/source/eskdplain.sty.in')
-rw-r--r-- | Master/texmf-dist/doc/latex/eskdx/source/eskdplain.sty.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/eskdx/source/eskdplain.sty.in b/Master/texmf-dist/doc/latex/eskdx/source/eskdplain.sty.in index 1b457926d8e..1de82cfb1a6 100644 --- a/Master/texmf-dist/doc/latex/eskdx/source/eskdplain.sty.in +++ b/Master/texmf-dist/doc/latex/eskdx/source/eskdplain.sty.in @@ -18,7 +18,7 @@ m4_ESKDX_INIT m4_FILE_INIT \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{eskdplain}[m4_dnl -m4_FILE_ID([[$Date: 2006-11-28 05:25:58 +0200 (Вто, 28 Ноя 2006) $]]) Plain Page Style] +m4_FILE_ID([[$Date:: 2011-05-09#$]]) Plain Page Style] \RequirePackage{eskdstamp} \RequirePackage{calc} @@ -26,12 +26,22 @@ m4_FILE_ID([[$Date: 2006-11-28 05:25:58 +0200 (Вто, 28 Ноя 2006) $]]) Plai \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 @@ -49,7 +59,9 @@ m4_FILE_ID([[$Date: 2006-11-28 05:25:58 +0200 (Вто, 28 Ноя 2006) $]]) Plai \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} |