Superscript Citation References
Hi, I would like to cite bibliography references using a superscript font. Here is the setup: \setupbibtex[database=sources] \setuppublications[ refcommand=num, numbering=yes ] \setupcite[num][ left=\empty, right=\empty, ] \starttext Citation.\cite[kattamuri@debate] \stoptext Here is an example entry in 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}, } I tried the following: \setupcite[num][ left=\empty, right=\empty, textstyle=\textsuperscript, ] It did not work... Any ideas? Thank you!
On 2014-08-06, 23:54, Thangalin wrote:
I would like to cite bibliography references using a superscript font.
The attached example is a hack using an \hbox nested inside a math superscript. It doesn't work with the text superscript command (\high) for some reason. Kind regards, Joshua \setupbibtex [database=sources] \setuppublications[ refcommand=num, numbering=yes ] \setupcite[num][ left={$^\bgroup\hbox\bgroup\tfx }, right={\egroup\egroup$}, ] \starttext Word\cite[kattamuri@debate] Word \stoptext
Am 07.08.2014 um 15:47 schrieb Joshua Krämer
On 2014-08-06, 23:54, Thangalin wrote:
I would like to cite bibliography references using a superscript font.
The attached example is a hack using an \hbox nested inside a math superscript. It doesn't work with the text superscript command (\high) for some reason.
The \high command takes the text as argument and this works only with a \textcomand etc. key but there is nothing like this for the reference. A alternative to the math mode to raise the number is the \raisebox command which can be used to shift the text without misusing math.
Kind regards, Joshua
\setupbibtex [database=sources]
\setuppublications[ refcommand=num, numbering=yes ]
\setupcite[num][ left={$^\bgroup\hbox\bgroup\tfx }, right={\egroup\egroup$}, ]
\setupcite [num] [ left=\raisebox{1ex}\hbox\bgroup\tfx, right=\egroup] Wolfgang
participants (3)
-
Joshua Krämer
-
Thangalin
-
Wolfgang Schuster