• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ソースコードの管理場所


Commit MetaInfo

Révision75602dd7453d7eb221a1b98ebf9d4f71d21e7c0e (tree)
l'heure2014-11-22 22:02:26
AuteurKazuki Maeda <kmaeda@kmae...>
CommiterKazuki Maeda

Message de Log

lltjp-geometry.sty: modify \Gm@adjustbody.

Change Summary

Modification

--- a/src/patches/lltjp-geometry.sty
+++ b/src/patches/lltjp-geometry.sty
@@ -118,6 +118,55 @@
118118 \setlength\Gm@layoutwidth{\paperheight}%
119119 \setlength\Gm@layoutheight{\paperwidth}%
120120 \fi}%
121+\def\Gm@adjustbody{
122+ \ifGm@hbody
123+ \ifx\Gm@width\@undefined
124+ \ifx\Gm@hscale\@undefined
125+ \Gm@defbylen{width}{\Gm@Dhscale\Gm@layoutwidth}%
126+ \else
127+ \Gm@defbylen{width}{\Gm@hscale\Gm@layoutwidth}%
128+ \fi
129+ \fi
130+ \ifx\Gm@textwidth\@undefined\else
131+ \setlength\@tempdima{\Gm@textwidth}%
132+ \ifGm@includemp
133+ \advance\@tempdima\Gm@wd@mp
134+ \fi
135+ \ifGm@includehead
136+ \addtolength\@tempdima{\headheight}%
137+ \addtolength\@tempdima{\headsep}%
138+ \fi
139+ \ifGm@includefoot
140+ \addtolength\@tempdima{\footskip}%
141+ \fi
142+ \edef\Gm@width{\the\@tempdima}%
143+ \fi
144+ \fi
145+ \ifGm@vbody
146+ \ifx\Gm@height\@undefined
147+ \ifx\Gm@vscale\@undefined
148+ \Gm@defbylen{height}{\Gm@Dvscale\Gm@layoutheight}%
149+ \else
150+ \Gm@defbylen{height}{\Gm@vscale\Gm@layoutheight}%
151+ \fi
152+ \fi
153+ \ifx\Gm@lines\@undefined\else
154+ \ifdim\topskip<\ht\strutbox
155+ \setlength\@tempdima{\topskip}%
156+ \setlength\topskip{\ht\strutbox}%
157+ \Gm@warning{\noexpand\topskip was changed from \the\@tempdima\space
158+ to \the\topskip}%
159+ \fi
160+ \setlength\@tempdima{\baselineskip}%
161+ \multiply\@tempdima\Gm@lines
162+ \addtolength\@tempdima{\topskip}%
163+ \addtolength\@tempdima{-\baselineskip}%
164+ \edef\Gm@textheight{\the\@tempdima}%
165+ \fi
166+ \ifx\Gm@textheight\@undefined\else
167+ \edef\Gm@height{\the\textheight}%
168+ \fi
169+ \fi}%
121170 \def\Gm@@process{%
122171 \Gm@expandlengths
123172 \Gm@adjustpaper