我不明白您說的「在 PA 中加入 zthumtab ...」是指什麼?您是指主要專案嗎?
預設情況下,拇指標籤的樣式是基於 toc3 的。如果您真的想要,可以在您的 ptxprint-mods.tex 檔案中覆蓋預設定義:
\def\ThumbTabStyle{toc3}%Which style defines the font? Default is 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