summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-28 22:18:55 +0000
committerKarl Berry <karl@freefriends.org>2016-08-28 22:18:55 +0000
commita0eaab2fea8dde90ee74f98064e78f6231b8f48d (patch)
treeb64b6209d3b1878d75cd9943330d25eccb87f32a /Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls
parentdec9524f80a61822aa1c7d7e69152592d2ee928e (diff)
luatexja (28aug16)
git-svn-id: svn://tug.org/texlive/trunk@41945 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls20
1 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls
index 228d6d330c3..3ae825beb42 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls
@@ -39,7 +39,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ltjtarticle}
- [2015/10/18 v1.6-ltj-10
+ [2016/07/19 v1.6-ltj-11
Standard LuaLaTeX-ja class]
\RequirePackage{luatexja}
\newcounter{@paper}
@@ -174,18 +174,20 @@
\setlength\columnsep{10\p@}
\fi
\setlength\columnseprule{0\p@}
-\setlength{\@tempdima}{\paperwidth}
-\setlength{\@tempdimb}{\paperheight}
+\newlength{\stockwidth}
+\newlength{\stockheight}
+\setlength{\stockwidth}{\paperwidth}
+\setlength{\stockheight}{\paperheight}
\iftombow
- \advance \@tempdima 2in
- \advance \@tempdimb 2in
+ \advance \stockwidth 2in
+ \advance \stockheight 2in
\fi
\ifdefined\pdfpagewidth
- \setlength{\pdfpagewidth}{\@tempdima}
- \setlength{\pdfpageheight}{\@tempdimb}
+ \setlength{\pdfpagewidth}{\stockwidth}
+ \setlength{\pdfpageheight}{\stockheight}
\else
- \setlength{\pagewidth}{\@tempdima}
- \setlength{\pageheight}{\@tempdimb}
+ \setlength{\pagewidth}{\stockwidth}
+ \setlength{\pageheight}{\stockheight}
\fi
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}