有没有办法将 biblatex 制作的列表中的缩写左对齐?默认情况下,缩写(速记)左对齐,而作品细节则对齐。
\documentclass{article}
\usepackage[polutonikogreek,latin,portuges]{babel}
\usepackage[style=numeric,citestyle=authoryear,sorting=nyt,doi=false,url=false,isbn=false]{biblatex}
\DeclareFieldFormat{labelnumberwidth}{}
\setlength{\biblabelsep}{3pt}
\usepackage{fontspec}
\setmainfont{Source Sans Pro}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{barreiros1968chorographia,
author = {Barreiros, G.},
title = {Chorographia de alguns lugares [...]},
year = {1561},
publisher = {por Ioã Aluarez},
url = {https://books.google.pt/books?id=h3-RngEACAAJ},
address = {em Coimbra},
keywords = {Gaspar Barreiros -- toponímia (latina e portuguesa) -- geografia (história) -- Ânio de Viterbo (recepção) -- sigla},
shorthand = {BCor},
}
@Book{Teixeira1583,
author = {Teixeira, frei José},
title = {De Portugalliae ortu, Regni initiis et denique de rebus à Regibus, vniuersoque Regno praeclare gestis, compendium},
year = {1583},
publisher = {apud Joannem Mettayer},
address = {Parisiis},
keywords = {sigla},
shorthand = {TP},
}
@Book{maffei1559commentariorum,
author = {Volaterrano, R.},
title = {Commentariorum urbanorum Raphaelis Volaterrani, octo et triginta libri, accuratius quam antehac excusi},
year = {1559},
publisher = {apud Frobenium et Episcopium},
url = {https://books.google.pt/books?id=QeaEVzCCoVcC},
address = {Basileae},
keywords = {sigla},
shorthand = {VCom},
}
@Book{ThorndikeLynn1949TSoS,
author = {Thorndike, Lynn and Sacro Bosco, Joannes de and Robertus and Scot, Michael and Cecco},
title = {The Sphere of Sacrobosco and its commentators},
year = {1949},
language = {lat;eng},
series = {Corpus of mediaeval scientific texts ; v. 2},
publisher = {University of Chicago Press},
address = {Chicago},
keywords = {Sacro Bosco, Joannes de, active 1230. Sphaera mundi -- Commentaries; Astronomy -- Early works to 1800; Science, Medieval -- sigla},
shorthand = {SacSph},
}
@Misc{itinerariumantonini1518,
title = {Pomponius Mela. Julius Solinus. Itinerarium Antonini Aug. Vibius Sequester. P. Victor de regionibus urbis Romae. Dionysius Afer de Situ orbis Prisciano interprete},
year = {1518},
address = {Venetiis},
chapter = {Itinerarium Antonini Augusti},
keywords = {Itinerarium Antonini (edição séc. XVI) -- Toponímia (latina) -- Império Romano -- sigla},
publisher = {in aedibus Aldi et Andreae soceri},
shorthand = {IA},
}
\end{filecontents}
\addbibresource{\jobname}
\begin{document}
\printbiblist[title={Lista de abreviaturas}]{shorthand}
\nocite{*}
\end{document}
答案1
至少在这个例子中,我看不出有什么理由使用稍微奇怪的样式组合,style=numeric,citestyle=authoryear,
特别是与一起使用时\DeclareFieldFormat{labelnumberwidth}{}\setlength{\biblabelsep}{3pt}
。style=numeric,
将强制使用数字样式的参考书目,其中引用标签(通常是数字)的自然对齐方式与不基于数字样式的列表中缩写的自然对齐方式不同。
style=authoryear,
在这个例子中,当您只使用默认设置并处理其余部分(即删除\DeclareFieldFormat{labelnumberwidth}{}
和\setlength{\biblabelsep}{3pt}
)时,事情看起来更加自然。
\documentclass{article}
\usepackage[
style=authoryear,
doi=false, url=false, isbn=false
]{biblatex}
\begin{filecontents*}{\jobname.bib}
@Book{barreiros1968chorographia,
author = {Barreiros, G.},
title = {Chorographia de alguns lugares [...]},
year = {1561},
publisher = {por Ioã Aluarez},
url = {https://books.google.pt/books?id=h3-RngEACAAJ},
address = {em Coimbra},
shorthand = {BCor},
}
@Book{Teixeira1583,
author = {Teixeira, frei José},
title = {De Portugalliae ortu, Regni initiis et denique de rebus à Regibus,
vniuersoque Regno praeclare gestis, compendium},
year = {1583},
publisher = {apud Joannem Mettayer},
address = {Parisiis},
shorthand = {TP},
}
@Book{maffei1559commentariorum,
author = {Volaterrano, R.},
title = {Commentariorum urbanorum Raphaelis Volaterrani,
octo et triginta libri, accuratius quam antehac excusi},
year = {1559},
publisher = {apud Frobenium et Episcopium},
url = {https://books.google.pt/books?id=QeaEVzCCoVcC},
address = {Basileae},
shorthand = {VCom},
}
@Book{ThorndikeLynn1949TSoS,
author = {Thorndike, Lynn and Sacro Bosco, Joannes de and Robertus
and Scot, Michael and Cecco},
title = {The Sphere of Sacrobosco and its commentators},
year = {1949},
language = {lat;eng},
series = {Corpus of mediaeval scientific texts ; v. 2},
publisher = {University of Chicago Press},
address = {Chicago},
shorthand = {SacSph},
}
@Misc{itinerariumantonini1518,
title = {Pomponius Mela. Julius Solinus.
Itinerarium Antonini Aug. Vibius Sequester.
P. Victor de regionibus urbis Romae.
Dionysius Afer de Situ orbis Prisciano interprete},
year = {1518},
address = {Venetiis},
chapter = {Itinerarium Antonini Augusti},
publisher = {in aedibus Aldi et Andreae soceri},
shorthand = {IA},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
\printbiblist[title={Lista de abreviaturas}]{shorthand}
\nocite{*}
\end{document}