我在文档中遇到了脚注布局问题。我使用的是 texlive 2021、Lualatex 和 Biblatex/Biber,出于某些原因,我不得不在脚注中包含我的参考资料。但是,缩进只会让它看起来很糟糕,很乱,我不知道如何修复它。我试过 [hang,flushmargin]{footmisc},还有 \deffootnote,以及其他一些我记不清的解决方案,但都不起作用。
它是什么样子的:
我希望脚注中的参考文献与脚注标记齐平,这样看起来更整洁,占用的空间也更小。换句话说,如何让脚注标记和参考文献之间的大空白消失?
这里有 MWE 和参考书目,但由于这是我第一次制作,如果缺少什么,请告诉我。
提前感谢你的帮助!
\documentclass[a4paper,12pt,british]{scrartcl}
\usepackage[rmargin=15mm,lmargin=15mm,tmargin=15mm,bmargin=20mm]{geometry}
\usepackage[style=verbose-inote,autocite=footnote,isbn=false,doi=false,url=false,eprint=false,maxcitenames=1,firstinits=true,backend=biber]{biblatex}
\DeclareFieldFormat{postnote}{#1}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{#1}% no postnote prefix in "multicite" commands
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography
\usepackage{hyperref}
\deffootnote[1em]{1em}{1em}{%
\textsuperscript{\makebox[1em][l]{\thefootnotemark}}}
\addbibresource{MWE.bib}
\AtEveryCitekey{
\clearlist{language}
\clearlist{address}
\clearlist{publisher}
%\clearfield{date}
\clearfield{issn}
\clearlist{location}
\clearfield{note}
\clearfield{related}
\clearfield{series}
\clearfield{number}
\clearname{translator}
}
\AtEveryCitekey{\ifentrytype{book}{\clearfield{pagetotal}}{}}
\begin{document}
Bla bla\autocites{bryggennames1981johnsen}{namenwelten2004}, also bla bla\footcite{spurkland2004}.
Further blablabla\autocites{fannekbein2020zilmer}{bergensticks2020zilmer2}, as also blablabla\footcite{runeseditors2010barnes}.
\end{document}
参考书目
@InProceedings{bryggennames1981johnsen,
author = {Johnsen, Ingrid Sanness},
booktitle = {Proceedings of the First International Symposium on Runes and Runic Inscriptions},
title = {Personal Names in Inscriptions from Towns of Medieval Norway},
editor = {Thompson, Claiborne W.},
number = {VII},
pages = {119-128},
series = {Michigan Germanic Studies},
year = {1981},
}
@Book{namenwelten2004,
title = {Namenwelten: Orts- und Personennamen in historischer Sicht},
editor = {van Nahl, Astrid and Elmevik, Lennart and Brink, Stefan},
isbn = {3110181088},
language = {ger},
number = {44},
publisher = {Walter de Gruyter},
series = {Ergänzungsbände zum Reallexikon der germanischen Altertumskunde},
address = {Berlin},
year = {2004},
}
@InCollection{spurkland2004,
author = {Terje Spurkland},
booktitle = {Scandinavia and Europe 800-1350. Contact, Conflict, and Coexistence},
publisher = {Brepols},
title = {Literacy and 'Runacy' in Medieval Scandinavia},
year = {2004},
editor = {John Adams and Cathy Holman},
pages = {333-344},
doi = {ISBN 2-503-51085-X},
}
@Unpublished{fannekbein2020zilmer,
author = {Zilmer, Kristel},
title = {“Fann ek bein..., I found a bone…”: Runic Artefacts as Material Evidence of Writing in Medieval Norwegian Towns},
}
@Article{bergensticks2020zilmer2,
author = {Zilmer, Kristel},
journal = {Maal og Minne},
title = {Survey of medieval inscribed objects from Bergen: Items other than wooden sticks or pieces of wood},
year = {2020},
number = {1},
pages = {1-15},
}
@Article{runeseditors2010barnes,
author = {Barnes, Michael},
date = {2010},
journaltitle = {Futhark: International Journal of Runic Studies},
title = {Runes and Editors: The Changing Face of Corpus Editions},
number = {1},
pages = {7-26},
url = {https://uu.diva-portal.org/smash/record.jsf?dswid=-1914&pid=diva2:381131&c=1&searchType=SIMPLE&language=en&query=&af=[]&aq=[[{"issn":"1892-0950"},{"volume":"1"}]]&aq2=[[]]&aqe=[]&noOfRows=100&sortOrder=page&sortOrder2=title_sort_asc&onlyFullText=false&sf=all},
}
答案1
在许多情况下,如果您不想要虚假空格,则需要“注释掉”行尾。请参阅行尾的百分号 (%) 有什么用?(为什么我的宏会产生额外的空间?)。
\AtEveryCitekey{
基本上,您需求的每一行都%
在最后。
\documentclass[a4paper,12pt,british]{scrartcl}
\usepackage[rmargin=15mm,lmargin=15mm,tmargin=15mm,bmargin=20mm]{geometry}
\usepackage[
backend=biber,
style=verbose-inote,
maxcitenames=1,giveninits=true,
isbn=false,doi=false,url=false,eprint=false,
]{biblatex}
\DeclareFieldFormat{postnote}{\mknormrange{#1}}
\DeclareFieldFormat{multipostnote}{\mknormrange{#1}}
\DeclareFieldFormat{pages}{#1}
\usepackage{hyperref}
\deffootnote[1em]{1em}{1em}{%
\textsuperscript{\makebox[1em][l]{\thefootnotemark}}}
\AtEveryCitekey{%
\clearlist{language}%
\clearlist{address}%
\clearlist{publisher}%
%\clearfield{date}%
\clearfield{issn}%
\clearlist{location}%
\clearfield{note}%
\clearfield{related}%
\clearfield{series}%
\clearfield{number}%
\clearname{translator}%
\clearfield{pagetotal}%
}
\begin{filecontents}[overwrite]{\jobname.bib}
@InProceedings{bryggennames1981johnsen,
author = {Johnsen, Ingrid Sanness},
booktitle = {Proceedings of the First International Symposium on Runes and Runic Inscriptions},
title = {Personal Names in Inscriptions from Towns of Medieval Norway},
editor = {Thompson, Claiborne W.},
number = {VII},
pages = {119-128},
series = {Michigan Germanic Studies},
year = {1981},
}
@Book{namenwelten2004,
title = {Namenwelten: Orts- und Personennamen in historischer Sicht},
editor = {van Nahl, Astrid and Elmevik, Lennart and Brink, Stefan},
isbn = {3110181088},
language = {ger},
number = {44},
publisher = {Walter de Gruyter},
series = {Ergänzungsbände zum Reallexikon der germanischen Altertumskunde},
address = {Berlin},
year = {2004},
}
@InCollection{spurkland2004,
author = {Terje Spurkland},
booktitle = {Scandinavia and Europe 800-1350. Contact, Conflict, and Coexistence},
publisher = {Brepols},
title = {Literacy and 'Runacy' in Medieval Scandinavia},
year = {2004},
editor = {John Adams and Cathy Holman},
pages = {333-344},
doi = {ISBN 2-503-51085-X},
}
@Unpublished{fannekbein2020zilmer,
author = {Zilmer, Kristel},
title = {“Fann ek bein..., I found a bone…”: Runic Artefacts as Material Evidence of Writing in Medieval Norwegian Towns},
}
@Article{bergensticks2020zilmer2,
author = {Zilmer, Kristel},
journal = {Maal og Minne},
title = {Survey of medieval inscribed objects from Bergen: Items other than wooden sticks or pieces of wood},
year = {2020},
number = {1},
pages = {1-15},
}
@Article{runeseditors2010barnes,
author = {Barnes, Michael},
date = {2010},
journaltitle = {Futhark: International Journal of Runic Studies},
title = {Runes and Editors: The Changing Face of Corpus Editions},
number = {1},
pages = {7-26},
url = {https://uu.diva-portal.org/smash/record.jsf?dswid=-1914&pid=diva2:381131&c=1&searchType=SIMPLE&language=en&query=&af=[]&aq=[[{"issn":"1892-0950"},{"volume":"1"}]]&aq2=[[]]&aqe=[]&noOfRows=100&sortOrder=page&sortOrder2=title_sort_asc&onlyFullText=false&sf=all},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Bla bla\autocites{bryggennames1981johnsen}{namenwelten2004},
also bla bla\footcite{spurkland2004}.
Further blablabla\autocites{fannekbein2020zilmer}{bergensticks2020zilmer2},
as also blablabla\footcite{runeseditors2010barnes}.
\end{document}