Re: [NTG-context] Lettrine in ConTeXt
Hi Taco! It works perfectly! Thank you. Marcus Vinicius --- Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > The problem is that FontHook has to redefine the > font synonym > 'LettrineFont'. You have to do it like this: > >\unexpanded\def\myfonthook > {\definefontsynonym[LettrineFont][SerifBold]} > >\setuplettrine[Lines=3,TextFont=\it, > FontHook=\myfonthook, > Findent=0pt,Nindent=0pt] > > Greetings, Taco > > (I'll send a new zip with included documentation > to Patrick soon) > __ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Lettrine in ConTeXt
The problem is that FontHook has to redefine the font synonym 'LettrineFont'. You have to do it like this: \unexpanded\def\myfonthook {\definefontsynonym[LettrineFont][SerifBold]} \setuplettrine[Lines=3,TextFont=\it, FontHook=\myfonthook, Findent=0pt,Nindent=0pt] Greetings, Taco (I'll send a new zip with included documentation to Patrick soon) Marcus Vinicius Mesquita de Sousa wrote: Hi ConTeXters! I played a little with Taco's implementation of Lettrine and it worked nice, but the capital letter is always in CMR10. The option TextFont works fine, and one can change the font that comes after the dropped cap with commands like \sc (default), \it, \sl or \bf, but the option FontHook, which changes the font of the capital, doesn't seem to work when one uses, for example, . Did I miss something? Marcus Vinicius __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Lettrine in ConTeXt
Hi ConTeXters! I played a little with Taco's implementation of Lettrine and it worked nice, but the capital letter is always in CMR10. The option TextFont works fine, and one can change the font that comes after the dropped cap with commands like \sc (default), \it, \sl or \bf, but the option FontHook, which changes the font of the capital, doesn't seem to work when one uses, for example, \setuplettrine[Lines=3,TextFont=\it,FontHook=\bf,Findent=0pt,Nindent=0pt] . Did I miss something? Marcus Vinicius __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context