LaTeX 脚注不会改变

LaTeX 脚注不会改变

我正处于此文本的最后阶段,我的目标是在用户定义的双列文本枚举环境中插入脚注。脚注应显示为红色星号,脚注文本应跨越两列。

在下面的 MWE 中,我设法完成了部分工作。我的双列文本有效,脚注横跨两列。脚注计数器的行为符合预期(请参阅提供的解决方案这里),但它拒绝更改为符号(或字母 - 我已经尝试了我能想到的所有方法)或颜色。事实上,在这个 MWE 中,两个脚注的颜色都是红色(新颜色);在我的实际文件中,两者的颜色都是蓝色(原始颜色)。此外,脚注的最后一段有看起来像 1.5 或双倍行距的东西 - 我无法纠正它。

\documentclass[fontsize=9pt, twoside, final, openright, c6paper]{book}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{scrextend}
\usepackage{moresize}
\usepackage{calc}
\usepackage[inner=0.3in, outer=0.3in, top=0.50in, bottom=0.35in, bindingoffset=0.25in, foot = 0.20in, includefoot, 
    footskip = 10pt, textheight = 5.4in, headsep=0.05in]{geometry} 
\usepackage{parskip}                        
\usepackage[flushmargin, splitrule, symbol*]{footmisc}  
\usepackage{enumitem}                       
\usepackage{multicol}
\usepackage{ragged2e}
\usepackage[dvipsnames]{xcolor}

\usepackage[colorlinks=true, hyperindex=true]{hyperref} 

% For footnotes: 
\makeatletter
\def\@makefnmark{\hbox{\raisebox{0.30\baselineskip}{\ensuremath{\scriptstyle(\@arabic\c@footnote)}}}}
\makeatother

\setlength{\dimen\footins}{0.85\textheight}%
\interfootnotelinepenalty=10000

\definecolor{darkred}{HTML}{AE0000} 
\newcommand{\cdr}{\color{darkred}}


%% For the rubrics that are double-numbered
\newlist{bienumerate}{enumerate}{1}
\setlistdepth{4}
\setlist[bienumerate, 1]{%
  label=\arabic*\additionallabel.,
  wide,
}
\NewDocumentCommand{\additionallabel}{}{}
\NewDocumentCommand{\biitem}{o}{%
  \IfNoValueTF{#1}{%
    \renewcommand{\additionallabel}{}%
  }{%
    \renewcommand{\additionallabel}{ (#1)}%
  }%
  \item
}


\begin{document}

\begin{multicols*}{2}
\justifying

Previous text\footnote{With a footnote}.

\begin{bienumerate}[itemsep=-0.75ex, leftmargin=0ex, itemindent=1em, parsep=3pt, resume]
\biitem[156] 
\newcounter{tempfootnote}
\setcounter{tempfootnote}{\value{footnote}}
\setcounter{footnote}{0}
\renewcommand{\thefootnote}{\cdr \fnsymbol{footnote}}
In domibus interprovincialibus, nationalibus, et internationalibus Ordinis, pro absolutione 
divini Officii in choro vel in communi, adhibendum est calendarium proprium Ordinis universi, additis 
tantum festis propri\ae\ ecclesi\ae\ (n.~42) necnon festis de quibus n.\ 50.\footnote{{\tiny{
(154). In seminariis et collegiis clericorum di\oe cesanis, Religiosisi commissis, pro 
absolutione divini Officii in communi, sive a clericis sive a Religiosis qui una cum clericis Officium in communi 
dicunt, adhibendum est calendarium loci, additis festis ecclesi\ae\ seminarii vel collegii (n.~45 codicis rubricarum), 
data insuper facultate adiungendi festa Tituli necnon sancti Fundatoris Religiosorum quibus regimen seminarii 
commissum est. 

(155). In seminariis et collegiis clericorum interdi\oe cesanis, regionalibus, nationalibus, et internationalibus, 
pro absolutione divini Officii in communi, adhibendum est calendarium Ecclesi\ae\ univers\ae, additis festis 
Patroni principalis nationis, regionis seu provinci\ae\ sive ecclesiastic\ae\ sive civilis, di\oe cesis, oppidi seu 
civitatis, anniversario Dedicationis ecclesi\ae\ cathedralis di\oe cesis et aliis festis actu feriatis, si qu\ae\ sint, 
necnon festis ecclesi\ae\ seminarii vel collegii (n.~45 codicis rubricarum).  

Si autem huiusmodi seminariorum regimen Religiosis commissum sit, calendarium Ecclesi\ae\ univers\ae\ 
adhibendum est etiam a Religiosis qui una cum clericis Officium in communi absolvunt, data tamen facultate 
addendi festa tituli Ordinis seu Congregationis necnon sancti Fundatoris Religiosorum quibus regimen 
seminarii commissum est. %
}}}
\setcounter{footnote}{\value{tempfootnote}}
\renewcommand{\thefootnote}{\arabic{footnote}}
\end{bienumerate}
\end{multicols*}
\end{document}

答案1

像这样吗?

\documentclass[fontsize=9pt, twoside, final, openright, c6paper]{book}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{scrextend}
\usepackage{moresize}
\usepackage{calc}
\usepackage[inner=0.3in, outer=0.3in, top=0.50in, bottom=0.35in, bindingoffset=0.25in, foot = 0.20in, includefoot, 
    footskip = 10pt, textheight = 5.4in, headsep=0.05in]{geometry} 
\usepackage{parskip}                        
\usepackage[flushmargin, splitrule, symbol*]{footmisc}  
\usepackage{enumitem}                       
\usepackage{multicol}
\usepackage{ragged2e}
\usepackage[dvipsnames]{xcolor}

\usepackage[colorlinks=true, hyperindex=true]{hyperref} 

% For footnotes: 
\makeatletter
\def\@makefnmark{\hbox{\raisebox{0.30\baselineskip}{\ensuremath{\scriptstyle\textcolor{footnotemark}{(\thefootnote)}}}}}
\makeatother

\setlength{\dimen\footins}{0.85\textheight}%
\interfootnotelinepenalty=10000

\definecolor{darkred}{HTML}{AE0000} 
\newcommand{\cdr}{\color{darkred}}
\colorlet{footnotemark}{darkred}

%% For the rubrics that are double-numbered
\newlist{bienumerate}{enumerate}{1}
\setlistdepth{4}
\setlist[bienumerate, 1]{%
  label=\arabic*\additionallabel.,
  wide,
}
\NewDocumentCommand{\additionallabel}{}{}
\NewDocumentCommand{\biitem}{o}{%
  \IfNoValueTF{#1}{%
    \renewcommand{\additionallabel}{}%
  }{%
    \renewcommand{\additionallabel}{ (#1)}%
  }%
  \item
}
\renewcommand{\thefootnote}{\arabic{footnote}}


\begin{document}

\begin{multicols*}{2}
\justifying

Previous text\footnote{With a footnote}.


\begin{bienumerate}[itemsep=-0.75ex, leftmargin=0ex, itemindent=1em, parsep=3pt, resume]
\biitem[156] 
\newcounter{tempfootnote}
\setcounter{tempfootnote}{\value{footnote}} \setcounter{footnote}{0} 
\colorlet{footnotemark}{green} 
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
In domibus interprovincialibus, nationalibus, et internationalibus Ordinis, 
pro absolutione divini Officii in choro vel in communi, adhibendum est 
calendarium proprium Ordinis universi, additis tantum festis propri\ae\ 
ecclesi\ae\ (n.~42) necnon festis de quibus n.\ 50.\footnote{{\tiny{ (154). 
In seminariis et collegiis clericorum di\oe cesanis, Religiosisi commissis, 
pro absolutione divini Officii in communi, sive a clericis sive a Religiosis 
qui una cum clericis Officium in communi dicunt, adhibendum est calendarium 
loci, additis festis ecclesi\ae\ seminarii vel collegii (n.~45 codicis 
rubricarum), data insuper facultate adiungendi festa Tituli necnon sancti 
Fundatoris Religiosorum quibus regimen seminarii commissum est. 

(155). In seminariis et collegiis clericorum interdi\oe cesanis, 
regionalibus, nationalibus, et internationalibus, pro absolutione divini 
Officii in communi, adhibendum est calendarium Ecclesi\ae\ univers\ae, 
additis festis Patroni principalis nationis, regionis seu provinci\ae\ sive 
ecclesiastic\ae\ sive civilis, di\oe cesis, oppidi seu civitatis, 
anniversario Dedicationis ecclesi\ae\ cathedralis di\oe cesis et aliis festis 
actu feriatis, si qu\ae\ sint, necnon festis ecclesi\ae\ seminarii vel 
collegii (n.~45 codicis rubricarum).  

Si autem huiusmodi seminariorum regimen Religiosis commissum sit, calendarium 
Ecclesi\ae\ univers\ae\ adhibendum est etiam a Religiosis qui una cum 
clericis Officium in communi absolvunt, data tamen facultate addendi festa 
tituli Ordinis seu Congregationis necnon sancti Fundatoris Religiosorum 
quibus regimen seminarii commissum est. \par% 
}}} 
\setcounter{footnote}{\value{tempfootnote}} 
\renewcommand{\thefootnote}{\arabic{footnote}}
\end{bienumerate}
\end{multicols*}
\end{document}

在此处输入图片描述

相关内容