Thanks
sorry for incomplete example the code below shows the problem better: \setupinteraction[state=start] \definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand={\tfa \raise 0.2ex\hbox}, ]
\definefont[highfont][name:ibmplexsansbold*default at 10pt] \definehighlight[newhigh][color=darkblue,style=highfont]
\starttext \input{knuth} \Mynote{refrence}
\startitemize \item \newhigh{\input{knuth}\Mynote{refrenceTwo}} \stopitemize
\placenotes[Mynote] \stoptext
as you can see the note number has same style all over the document. but i want it to have style base on current font and if the font changes, the style should change, while maintaining the ratio of sizes(i.e., at the half of current font). i attached the resulted pdf
On Sat, Jun 8, 2024 at 10:04 AM vm via ntg-context ntg-context@ntg.nl wrote:
On 08/06/2024 13:16, seyal.zavira@gmail.com wrote:
\definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand= \scale [height=0.7ex] \raise 0.2ex\hbox, ] \starttext hello \Mynote{refrence} \placenotes[Mynote] \stoptext
add {} this works:
\setupnote[Mnote] [location=left, textcommand={\scale[height=0.7ex] \raise 0.2ex\hbox}, ]
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net