diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/inrstex/inrsinputs/booksty.tex |
Initial commit
Diffstat (limited to 'macros/inrstex/inrsinputs/booksty.tex')
-rw-r--r-- | macros/inrstex/inrsinputs/booksty.tex | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/inrstex/inrsinputs/booksty.tex b/macros/inrstex/inrsinputs/booksty.tex new file mode 100644 index 0000000000..419206c727 --- /dev/null +++ b/macros/inrstex/inrsinputs/booksty.tex @@ -0,0 +1,37 @@ +%------------ BOOKSTYLE --------------- +% see english.tex and francais.tex for messages +% \def\bookstylemessage{ <<< BOOK STYLE >>> } see English/French titles +\def\bookstyle{ \message {\bookstylemessage } + \documentstyle{\numberbychapter + \vheadersize = 1cm + \vfootersize = 2cm %this is set but not used can be + \vpapersize=23cm + \vouterpagesize=20cm + \hpapersize =8.5in + \houterpagesize=12cm + \leftmarginsize = 4.8cm + \topmarginsize = 3cm + \chaptername = {} + \def\chapterstartform{\ifodd\pageno\relax\else + \line{}\ejectpage\fi\titlepagestyle} + \let\headermark=\topmark + \def\headermark##1{\global\let\headermark = ##1} + \headertext{\ifodd\pageno\rightheadertext + \else\leftheadertext\fi} + \let\specialheadertext=\headertext + \def\rightheadertext{\line{\hss + \headermark\rlap{\ssheadfont\qquad\folio}}} + \def\leftheadertext{\line{\llap{\ssheadfont\folio + \qquad}\the\chaptername\hss}} + \footertext{} \specialfootertext={} + \normalheaderstyle + \blankfooterstyle + \everyprelude = { + \def\leftheadertext{\line{\llap{\folio\qquad}\firstmark}} + \def\rightheadertext{\line{\firstmark\rlap{\qquad\folio}}} + \specialheadertext{\ifodd\pageno + \line{\hss\rlap{\qquad\folio}} + \else\line{\llap{\folio\qquad}\hss}\fi}} + }} + +\bookstyle
\ No newline at end of file |