lstlist和minitoc同时使用时,部分目录中的中文丢失

2020-11-27 14:08发布

## 编译环境 操作系统 * [x ] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [ ] TexLive `...

## 编译环境 操作系统 * [x ] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [ ] TexLive `年份` * [ ] MikTeX `版本号` * [x ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 在使用lstlist宏包显示项目编号,如$\bigstar$。可以正常使用,但是如果想要在这一章中添加minitoc, 则会出现部分目录中的中文消失的情况。编译时使用的pdflatex \chapter{使用技巧} \minitoc \subsection{使用itemize环境} \begin{lstlisting}[language=C] \begin{itemize} \item[-] The idea is \item[$\bigstar$] However, we \item[$*$] Instead we take \item[$\blacktriangleright$] Might loook difficult \end{itemize} \end{lstlisting} 效果如下: \begin{itemize} \item[-] The idea is \item[$\bigstar$] However, we \item[$*$] Instead we take \item[$\blacktriangleright$] Might loook difficult \end{itemize}
1条回答
sikouhjw
2020-11-28 18:47
MWE呢?

一周热门 更多>

相关问答