我正在使用\documentclass{tufte-book}
,但我遇到了一个问题侧面引用太冗长。
有时在写作时,用一两句话快速引用几部作品是很有用的。tufte-latex
将整个参考书目条目放在页边空白处(以及参考书目部分),但这很快就会填满整个页面的页边空白,从而阻止使用该页面上其他内容的页边空白注释。
我想调整tufte-latex
边注引文,使其显示引文的最小版本,但保留参考书目中的完整引文。例如,下面的最小工作示例包括引文
Quoc Phong Nguyen、Bryan Kian Hsiang Low 和 Patrick Jail-let。具有局部一致奖励函数的逆向强化学习。《神经信息处理系统进展》第 28 卷,第 1747-1755 页,加拿大魁北克省蒙特利尔,2015 年。Curran Associates, Inc.
一个合理的折衷方案是,如果边注引用列出第一作者的姓氏,然后列出“et al.”以表示任何未来的作者,然后列出标题和年份。因此,上述内容将变成;
Nguyen 等人,具有局部一致奖励函数的逆强化学习,2015 年。
感兴趣的读者可以查阅参考书目,找到出版商、出版地点、页码和/或位置&C。
最小工作示例;
\documentclass{tufte-book}
\title{Smaller tufte-latex side-citations}
\usepackage{lipsum} % for dummy text only
\begin{document}
Hello, Tufte-Latex.
\lipsum[1]
Here is a paragraph in the middle of the page.
Donec varius orci egetrisus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum varius\cite{Sosic2018}, egetrisus\cite{Nguyen2015}, and congue eu, accumsan eleifend-\cite{Henderson2018} or diam\cite{Ranchod2015} rutrum.
Donec varius orci egetrisus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.
\lipsum[2-3]
\bibliography{test}
\bibliographystyle{plainnat}
\end{document}
@inproceedings{Sosic2018,
title = {Inverse {{Reinforcement Learning}} via {{Nonparametric Subgoal Modeling}}},
booktitle = {2018 {{AAAI Spring Symposium Series}}},
author = {{\v S}o{\v s}i{\'c}, Adrian and Zoubir, Abdelhak M. and Koeppl, Heinz},
year = {2018},
pages = {344--350},
publisher = {{AAAI Press, Palo Alto, California USA}},
address = {{Palo Alto, California, USA}},
}
@inproceedings{Nguyen2015,
title = {Inverse {{Reinforcement Learning}} with {{Locally Consistent Reward Functions}}},
booktitle = {Advances in {{Neural Information Processing Systems}} 28},
author = {Nguyen, Quoc Phong and Low, Bryan Kian Hsiang and Jaillet, Patrick},
year = {2015},
pages = {1747--1755},
publisher = {{Curran Associates, Inc.}},
address = {{Montr\'eal, Quebec, Canada}},
}
@inproceedings{Henderson2018,
title = {{{OptionGAN}}: {{Learning Joint Reward}}-{{Policy Options Using Generative Adversarial Inverse Reinforcement Learning}}},
shorttitle = {Optiongan},
booktitle = {Thirty-{{Second AAAI Conference}} on {{Artificial Intelligence}}},
author = {Henderson, Peter and Chang, Wei-Di and Bacon, Pierre-Luc and Meger, David and Pineau, Joelle and Precup, Doina},
year = {2018},
pages = {3199--3206},
publisher = {{AAAI Press, Palo Alto, California USA}},
}
@inproceedings{Ranchod2015,
title = {Nonparametric {{Bayesian Reward Segmentation}} for {{Skill Discovery Using Inverse Reinforcement Learning}}},
booktitle = {2015 {{IEEE}}/{{RSJ International Conference}} on {{Intelligent Robots}} and {{Systems}} ({{IROS}})},
author = {Ranchod, Pravesh and Rosman, Benjamin and Konidaris, George},
year = {2015},
pages = {471--477},
publisher = {{IEEE}},
address = {{Hamburg, Germany}},
doi = {10.1109/IROS.2015.7353414},
isbn = {978-1-4799-9994-1},
language = {en}
}
- 是否可以这样配置
tufte-book
,使得侧面引用的格式与参考书目引用的格式不同? - 如果没有,我该如何修改文件
tufte-book
来实现这一点?非常感谢指向源代码中的位置的指针。
谢谢你!
答案1
您可以使用AtEveryCitekey
从侧引文中删除不需要的字段。例如:
\AtEveryCitekey{%
\clearfield{url}%
\clearfield{address}%
\clearfield{issn}%
\clearfield{doi}%
}
为了缩短引文,可以更轻松地更改citestyle
选项比布拉特克斯。
\documentclass[nobib]{tufte-book} % no bib
\usepackage[
style=verbose, % style for the bibliography section
citestyle=authortitle, % pick your style here for sidenotes
autocite=footnote
]{biblatex}
\addbibresource{myfile.bib}
\begin{document}
% your document ...
\printbibliography
\end{document}