From 5ba16c1c94af95b5c88e3dc8db4b5485f87d6bfa Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Tue, 27 Jun 2017 05:42:29 +0900 Subject: [PATCH] \@classv (WIP) --- src/patches/lltjcore.sty | 13 +++++++++---- src/patches/lltjp-array.sty | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/patches/lltjcore.sty b/src/patches/lltjcore.sty index 37d43f6..2ac84e0 100644 --- a/src/patches/lltjcore.sty +++ b/src/patches/lltjcore.sty @@ -305,7 +305,7 @@ \fi} %%%%%% \@tabclassz -\def\ltj@sharp{\ltjfakeboxbdd\@sharp\unskip\ltjfakeboxbdd} +\def\ltj@sharp{\ltjfakeboxbdd\ignorespaces\@sharp\unskip\ltjfakeboxbdd} \def\@tabclassz{% \ifcase\@lastchclass \@acolampacol @@ -323,12 +323,17 @@ \edef\@preamble{% \@preamble{% \ifcase\@chnum - \hfil\ignorespaces\ltj@sharp\hfil + \hfil\ltj@sharp\hfil \or - \hskip1sp\ignorespaces\ltj@sharp\hfil + \hskip1sp\ltj@sharp\hfil \or - \hfil\hskip1sp\ignorespaces\ltj@sharp + \hfil\hskip1sp\ltj@sharp \fi}}} +\patchcmd\@classv{% + \ignorespaces\@sharp +}{% + \ltjfakeparbegin\ignorespaces\@sharp\unskip\ltjfakeboxbdd +}{}{} \endinput diff --git a/src/patches/lltjp-array.sty b/src/patches/lltjp-array.sty index 10135ec..f336190 100644 --- a/src/patches/lltjp-array.sty +++ b/src/patches/lltjp-array.sty @@ -8,7 +8,7 @@ \RequirePackage{etoolbox,array,luatexja} \patchcmd\insert@column{% - \@sharp\unskip + \ignorespaces\@sharp\unskip }{% \ltj@sharp }{}{} -- 2.11.0