
我正在使用 LyX 2.3。每當我在 後面添加腳註時insert>Footnote
,預設情況下腳註 sybmol 都會顯示為數字。對於某些特定的腳註,我需要將腳註符號改為星號來代替數字。有人會建議如何做到這一點嗎?謝謝。
答案1
若要使用符號 †† ‡ § ... 作為腳註,只需新增\renewcommand{\thefootnote}{\fnsymbol{footnote}}
至Latex Preamble
「文件」→「設定」中的 即可。
然後,程式碼預覽窗格應該會顯示一些類似此範例的內容:
% Preview source code
%% LyX 2.3.6 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really want to learn LaTeX. ;)
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[paperwidth=8cm,paperheight=5cm]{geometry}
\geometry{verbose,tmargin=1cm,bmargin=2cm,lmargin=1cm,rmargin=1cm}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\makeatother
\usepackage{babel}
\begin{document}
foo\footnote{foo } foo\footnote{foo} foo\footnote{foo} foo\footnote{foo}
\end{document}
編輯:
要暫時返回數位腳註,例如僅返回第二個腳註,而不計算第一個腳註,您可以通過以下方式將重新定義限制為單個腳註(或具有多個腳註的文本):
{\addtocounter{footnote}{-1}%
\renewcommand{\thefootnote}{\arabic{footnote}
\footnote{foo}}
當然,如果數字腳註較多,帶符號的腳註較少,則只需在本地設置格式\fnsymbol
並按此方式計數即可,完全不需要觸及序言。