diff options
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty')
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty index fb816cfcfd2..2bc1c8a512d 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty @@ -1,6 +1,6 @@ % xetexko-vertical.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -13,7 +13,7 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else \ProvidesPackage{xetexko-vertical} - [2013/07/03 v2.1 Vertical environment for XeTeX-ko] + [2014/03/28 v2.5 Vertical environment for XeTeX-ko] \fi \unless\ifcsname @tempdima\endcsname\newdimen\@tempdima\fi @@ -63,9 +63,15 @@ \else \def\XK@vert@half@em{.5em}% \fi - \def\precjkopenparen {\leavevmode\hbox to\XK@vert@half@em\bgroup\hss}% - \def\precjkcloseparen{\leavevmode\hbox to\XK@vert@half@em\bgroup}% - \def\precjkfullstop {\leavevmode\hbox to\XK@vert@half@em\bgroup}% + \def\precjkopenparen {\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\XK@vert@half@em\bgroup\hss}% + \def\precjkcloseparen{\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\XK@vert@half@em\bgroup}% + \def\precjkfullstop {\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\XK@vert@half@em\bgroup}% \spaceskip\XK@vert@half@em plus\XK@vert@half@em\relax \parindent\XK@vert@half@em \parindent2\parindent } |