Hi, I would like to style the \at labels: define a custom font for them and make them superscript. What is the best way to achieve this? Thanks, Alex
Am 15.08.2011 um 16:04 schrieb Alexandre Leray:
Hi,
I would like to style the \at labels: define a custom font for them and make them superscript. What is the best way to achieve this?
You have to define your own command: \startsetups reference:c \high{\getreferenceentry{page}} \stopsetups \definereferenceformat[refa][type=page] \definereferenceformat[refb][type=page,style=italic] \definereferenceformat[refc][setups=reference:c,color=red] \starttext \pagereference[test] \startlines A:\refa[test] B:\refb[test] C:\refc[test] \stoplines \stoptext Wolfgang
Thanks, it works perfectly with the latest revision of context! Le lun. 15 août 2011 16:17:40 CEST, Wolfgang Schuster a écrit :
Am 15.08.2011 um 16:04 schrieb Alexandre Leray:
Hi,
I would like to style the \at labels: define a custom font for them and make them superscript. What is the best way to achieve this?
You have to define your own command:
\startsetups reference:c \high{\getreferenceentry{page}} \stopsetups
\definereferenceformat[refa][type=page] \definereferenceformat[refb][type=page,style=italic] \definereferenceformat[refc][setups=reference:c,color=red]
\starttext
\pagereference[test]
\startlines A:\refa[test] B:\refb[test] C:\refc[test] \stoplines
\stoptext
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 ___________________________________________________________________________________
-- <stdin> Alexandre Leray & Stéphanie Vilayphiou http://stdin.fr/ +32 (0)4 89 00 88 59
participants (3)
-
Alexandre Leray
-
stdin
-
Wolfgang Schuster