我 对问题发布了答案
执行到 \item 时仍然是垂直模式,hcoffin 这个“盒子”有点特别,不像其它的 hbox,在这种情况下需要手动离开垂直模式,使用 \leavevmode 或 \mode_leave_verti
我 对问题发布了答案
解决办法有很多,如用 fancyhdr 宏包,设置页眉,使用 geometry 宏包的 \newgeometry 命令修改当前页的 \textheight;在旧的 LaTeX 版本中可以使用 ever
我 对问题发布了答案
在 \the<section> 后加一个 * 即可。具体的,类似于:\expandafter\def\expandafter\thesection\expandafter{\thesect
我 对问题发布了答案
有一个 tableof 宏包,不知道是不是你想要的。效果如下:如果只是要在标题旁边标记tag,那应该由 titlesec 或 ctexheading 宏包来做。附上代码:\documentclass{
我 对问题发布了答案
\documentclass{standalone} \usepackage{forest} \begin{document} \forestset{ declare dimen regis
我 对问题发布了答案
在 xelatex 下,xeCJK 宏包有一个 CheckSingle 选项用以控制是否检查段末的单字。\documentclass[zihao=-4]{ctexart} % 480bp = 40*1
我 对问题发布了答案
如果只是想得到 title、author 等信息,可以\def\recordinfo#1{\gdef\recordedinfo{#1}#1}然后使用\recordinfo{% \title{...}%
我 对问题发布了答案
可能是使用了 fancyvrb 宏包的 \DefineShortVerb 命令将 | 定义为了 verb 命令。我使用这种方式复现了类似的错误。这样的话可以将 | 的类代码改为 12:\catcode
我 对问题发布了答案
看看这个 https://www.zhihu.com/question/501741864/answer/2244093701原理是相同的,只要把它的 sidenote 改为 你的计数器即可。
我 对问题发布了答案
使用 \phantomsection、\addcontentsline。\documentclass{book} \usepackage[colorlinks]{hyperref} \usepack
我 对问题发布了答案
cmap是pdftex特有的功能,其它编译器不可用。你之前那个问题是pdftex下,使用cjk支持中文的出现的错误,不是标准行为。
我 对问题发布了答案
使用 enumitem 宏包。这种情况推荐使用 description 环境。\documentclass{ctexart} \usepackage{enumitem} \usepackage{zhl
我 对问题发布了答案
∠符号的书写,word中的符号和latex 的∠符号有区别,如何找到45°的角符号。