為什麼這個小頁註腳重複兩次?

為什麼這個小頁註腳重複兩次?

考慮:

\documentclass[12pt]{book}
\usepackage{scalefnt,scalerel}
\begin{document}
\thispagestyle{empty}
{\begin{minipage}{5.0in}\leftskip\fill\rightskip-\leftskip\parfillskip\stretch{2}%
{\vstretch{1.05}{\huge{\scalefont{1.05}{\textbf{THE COMMONITORY}}}\footnote{{\scshape{Commonitory.}} I have retained the original title in its anglicised form, already familiar to English ears in connection with the name of Vincentius. Its meaning, as he uses it, is indicated sufficiently, in \S 3, ``An aid to memory.'' Technically, it meant a Paper of Instructions given to a person charged with a commission, to assist his memory as to its details.}}}
\end{minipage}
\end{document}

與輸出:

在此輸入影像描述

問題:為什麼列出了唯一的腳註次?另外,我如何才能在頁面底部(而不是直接在標題下方)列出一次腳註,並且腳註標記為 1 而不是A

謝謝。

答案1

首先,我無法重現你的問題。透過你的程式碼,我得到:

原始結果

並在log警告中:

(\end occurred inside a group at level 1)

### simple group (level 1) entered at line 5 ({)

這是因為{第 5 行開頭的 a 永遠不會關閉。

但是,您的程式碼還存在其他幾個問題。看來您正在嘗試使用\huge帶有參數的命令。但這是不正確的。\huge是一個字體開關。它不會讀取參數,但在目前群組的末尾結束(在您的情況下是 所使用的框的末尾\vstretch)。

我還猜測,您之所以使用\vstretchonly 是因為使用 後缺少段落結尾\huge。所以恕我直言,它\vstretch也可以被消除。在這種情況下,\huge將會在{先前的目前組開始的組處結束\vstretch。該組也不是必需的,但會結束 的基線跳躍設定\huge

minipage也與腳註輸出的位置有關。裡面的腳註minipage總是印在頁面的末尾minipage而不是頁面的末尾。為了使這一點更加清晰,數字樣式發生了變化。

所以恕我直言,你會得到你想要的簡化程式碼:

\documentclass[12pt]{book}
\begin{document}
\thispagestyle{empty}
{\centering\huge\textbf{THE COMMONITORY\footnote{{\scshape{Commonitory.}} I
      have retained the original title in its anglicised form, already
      familiar to English ears in connection with the name of Vincentius. Its
      meaning, as he uses it, is indicated sufficiently, in \S 3, ``An aid to
      memory.'' Technically, it meant a Paper of Instructions given to a
      person charged with a commission, to assist his memory as to its
      details.}}\par}

\end{document}

請注意\par群組末尾的 。\huge對於大文本,需要使用所有字體設定(包括基線跳過)。

改進的

如果您確實想拉伸文本,請使用類似以下內容的內容:

\documentclass[12pt]{book}
\usepackage{scalerel,scalefnt}
\begin{document}
\thispagestyle{empty}
{\centering\huge\vstretch{1.05}{\textbf{\scalefont{1.05}{THE COMMONITORY\footnotemark}}}\footnotetext{\textsc{Commonitory.} I
      have retained the original title in its anglicised form, already
      familiar to English ears in connection with the name of Vincentius. Its
      meaning, as he uses it, is indicated sufficiently, in \S 3, ``An aid to
      memory.'' Technically, it meant a Paper of Instructions given to a
      person charged with a commission, to assist his memory as to its
      details.}\par}

\end{document}

順便說一句:如果這不應該是一次性格式化而是一種分段,那麼您應該使用類似的包titlesec來配置相應的分段命令,例如 ,\chapter而不是為每個標題進行手動標記。

相關內容