我有一本用tufte-book
类编写的书,其中大多数引用都以旁注的形式给出,且引用编号默认为上标。但有些地方我希望引用编号出现在方括号中,尤其是从其他来源转载的某些图表的标题中。但是,我不知道如何实现这一点,我能做的最接近的就是使用\citep
带有 的命令\setcitestyle{numbers,square}
。问题是,它没有将引用包含在旁注中,也可能无法正确调整引用计数器。但是引用确实出现在参考文献页中。我想要的是,对于文中方括号中的引用编号,我希望这些数字能够与引用文本一起以上标形式出现在旁注中。
\documentclass{tufte-book}
% Citations and references
\usepackage{natbib}
\usepackage{bibentry}
\renewcommand{\bibname}{References}
\renewcommand{\bibname}{References}
\setcitestyle{numbers, sort}
\setcitestyle{square}
\begin{filecontents}{a.bib}
@article{HapticsSurvey,
author = {Bermejo, Carlos and Hui, Pan},
date-added = {2023-09-10 19:00:06 -0700},
date-modified = {2023-09-10 19:00:06 -0700},
journal = {ACM Computing Surveys (CSUR)},
number = {9},
pages = {1--35},
publisher = {ACM New York, NY},
title = {A survey on haptic technologies for mobile augmented reality},
volume = {54},
year = {2021}}
@article{PulfrichThreshold,
author = {Durai, C Vijay Reena and Rajendran, Siddhart and Webster, Michael A and Vempati, Sandeep and Bharadwaj, Shrikant R},
date-added = {2023-09-10 12:48:28 -0700},
date-modified = {2023-09-10 12:48:28 -0700},
journal = {Vision research},
pages = {85--93},
publisher = {Elsevier},
title = {The magnitude of monocular light attenuation required to elicit the Pulfrich illusion},
volume = {187},
year = {2021}}
@book{PalmerRadiometry,
author = {Palmer, James M and Grant, Barbara Geri},
date-added = {2023-09-10 11:13:21 -0700},
date-modified = {2023-09-10 11:13:21 -0700},
publisher = {SPIE press Bellingham},
title = {The art of radiometry},
year = {2010}}
\end{filecontents}
\begin{document}
This is first line. \cite{HapticsSurvey}
This is second line. \citep{PulfrichThreshold}
This is third line. \cite{PalmerRadiometry}
\bibliographystyle{customv7}
\bibliography{a}
\end{document}