![在 tufte-book 中使用混合引文編號樣式](https://rvso.com/image/472709/%E5%9C%A8%20tufte-book%20%E4%B8%AD%E4%BD%BF%E7%94%A8%E6%B7%B7%E5%90%88%E5%BC%95%E6%96%87%E7%B7%A8%E8%99%9F%E6%A8%A3%E5%BC%8F.png)
我有一本使用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}