Andreas Harder wrote:
Hi all,
I'm trying to set the superscript-fontfeature for footnote-numbers, but there isn't a '(text)numberstyle'-command, so what's the way to achieve this?
So far I've this:
\starttypescript [serif] [linlibertine] \definefontsynonym [Serif] [LinLibertine-Regular] [features=default] \stoptypescript
\starttypescript [serif] [linlibertine] \definefontsynonym [LinLibertine-Regular] [name:linuxlibertineo] [features=default] \stoptypescript
\starttypescript [linlibertine] \definetypeface [linlibertine] [rm] [serif] [linlibertine] [default] \stoptypescript
\definefontfeature[sups][sups=yes]
\usetypescript[linlibertine] \setupbodyfont[linlibertine]
% \defineconversion[sups][\red\setff{sups}\arabicnumerals] \definestructureconversionset[sups][][Romannumerals]
\setupnote [footnote] [command=\myfootnotecommand, % numberconversionset=sups, % textnumberstyle=\setff{sups}, % would be nice ]
\def\myfootnotecommand#1{\hbox to .5em{\setff{sups}#1}}
\starttext \dorecurse{12}{This\footnote{Hello World #1} is a test. } \stoptext
I need to look into the numberstyle comand as well as some duplicate command being applied but here is a test \setupnote [footnote] [command=Z, style=X, textstyle=Q, numbercommand=N\setff{sups}, textcommand=T\setff{sups}, numberstyle=S\setff{sups}, %style=\setff{sups}, % interesting effect ] for the moment stick to \setupnote [footnote] [command=, textstyle=, numbercommand=\setff{sups}, textcommand=\setff{sups}] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------