ソースコードの管理場所
Revisão | 1e633314cb8884a7909cdd0e8994081b969b1d6c (tree) |
---|---|
Hora | 2014-11-23 11:22:46 |
Autor | Kazuki Maeda <kmaeda@kmae...> |
Commiter | Kazuki Maeda |
lltjp-geometry.sty: reset \maxdepth to 1\Cht.
@@ -8,7 +8,7 @@ | ||
8 | 8 | \RequirePackage{filehook} |
9 | 9 | |
10 | 10 | \AtEndOfPackageFile{geometry}{% |
11 | -\ifnum\ltjgetparameter{direction}=3% | |
11 | +\ifnum\ltjgetparameter{direction}=3 | |
12 | 12 | \define@key{Gm}{hdivide}{\Gm@parse@divide{#1}{tmargin}{width}{bmargin}}% |
13 | 13 | \define@key{Gm}{vdivide}{\Gm@parse@divide{#1}{rmargin}{height}{lmargin}}% |
14 | 14 | \define@key{Gm}{divide}{\Gm@parse@divide{#1}{tmargin}{width}{bmargin}% |
@@ -151,11 +151,13 @@ | ||
151 | 151 | \fi |
152 | 152 | \fi |
153 | 153 | \ifx\Gm@lines\@undefined\else |
154 | - \ifdim\topskip<\ht\strutbox | |
154 | + \setlength\maxdepth{1\Cht}% | |
155 | + \setlength\topskip{.5\maxdepth}% | |
156 | + \ifdim\topskip<\ht\tstrutbox | |
155 | 157 | \setlength\@tempdima{\topskip}% |
156 | - \setlength\topskip{\ht\strutbox}% | |
158 | + \setlength\topskip{\ht\tstrutbox}% | |
157 | 159 | \Gm@warning{\noexpand\topskip was changed from \the\@tempdima\space |
158 | - to \the\topskip}% | |
160 | + to \the\topskip}% | |
159 | 161 | \fi |
160 | 162 | \setlength\@tempdima{\baselineskip}% |
161 | 163 | \multiply\@tempdima\Gm@lines |
@@ -164,7 +166,7 @@ | ||
164 | 166 | \edef\Gm@textheight{\the\@tempdima}% |
165 | 167 | \fi |
166 | 168 | \ifx\Gm@textheight\@undefined\else |
167 | - \edef\Gm@height{\the\textheight}% | |
169 | + \edef\Gm@height{\Gm@textheight}% | |
168 | 170 | \fi |
169 | 171 | \fi}% |
170 | 172 | \def\Gm@@process{% |