summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-31 23:45:28 +0000
committerKarl Berry <karl@freefriends.org>2016-01-31 23:45:28 +0000
commit326c162a7ec8088d104101b4739c727d824ae5f7 (patch)
treeb361de0cef7c47e209b56e053f1ec957a38526fb /Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls
parenta05d0c546c309991c96cf6aed49902bf5d60f66c (diff)
luatexja (31jan16)
git-svn-id: svn://tug.org/texlive/trunk@39527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls29
1 files changed, 11 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls
index 7d1101828ca..2f93ffc393d 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls
@@ -38,7 +38,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ltjsarticle}
- [2015/10/18 ]
+ [2016/01/31 ]
\RequirePackage{luatexja}
\newif\if@restonecol
\newif\if@titlepage
@@ -295,16 +295,18 @@
\fi
\setlength\paperwidth{\inv@mag\paperwidth}%
\setlength\paperheight{\inv@mag\paperheight}%
-\setlength{\@tempdima}{\paperwidth}
-\setlength{\@tempdimb}{\paperheight}
-\iftombow
- \advance \@tempdima 2in
- \advance \@tempdimb 2in
-\fi
\ifdefined\pdfpagewidth
+ \iftombow
+ \advance \@tempdima 2in
+ \advance \@tempdimb 2in
+ \fi
\setlength{\pdfpagewidth}{\@tempdima}
\setlength{\pdfpageheight}{\@tempdimb}
\else
+ \iftombow
+ \advance \@tempdima 2in
+ \advance \@tempdimb 2in
+ \fi
\setlength{\pagewidth}{\@tempdima}
\setlength{\pageheight}{\@tempdimb}
\fi
@@ -339,16 +341,7 @@
%% \DeclareFontShape{JT3}{gt}{m}{sl}{<->ssub*gt/m/n}{}
%% \DeclareFontShape{JT3}{mc}{bx}{it}{<->ssub*gt/m/n}{}
%% \DeclareFontShape{JT3}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
-\renewcommand\jttdefault{\gtdefault}
-\DeclareRobustCommand\rmfamily
- {\not@math@alphabet\rmfamily\mathrm
- \romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
-\DeclareRobustCommand\sffamily
- {\not@math@alphabet\sffamily\mathsf
- \romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
-\DeclareRobustCommand\ttfamily
- {\not@math@alphabet\ttfamily\mathtt
- \romanfamily\ttdefault\kanjifamily\jttdefault\selectfont}
+\renewcommand\jttdefault{\gtdefault}\@ltj@match@familytrue
%%
\AtBeginDocument{%
\reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
@@ -411,7 +404,7 @@
\belowdisplayskip 9\p@ \@plus3\p@ \@minus4\p@
\belowdisplayshortskip \belowdisplayskip
\let\@listi\@listI}
-\normalsize
+\mcfamily\selectfont\normalsize
\setbox0\hbox{\char"3000}% 全角スペース
\setlength\Cht{\ht0}
\setlength\Cdp{\dp0}