![Biblatex (footcite) 和 microtype](https://linux22.com/image/292575/Biblatex%20(footcite)%20%E5%92%8C%20microtype.png)
Biblatex 的配置是,所有作者姓名都以小写字母书写,并且 microtype 设置为调整小写字母之间的间距。
\SetTracking{ encoding = *, shape = sc }{ 45 }
这对于文档和参考书目来说效果很好,可惜它对脚注不起作用。有没有办法将此间距也应用于脚注?
我尝试的是
\SetTracking[ context = footcite]{ encoding = *, shape = sc }{ 45 }
\SetTracking[ context = footnote]{ encoding = *, shape = sc }{ 45 }
但没有效果。
答案1
% arara: pdflatex
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage[backend=biber,
style=authoryear
]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{blindtext}
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
\usepackage[tracking=true]{microtype}
\SetTracking{ encoding = *, font = sc }{ 400 }
\begin{filecontents}{\jobname.bib}
@article{wurscht,
author = {Wurschtel, Willi},
title = {Wiener Würstchen und Bockwurst},
journal = {Brühwurst und andere Leckereien},
year = 2015,
pages = {32--39},
number = 4}
\end{filecontents}
\setlength{\textheight}{5cm}
\begin{document}
Die letzten Worte von \citeauthor{wurscht}: \enquote{Wer will warme
\textsc{Wiener Würstchen}?}\footcite[S.~23]{wurscht}
\printbibliography
\end{document}