我尽我所能地遵循了此链接中提供的解决方案:我可以将 biblatex 与 Tufte 课程一起使用吗?
但是,我仍然无法让边注正确显示在页边距中。这是我的 MWE:
\RequirePackage[l2tabu, orthodox]{nag}
\RequirePackage[hyphens]{url}
\documentclass[a4paper,twoside,nobib]{tufte-book}
\hypersetup{colorlinks, citecolor=blue}
\usepackage{hyphenat}
\usepackage{xpatch}
\usepackage[T5,T1]{fontenc}
\usepackage[english]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage[
style=verbose,
autocite=footnote,
sorting=nty,
citecounter=true,
citetracker=true,
backref=true,
backend=biber
]{biblatex}
\addbibresource{HSFSS-BIBLATEX.bib}
\newcommand{\openepigraph}[2]{%
\begin{fullwidth}
\sffamily\small
\begin{doublespace}
\noindent\allcaps{#1}\\% epigraph
\noindent\allcaps{#2}% author
\end{doublespace}
\end{fullwidth}
}%
\begin{document}
\openepigraph{
Is England and nowhere. Never and always.
}{—T.S. Eliot\autocite{TSEliot}
}
\vfill
\openepigraph{
The Sky is blue.
}{—Author\autocite{Tufte2001}}
\printbibliography
\end{document}
这是我的.bib 文件:
@MISC{tseliot,
author = {Eltiot, T. S.},
title = {\textit{Four Quartets}{ | Quartet No. 4: Little Gidding}},
date = {},
note = {December 2013 [Accessed 27 January 2022]},
howpublished = {\url{http://davidgorman.com/4quartets/4-gidding.htm}}
}
@BOOK{Tufte2001,
author = {Edward R. Tufte},
title = {The Visual Display of Quantitative Information},
publisher = {Graphics Press},
year = {2001},
address = {Cheshire, Connecticut},
isbn = {0-9613921-4-2}
}
答案1
修改后的定义\openepigraph
\openepigraph{<epigraph>}{<author>}{\autocite{<to author work>}}
% !TeX TS-program = pdflatex
\RequirePackage[l2tabu, orthodox]{nag}
\RequirePackage[hyphens]{url}
\documentclass[a4paper,twoside,nobib]{tufte-book}
\usepackage{hyphenat}
\usepackage{xpatch}
\usepackage[T5,T1]{fontenc}
\usepackage[english]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage[
style=verbose,
autocite=footnote,
sorting=nty,
citecounter=true,
citetracker=true,
backref=true,
backend=biber
]{biblatex}
\addbibresource{HSFSS-BIBLATEX.bib}
\begin{filecontents}[overwrite]{HSFSS-BIBLATEX.bib}
@MISC{tseliot,
author = {Eltiot, T. S.},
title = {\textit{Four Quartets}{ | Quartet No. 4: Little Gidding}},
date = {},
note = {December 2013 [Accessed 27 January 2022]},
howpublished = {\url{http://davidgorman.com/4quartets/4-gidding.htm}}
}
@BOOK{Tufte2001,
author = {Edward R. Tufte},
title = {The Visual Display of Quantitative Information},
publisher = {Graphics Press},
year = {2001},
address = {Cheshire, Connecticut},
isbn = {0-9613921-4-2}
}
@book{knuth97,
address = {Reading, Mass.},
author = {Knuth, Donald E.},
edition = {Third},
isbn = {0201896834 9780201896831},
publisher = {Addison-Wesley},
title = {The Art of Computer Programming, Vol. 1: Fundamental Algorithms},
year = {1997}
}
\end{filecontents}
\newcommand{\openepigraph}[3]{% changed <<<<<<<<<<<<<<<<<<<<<<<<<<<<
\begin{fullwidth}
\sffamily\large
\begin{doublespace}
\noindent\allcaps{#1}\\% epigraph
\noindent\allcaps{#2}#3% author & autocite
\end{doublespace}%
\end{fullwidth}
}
\begin{document}
\thispagestyle{empty}
\openepigraph{Is England and nowhere. Never and always.}{---T.S. Eliot}{\autocite{tseliot}}
\vfill
\openepigraph{The Sky is blue.}{---Author}{\autocite{Tufte2001}}
\vfill
\openepigraph{%
\ldots the designer of a new system must not only be the implementor and the first
large-scale user; the designer should also write the first user manual\ldots
If I had not participated fully in all these activities,
literally hundreds of improvements would never have been made,
because I would never have thought of them or perceived
why they were important.
}{---Donald E. Knuth}{\autocite{knuth97}}
\printbibliography
\end{document}