On 2/20/23 15:30, G.C.H.M. Verhaag via ntg-context wrote: > Hi, > > Yes Hraban that worked! Thanks! > > My next issue is adapting the font-family, because a want to use the > *Antykwa-Poltawskiego* font|| as my initial. I tried the following: > > *\definefont[InitialCapFont][name:antpoltcondregular*default sa 4]* > *\setupinitial[color=MyColor,distance=6pt,n=3,font=InitialCapFont]* > > Has anybody any idea why this doesn't work?
Hi Geert, this works for me: \definefont[InitialCapFont][name:antpoltcondregular*default sa 4] %\setupinitial[style={\switchtobodyfont[helvetica]}] \setupinitial[color=red,distance=6pt,n=3, style=\InitialCapFont] \starttext \setinitial\input zapf \stoptext BTW, I think there is an issue (that might be a bug), when either style or font are in use, size is not automatically adapted. Could anyone confirm with the commented line? Many thanks for your help, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________