Am 07.08.2014 um 15:47 schrieb Joshua Krämer <joshua.krae...@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
___________________________________________________________________________________

Reply via email to