diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-25 21:12:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-25 21:12:10 +0000 |
commit | fcb69d608481cdc29dc44bf1f5f7a7e63e7701fd (patch) | |
tree | 5572026074c10238859283a0ccd56c4ed8a2dede /Master/texmf-dist/doc/latex/memoir/memsty.sty | |
parent | fb614302a25a53c1f2c6e878c9f1787552aa7c53 (diff) |
memoir (25mar20)
git-svn-id: svn://tug.org/texlive/trunk@54548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/memoir/memsty.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/memoir/memsty.sty | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/memoir/memsty.sty b/Master/texmf-dist/doc/latex/memoir/memsty.sty index a0427c232b1..b3362e981e7 100644 --- a/Master/texmf-dist/doc/latex/memoir/memsty.sty +++ b/Master/texmf-dist/doc/latex/memoir/memsty.sty @@ -92,6 +92,7 @@ \let\oldprecistoctext\precistoctext \renewcommand{\precistoctext}[1]{} \let\oldcftchapterfillnum\cftchapterfillnum + \let\oldcftchapterformatpnum\cftchapterformatpnum \renewcommand*{\changetocdepth}[1]{} \setcounter{tocdepth}{0}% chapters \renewcommand*{\cftchapterfont}{\hfill\sffamily} @@ -100,10 +101,16 @@ \renewcommand*{\cftchapterafterpnum}{\cftparfillskip} %% \setpnumwidth{0em} %% \setpnumwidth{1.5em} - \renewcommand*{\cftchapterfillnum}[1]{% - {\cftchapterleader}\nobreak - \hbox to 1.5em{\cftchapterpagefont ##1\hfil}\cftchapterafterpnum\par} +% \renewcommand*{\cftchapterfillnum}[1]{% +% {\cftchapterleader}\nobreak +% \hbox to 2.5em{\cftchapterpagefont +% ##1\hfil}\cftchapterafterpnum\par} + % make the box left aligned not right aliged + \renewcommand*{\cftchapterformatpnum}[1]{% + \cftchapterformatpnumhook{##1}% + \hb@xt@\@pnumwidth{\cftchapterpagefont ##1\hfil}} \setrmarg{0.3\textwidth} +% \setpnumwidth{6em} \setlength{\unitlength}{\@tocrmarg} \addtolength{\unitlength}{1.5em} \let\oldcftpartformatpnum\cftpartformatpnum @@ -141,6 +148,7 @@ \let\changetocdepth\oldchangetocdepth \let\precistoctext\oldprecistoctext \let\cftchapterfillnum\oldcftchapterfillnum + \let\cftchapterformatpnum\oldcftchapterformatpnum \addtodef{\cftchapterbreak}{\par}{} \renewcommand*{\cftchapterfont}{\normalfont\sffamily} \renewcommand*{\cftchapterleader}{\sffamily\cftdotfill{\cftchapterdotsep}} @@ -1025,6 +1033,7 @@ chapterstyle. It is one of several styles that come as part of the \settypeblocksize{7.75in}{33pc}{*} \setulmargins{4cm}{*}{*} \setlrmargins{1.25in}{*}{*} +%\setlrmargins{*}{*}{1} \setmarginnotes{17pt}{51pt}{\onelineskip} \setheadfoot{\onelineskip}{2\onelineskip} \setheaderspaces{*}{2\onelineskip}{*} @@ -1052,8 +1061,8 @@ it to use the new width for the margin par} %%%%% Pavlic `fix' for index -\let\original@wrindexm@m\@wrindexm@m -\def\@wrindexm@m{\catcode`\ =10 \original@wrindexm@m} +%\let\original@wrindexm@m\@wrindexm@m +%\def\@wrindexm@m{\catcode`\ =10 \original@wrindexm@m} % for letter group bookmarks for glossary items \newcommand\doglobookmark[1]{% |