X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fltjtreport.cls;h=6d4ea6ebd2d41b92e3a7ff1eb2e0b31b51936e8b;hb=847312c712d721a0198c00563075948541ced2b7;hp=52ccfd83a2f1bb8d437d7b05df0e5c83b8a4e190;hpb=5875ad249178b01c2c64f99ba800894cb538d57c;p=luatex-ja%2Fluatexja.git diff --git a/src/ltjtreport.cls b/src/ltjtreport.cls index 52ccfd8..6d4ea6e 100644 --- a/src/ltjtreport.cls +++ b/src/ltjtreport.cls @@ -39,9 +39,10 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtreport} - [2013/06/06 v1.6-ltj-2 + [2014/06/08 v1.6-ltj-3 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} +\RequirePackage{filehook} \newcounter{@paper} \newif\if@landscape \@landscapefalse \newcommand{\@ptsize}{} @@ -90,6 +91,14 @@ \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue \setlength\paperheight {257mm} \setlength\paperwidth {182mm}} +\AtEndOfPackageFile{geometry}{% + \setlength{\@tempdima}{\textheight}% + \setlength{\textheight}{\textwidth}% + \setlength{\textwidth}{\@tempdima}% + \expandafter\def\expandafter\Gm@process\expandafter{\Gm@process + \setlength{\@tempdima}{\textheight}% + \setlength{\textheight}{\textwidth}% + \setlength{\textwidth}{\@tempdima}}} \if@compatibility \renewcommand{\@ptsize}{0} \else