Skip to content

Commit

Permalink
Set texcl and mathescape to false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative committed Dec 13, 2024
1 parent c2fe636 commit ce0f52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.tex
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@
backgroundcolor = \color{gray!10},
columns = flexible,
keepspaces = true,
texcl = true,
mathescape = true
% texcl = true, % 代码中的注释部分将会被视为 LaTeX 正文模式内容
% mathescape = true, % 代码中 $..$ 部分将会被视为 LaTeX 数学模式内容
}
\lstnewenvironment{codeblock}[1][]{%
\lstset{style=lstStyleCode,#1}}{}
Expand Down

0 comments on commit ce0f52f

Please sign in to comment.