Skip to content

Commit

Permalink
prevent extra spaces between Chinese and non-Chinese characters in co…
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Dec 28, 2017
1 parent da81d94 commit c70ef76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions latex/preamble.tex
Expand Up @@ -36,6 +36,8 @@
\@ifundefined{Shaded}{
}{\renewenvironment{Shaded}{\begin{kframe}}{\end{kframe}}}
\makeatother
% https://github.com/CTeX-org/ctex-kit/issues/331
\RecustomVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\},formatcom=\xeCJKVerbAddon}

\usepackage{makeidx}
\makeindex
Expand Down

0 comments on commit c70ef76

Please sign in to comment.