我在文本中使用了大量缩写的引文注释,为了列出这些注释,我使用了 biblatex 和+\notecite
样式的简写缩写。这很顺利,但我希望引文(或技术上称为引文前注和后注)能小一些,因为在文本中,如果有很多引文注释,它们往往会掩盖实际的示例和文本。我想要的是一种定义方法,使其看起来更小,就像这个例子中的那样:
ABBREVIATION
example.code
\notecite
我在最小工作示例中使用了\footnotesize
each\notecite
来获得我想要的效果,但是对每个示例都使用这个会变得非常繁琐,因为这些缩写的引用注释有数百个。这是一个最小工作示例:
\documentclass[12pt]{book}
\begin{filecontents}{citelist.bib}
@book{REF,
shorthand = {REF},
pagination={none},
year={1986},
title = {Ensk-íslensk skólaorðabók},
editor = {{Jón Skaptason}},
publisher = {Örn og Örlygur},
location = {Reykjavík}
}
@book{LUC,
shorthand = {LUC},
pagination={none},
address = {Cambridge},
year = {1997},
booktitle = {Color Categories in Thought and Language},
author = {John A. Lucy},
location = {Cambridge}
}
}
\end{filecontents}
\usepackage[LY1,T1]{fontenc}
\usepackage[icelandic]{babel}
\usepackage{lmodern}
\usepackage[sortlocale=auto,backend=biber,style=authoryear,sorting=nyt,abbreviate=true]{biblatex}
\addbibresource{citelist.bib}
\begin{document}
normal: \\
For example \notecite[REF][f.1249.54]{REF}, (and also \notecite[LUC][f.16.235]{LUC}). \\
With footnotesize: \\
For example {\footnotesize\notecite[REF][f.1249.54]{REF}}, (and also {\footnotesize\notecite[LUC][f.16.235]{LUC}}).
\end{document}
答案1
\notecite
您可以在biblatex.def
(中找到定义2218-2223在 v3.15a 中)。为了使该命令的输出更小,我们可以添加一个包装器命令,该命令带有一个可选参数,用于将字体大小设置为\footnotesize
。其他引用命令不受影响。
\documentclass[12pt]{book}
\usepackage[LY1,T1]{fontenc}
\usepackage[icelandic]{babel}
\usepackage{lmodern}
\usepackage[backend=biber, style=authoryear, abbreviate=true]{biblatex}
\newcommand*{\mkbibfootnotesize}[1]{{\footnotesize #1}}
\DeclareCiteCommand{\notecite}[\mkbibfootnotesize]
{\printfield{prenote}%
\setunit*{\printdelim{prenotedelim}}}
{\nocite{\thefield{entrykey}}}
{}
{\printfield{postnote}}
\begin{filecontents}{\jobname.bib}
@book{REF,
shorthand = {REF},
pagination = {none},
year = {1986},
title = {Ensk-íslensk skólaorðabók},
editor = {{Jón Skaptason}},
publisher = {Örn og Örlygur},
location = {Reykjavík},
}
@book{LUC,
shorthand = {LUC},
pagination = {none},
address = {Cambridge},
year = {1997},
booktitle = {Color Categories in Thought and Language},
author = {John A. Lucy},
location = {Cambridge},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
For example \notecite[REF][f.1249.54]{REF}, (and also \notecite[LUC][f.16.235]{LUC})
With footnotesize:
For example {\footnotesize\notecite[REF][f.1249.54]{REF}}, (and also {\footnotesize\notecite[LUC][f.16.235]{LUC}}).
\end{document}