diff options
Diffstat (limited to 'info/lshort/chinese/src/lshort-zh-cn-style.sty')
-rw-r--r-- | info/lshort/chinese/src/lshort-zh-cn-style.sty | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/info/lshort/chinese/src/lshort-zh-cn-style.sty b/info/lshort/chinese/src/lshort-zh-cn-style.sty index e1931aa756..b33457a5d8 100644 --- a/info/lshort/chinese/src/lshort-zh-cn-style.sty +++ b/info/lshort/chinese/src/lshort-zh-cn-style.sty @@ -155,6 +155,17 @@ % 允许 hologo 断词 \hologoSetup{discretionarybreak=true} +% 不在 METAFONT 和 METAPOST 中断行,避免出现字体缺失警告(该字体不包含连字符) +\def\HoLogo@METAFONT#1{% + \HoLogoFont@font{METAFONT}{logo}{% + \HOLOGO@mbox{METAFONT}% + }% +} +\def\HoLogo@METAPOST#1{% + \HoLogoFont@font{METAPOST}{logo}{% + \HOLOGO@mbox{METAPOST}% + }% +} % 新定义 hologo \def\HoLogo@TeXLive#1{% \hologo{TeX}\HOLOGO@space\HOLOGO@mbox{Live}% |