我不明白您说的“在 PA 中添加 zthumtab ...”是什么意思。您是指在主要项目中吗?
默认情况下,拇指标签的样式基于 toc3,或者如果您确实想要, 您可以在(您的 ptxprint-mods.tex 文件中)覆盖默认定义:
\def\ThumbTabStyle{toc3}%哪种样式定义了字体?默认是 toc3
因此,您可以通过在 toc3(或您选择的)样式上设置来为拇指标签选择一种新字体。
拇指标签的选择规则如下:
* 在新文件中,标签文本被设置为空
* \toc3 仅在当前为空时设置标签文本
* \zthumbtab 设置新的标签文本,无论其是否已设置。
因此,要获取基于次要文本定义的拇指标签,您应该能够在次要文本中使用 \zthumbtab 进行设置,并且 changes.txt 规则可以实现这一点,使其完全自动化。
I don't understand what you mean by "add zthumtab ... in PA" Do you mean in the primary?
By default, the tumbtab styling is based on toc3, or if you really want to, you can (in your ptxprint-mods.tex file) override the default definition:
\def\ThumbTabStyle{toc3}%Which style defines the font? Default is toc3
Thus you can choose a new font for the thumbtab by setting it on the toc3 (or your choice) styling.
Thumbtab selection rules work like this:
* at a new file, the tab text is set to empty
* \toc3 sets the tab text IF is currently empty
* \zthumbtab sets new tab text, whether it's set or not.
Thus, to get thumbtabs defined based on the secondary text, you should be able to set it in the secondary with \zthumbtab, and a changes.txt rule can accomplish this so it's all automatic.
机器翻译自 English