* Superscript Citation References
@ 2014-08-07 6:54 Thangalin
2014-08-07 13:47 ` Joshua Krämer
0 siblings, 1 reply; 3+ messages in thread
From: Thangalin @ 2014-08-07 6:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
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!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Superscript Citation References
2014-08-07 6:54 Superscript Citation References Thangalin
@ 2014-08-07 13:47 ` Joshua Krämer
2014-08-08 6:53 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Krämer @ 2014-08-07 13:47 UTC (permalink / raw)
To: ntg-context-wvrSQK3plZs
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context-wvrSQK3plZs@public.gmane.org / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Superscript Citation References
2014-08-07 13:47 ` Joshua Krämer
@ 2014-08-08 6:53 ` Wolfgang Schuster
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2014-08-08 6:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 07.08.2014 um 15:47 schrieb Joshua Krämer <joshua.kraemer@gmail.com>:
> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-08 6:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 6:54 Superscript Citation References Thangalin
2014-08-07 13:47 ` Joshua Krämer
2014-08-08 6:53 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).