背景
我想使用上标引用参考书目。
例子
到目前为止的设置代码:
\setupbibtex[database=sources]
\setuppublications[
refcommand=num,
numbering=yes
]
\setupcite[num][
left=\empty,
right=\empty,
]
参考书目条目sources.bib
:
@inproceedings{kattamuri@debate,
author = {Kattamuri, Kishore and Silaghi, Marius and Kaner, Cem and Stansifer, Ryan and Zanker, Markus},
title = {Supporting Debates over Citizen Initiatives},
booktitle = {Proceedings of the 2005 National Conference on Digital Government Research},
series = {dg.o '05},
year = {2005},
location = {Atlanta, Georgia},
pages = {279--280},
numpages = {2},
url = {https://repository.lib.fit.edu/bitstream/handle/11141/150/cs-2005-03.pdf},
acmid = {1065321},
publisher = {Digital Government Society of North America},
}
示例文档:
\starttext
Citation.\cite[kattamuri@debate]
\stoptext
问题
似乎没有办法让引文数字上标。我试过:
\setupcite[num][
left=\empty,
right=\empty,
textstyle=\textsuperscript,
]
我查看了一下bibl-bib.mkiv
,bibl-tra.mkiv
但不知道该如何连接到引用宏。我发现了它,\bibtexnumref
并认为它可能有用:
\def\bibtexnumref[#1]%
{\dontleavehmode
\begingroup
\bibtexcitationparameter\v!left
\penalty\plustenthousand
\ctxlua{bibtex.hacks.resolve("","\number\bibtexblock","#1")}%
\bibtexcitationparameter\v!right
\endgroup}
问题
ConTeXt 如何生成上标引用数字?
有关的
相关 LaTeX 问题:
答案1
来自邮件列表(由 Wolfgang Schuster 提供):
% Superscript citation cross-references.
\setupcite[num][
left=\raisebox{1ex}\hbox\bgroup\tfxx,
right=\egroup,
]