|
本帖最后由 abababa 于 2022-2-10 14:17 编辑 回复 4# abababa
这个现象又出现了,我编译了其它文档,还是有这个问题,我就想可能是我在公共的引用部分出了问题,我这两天改的地方有两个,一个是mymark那个加多个星的,这个经过我注释掉以后,发现不是它的问题。另一个是证明的环境:- \usepackage[amsmath, thmmarks]{ntheorem}
- {
- \theoremstyle{nonumberplain}
- \theoremheaderfont{\indent\bfseries}
- \theorembodyfont{\normalfont}
- \theoremsymbol{\ensuremath{\Box}}
- \newtheorem{proof}{证明}
- }
- \theoremheaderfont{\indent\bfseries}
- \theorembodyfont{\normalfont}
- %环境结束符,只对后面的命令有效
- \theoremsymbol{\textup{$\multimap$}}
- \newtheorem{example}{例}[section]%缩写exam
- \newcommand\exampleautorefname{例}
- \newtheorem{exercise}{习题}[section]
- \newcommand\exerciseautorefname{习题}
- %环境结束符,只对后面的命令有效
- \theoremsymbol{\textup{\#}}
- \newtheorem{remark}{注}
- \newtheorem{proposition}{命题}[section]%缩写ps
- \newcommand\propositionautorefname{命题}
- \newtheorem{definition}{定义}[section]%缩写def
- \newcommand\definitionautorefname{定义}
- \newtheorem{theorem}{定理}[section]%缩写thm
- \newcommand\theoremautorefname{定理}
- \newtheorem{lemma}{引理}[section]
- \newcommand\lemmaautorefname{引理}
- \newtheorem{property}{性质}[section]
- \newcommand\propertyautorefname{性质}%缩写pp
- \newtheorem{corollary}{推论}[section]%缩写coro
- \newcommand\corollaryautorefname{推论}
- \newcommand\equationautorefname{公式}
- % 例变为内嵌页
- \mdfdefinestyle{exampleStyle}{linewidth=0pt,innerleftmargin=0,innerrightmargin=0,innertopmargin=-\topskip}
- \newmdtheoremenv[style=exampleStyle]{xexample}[example]{例}
- % 证明变为内嵌页,证明中的脚注在证明下方
- \theoremstyle{nonumberplain}
- %环境结束符,只对后面的命令有效
- \theoremsymbol{$\square$}
- \mdfdefinestyle{proofStyle}{linewidth=0pt,innerleftmargin=0,innerrightmargin=0,innertopmargin=-\topskip}
- \newmdtheoremenv[style=proofStyle]{xproof}{证明}
复制代码 上面代码第39行,如果我加了这个,有时就会出现缺少大括号的问题,注释掉就没问题了。
试了几次,每次都把aux,log那些文件删除之后再编译,确定就是这一行的问题。这是怎么回事啊,证明最后那个方块不是这样写的吗? |
|