Last active
June 15, 2021 08:24
-
-
Save dohyunkim/04255d3b7349581555c775b81973ca4f to your computer and use it in GitHub Desktop.
dotemph inside uline (xetexko)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\input xetexko.sty | |
\input ulem.sty | |
\catcode`@=11 | |
\UL@hook\expandafter{\the\UL@hook | |
\protected\def\dotemph#1{% | |
\ifx\ \LA@space\else \UL@stop\fi | |
\leavevmode | |
\setbox\XeKo@dotemph@box\hbox{\raise\dotemphraise\hbox{\dotemphchar}}% | |
\begingroup | |
\let\XeKo@maybe@dotemph\XeKo@do@dotemph | |
\UL@dotemph#1 | \relax | |
\endgroup | |
\ifx\ \LA@space\else \UL@start\fi | |
}% | |
\def\UL@dotemph#1 {% | |
\ifx|#1\relax | |
\unskip\unskip\unskip | |
\else | |
\ifx\ \LA@space\else \UL@start\fi | |
#1\ % | |
\ifx\ \LA@space\else \UL@stop\fi | |
\expandafter\UL@dotemph | |
\fi | |
}% | |
} | |
\catcode`@=12 | |
\uline{\dotemph{가 나다 라 마바 사}} | |
\bye |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment