ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Lettrine in ConTeXt
Date: Mon, 30 May 2005 12:18:05 +0200	[thread overview]
Message-ID: <429AE85D.70608@elvenkind.com> (raw)
In-Reply-To: <20050529230048.5488.qmail@web42107.mail.yahoo.com>


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

  reply	other threads:[~2005-05-30 10:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29 23:00 Marcus Vinicius Mesquita de Sousa
2005-05-30 10:18 ` Taco Hoekwater [this message]
2005-05-30 11:49   ` Patrick Gundlach
2005-05-30 11:06 Marcus Vinicius Mesquita de Sousa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429AE85D.70608@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).