Replies: 1 comment 3 replies
-
|
原因在这里: \lstdefinestyle{style@base}
{
basewidth = 0.5 em,
gobble = 3,
lineskip = 2 pt,
frame = l,
framerule = 1 pt,
framesep = 0 pt,
escapeinside = {(*}{*)},
basicstyle = \small\ttfamily\color{MaterialGrey900},
keywordstyle = \bfseries\color{MaterialIndigo},
commentstyle = \itshape\color{MaterialGrey600},
stringstyle = \color{MaterialRed},
backgroundcolor = \color{MaterialGrey50}
}其中的 \begin{shellexample}[morekeywords={tlmgr,install}]
tlmgr install fduthesis
\end{shellexample}中 \begin{shellexample}[gobble=2, morekeywords={tlmgr,install}]
tlmgr install fduthesis
\end{shellexample}整个文档后面代码环境也是同理. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我 clone 最新的
fduthesis仓库(最新一次提交为 a1bf528 ),并且编译了source/fduthesis.dtx得到了用户手册,其中代码摘录的效果缩进正常。、但是我将 https://github.com/stone-zeng/fduthesis/blob/main/source/fduthesis.dtx#L251-L2632 的代码摘出来放进了
tex文件中,并将^^A!等内容去掉之后进行编译,发现代码摘录少了一个缩进,这是什么原因呢?这是我摘录后处理好的文件:
demo.zip
系统:mac,发行版:texlive2022
Beta Was this translation helpful? Give feedback.
All reactions