X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;ds=sidebyside;f=src%2Flltjext.sty;h=58451214e33e605a7a9a9686617f6241cacf3847;hb=ab23049deb6fb90ca689fdf4924b3783f08f8f2e;hp=5cf1849b92bc22d826a59b01a1e1f18b065dc2e0;hpb=56a41515e4287965bd9d3bde0234f8cbd076250a;p=luatex-ja%2Fluatexja.git diff --git a/src/lltjext.sty b/src/lltjext.sty index 5cf1849..5845121 100644 --- a/src/lltjext.sty +++ b/src/lltjext.sty @@ -3,8 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjext} - [2014/09/06 v1.2-ltj-3 Macros for vertical writing] +\ProvidesPackage{lltjext}[2015/09/18 v1.2-ltj-4 Macros for vertical writing] \RequirePackage{luatexja} \let\ltj@lltjext@orig@tabular=\tabular @@ -22,7 +21,8 @@ \def\X@tabular{\@ifnextchar<%> {\p@tabular}{\p@tabular}} \def\@stabular<#1>#2{\def\@halignto{to#2}\p@tabular<#1>} -\def\p@tabular<#1>{\leavevmode \hbox \bgroup $\let\@acol\@tabacol +\def\p@tabular<#1>{\leavevmode \hbox \bgroup + \count@=\ltjgetparameter{direction}$\let\@acol\@tabacol \let\@classz\@tabclassz \let\@classiv\@tabclassiv \let\\\@tabularcr\p@tabarray<#1>} \def\p@tabarray<#1>{\m@th\@ifnextchar[%] @@ -46,7 +46,7 @@ \fi\fi\fi\fi \fi \ifx\box@dir\relax - \ifcase\ltjgetparameter{direction} + \ifcase\count@ \or \let\box@dir\dtou\@tempcnta=\dstrutbox% dtou \or\or\let\box@dir\tate\@tempcnta=\tstrutbox% tate \or \let\box@dir\yoko\@tempcnta=\strutbox% yoko @@ -758,4 +758,4 @@ } -\endinput \ No newline at end of file +\endinput