summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/memoir/memlays.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-09 00:06:02 +0000
committerKarl Berry <karl@freefriends.org>2010-09-09 00:06:02 +0000
commit5f004174ff5e0d73d78e2c5af7fb19f67997d3b0 (patch)
treeceac40220933f51fd92796c215516f70966d5419 /Master/texmf-dist/doc/latex/memoir/memlays.sty
parent64ac32424e6d9862183c9261c2824155d8b9ba75 (diff)
memoir 3.6f (23aug10)
git-svn-id: svn://tug.org/texlive/trunk@19620 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/memoir/memlays.sty')
-rw-r--r--Master/texmf-dist/doc/latex/memoir/memlays.sty12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/memoir/memlays.sty b/Master/texmf-dist/doc/latex/memoir/memlays.sty
index ec694324e4a..ea7ba932dfb 100644
--- a/Master/texmf-dist/doc/latex/memoir/memlays.sty
+++ b/Master/texmf-dist/doc/latex/memoir/memlays.sty
@@ -4,10 +4,14 @@
\usepackage{layouts}
+\providecommand\LMnote[2]{}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CHAPTER HEADING
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\LMnote{2010/08/20}{added some baselineskips etc. to make the drawing
+ more realistic}
\newcommand{\drawchapter}{%
% Some default values first
@@ -72,20 +76,22 @@
\put(0,\l@youtyciv){\vector(0,-1){\l@youtvdv}}
\put(0,\l@youtyciv){\begin{picture}(\l@youthdii,\l@youthdii)
\put(\l@youthdiii,-\l@youthdii){\makebox(0,0)[tl]%
- {\l@yparamfont \l@ypcmd{beforechapskip}}}
+ {\l@yparamfont \l@ypcmd{beforechapskip}
+ + \l@ypcmd{baselineskip} + \l@ypcmd{topskip}
+ }}
\end{picture}}
% The midskip
%% \put(0,\l@youtyciii){\vector(0,-1){\l@youtvdiv}}
\put(-\l@youthdiii,\l@youtyciii){\vector(0,-1){\l@youtvdiv}}
\put(0,\l@youtyciii){\begin{picture}(\l@youthdii,\l@youthdii)
\put(\l@youthdiii,-\l@youthdii){\makebox(0,0)[tl]%
- {\l@yparamfont \l@ypcmd{midchapskip}}}
+ {\l@yparamfont \l@ypcmd{midchapskip} + \l@ypcmd{baselineskip}}}
\end{picture}}
% And finish with the afterskip
\put(0,\l@youtycii){\vector(0,-1){\l@youtvdiii}}
\put(0,\l@youtycii){\begin{picture}(\l@youthdii,\l@youthdii)
\put(\l@youthdiii,-\l@youthdii){\makebox(0,0)[tl]%
- {\l@yparamfont \l@ypcmd{afterchapskip}}}
+ {\l@yparamfont \l@ypcmd{afterchapskip} + \l@ypcmd{baselineskip}}}
\end{picture}}
\fi
\end{picture}}