我正在编写一份有页数限制的提案,但空间不够了。我使用 verbose-inote 来记录参考文献,因为这是提案的格式。但是,我遇到了空间问题,我想将所有参考文献作为尾注移到文档末尾,格式与 verbose-inote 相同,以节省一些空间。
我有这个(混乱的)代码作为 MWP:
\documentclass[a4paper,11pt]{article}
\usepackage[stable,para,hang]{footmisc}
\makeatletter
\footglue=.1em plus.15em minus.15em
\long\def\@makefntext#1{\leavevmode
\@makefnmark\nobreak
#1%
}
\usepackage[style=verbose-inote,maxcitenames=1,backend=bibtex,doi=false,isbn=false,url=false,giveninits=true,abbreviate=true,ibidpage=true]{biblatex}
\renewbibmacro{in:}{}
\DeclareAutoCiteCommand{footnote}[r]{\smartcite}{\smartcites}
\DeclareFieldFormat[article]{volume}{\bibstring{jourvol}\addnbspace #1}
\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace #1}
\AtEveryCitekey{\clearfield{title}}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit{\addcomma\space}%<---- was \setunit*{\adddot}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
%This delete the title of the journal when is repeated
\newbibmacro*{footcite:note}{%
\ifnameundef{labelname}
{\printfield{label}}
{\printnames{labelname}}%
\ifsingletitle
{}
\setunit{\addcomma\space}%
\printtext{%
\bibstring{seenote}\addnbspace
\ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
\iftoggle{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@f@\thefield{entrykey}}}
{}
{\addcomma\space\bibstring{page}\addnbspace
\pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
{}}}
\newcommand{\TODO}[1]{{\textcolor{red}{[\textbf{TODO:} #1]}}}
% \titlespacing\section{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
% \titlespacing\subsection{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
% \titlespacing\subsubsection{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\let\oldfootnotesize\footnotesize
\renewcommand{\footnotesize}{\fontsize{8bp}{1em}\selectfont}
\renewcommand{\cite}{\autocite} % citations in footnotes
\bibliography{Mendeley,Zotero}
\headheight=14pt
\makeatletter
\renewcommand\footnotesize{%
\@setfontsize\footnotesize\@ixpt{8}%
\abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 4\p@ \@plus2\p@ \@minus2\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\makeatother
%\let\footnote=\endnote
\begin{document}
test\cite{Zhu2020} and \cite{Wolf2020} repeat \cite{Zhu2020}
\end{document}
结果如下:
我希望将文档的所有参考资料都作为尾注,但遵循相同的设计。在这种情况下,我将避免重复,并希望赢得一些空间。就像这样:
提前致谢!!
答案1
使用 选项可以很容易地将biblatex
脚注引文重定向到尾注notetype=endonly
。
以下 MWE 用于enotez
排版段落样式/内联尾注。
\documentclass[a4paper,11pt]{article}
\usepackage{enotez}
\usepackage[inline]{enumitem}
\DeclareInstance{enotez-list}{enumstar}{list}{list-type = {enumerate*}}
\setenotez{list-style=enumstar}
\usepackage[backend=bibtex,
style=verbose-inote,
maxcitenames=1, giveninits=true,
doi=false, isbn=false, url=false, abbreviate=true,
ibidpage=true,
notetype=endonly]{biblatex}
\renewbibmacro{in:}{}
\DeclareAutoCiteCommand{footnote}[r]{\smartcite}{\smartcites}
\DeclareFieldFormat[article]{volume}{\bibstring{jourvol}\addnbspace #1}
\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace #1}
\AtEveryCitekey{\clearfield{title}}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit{\addcomma\space}%<---- was \setunit*{\adddot}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\makeatletter
\renewbibmacro*{footcite:note}{%
\ifnameundef{labelname}
{\printfield{label}}
{\printnames{labelname}}%
\ifsingletitle
{}
\setunit{\addcomma\space}%
\printtext{%
\bibstring{seenote}\addnbspace
\ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
\iftoggle{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@f@\thefield{entrykey}}}
{}
{\addcomma\space\bibstring{page}\addnbspace
\pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
{}}}
\makeatother
\addbibresource{biblatex-examples.bib}
\begin{document}
test\autocite{sigfridsson} and \autocite{worman} repeat \autocite{geer}
\printendnotes
\end{document}
我怀疑这是否能帮你节省大量空间。毕竟,脚注和尾注中的重复引用具有相同的行为:后续引用仍将发出具有其自身内容的新脚注/尾注。
如果您根据自己的风格style=numeric,
创建内联参考书目,可能会获得更好的结果(内嵌参考书目避免列表格式?)。
\documentclass[a4paper,11pt]{article}
\usepackage[backend=bibtex,
style=numeric, sorting=none,
maxnames=1, giveninits=true,
doi=false, isbn=false, url=false, abbreviate=true,
autocite=superscript]{biblatex}
\renewbibmacro{in:}{}
\DeclareFieldFormat[article]{volume}{\bibstring{jourvol}\addnbspace #1}
\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace #1}
\AtEveryBibitem{\clearfield{title}}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit{\addcomma\space}%<---- was \setunit*{\adddot}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\defbibenvironment{bibliography}
{\noindent}
{\unspace\endgraf}
{}
\renewbibmacro*{begentry}{%
\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}%
\setunit{\addspace}}
\renewcommand*{\finentrypunct}{\addperiod\space}
\renewcommand*{\bibfont}{\normalfont\footnotesize}
\addbibresource{biblatex-examples.bib}
\begin{document}
test\autocite{sigfridsson} and \autocite{worman} repeat \autocite{geer}
test\autocite{sigfridsson} and \autocite{worman} repeat \autocite{geer}
\printbibliography
\end{document}