diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty new file mode 100644 index 00000000000..aacde2f22a0 --- /dev/null +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty @@ -0,0 +1,19 @@ +% +% lltjp-microtype.sty 2019-03-28 +% +% (Work in Progress) +% +\NeedsTeXFormat{LaTeX2e} + +\RequirePackage{etoolbox} +\RequirePackage{luatexja} +\makeatletter + +\def\MT@register@font{% + \xdef\MT@font@list{\expandonce{\MT@font@list}\MT@font,}% +} +\def\MT@register@subst@font{\MT@exp@one@n\MT@in@clist\font@name\MT@font@list + \ifMT@inlist@\else + \xdef\MT@font@list{\expandonce{\MT@font@list}\font@name,}% + \fi} +\endinput |