From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>, hraban@fiee.net
Subject: Re: Initials / DroppedCaps
Date: Tue, 13 Dec 2011 07:15:49 -0700 [thread overview]
Message-ID: <op.v6flwnzcpw6hmh@ishamid-pc> (raw)
In-Reply-To: <4EE74731.4030507@wxs.nl>
On Tue, 13 Dec 2011 05:38:09 -0700, Hans Hagen <pragma@wxs.nl> wrote:
>
> On 13-12-2011 13:08, Henning Hraban Ramm wrote:
>> For a book of fairy tales, I used (working!):
> > ...
>> So, what’s the preferred way to get dropped capitals / initials?
>> I’d like to wikify that, since it seems nowhere documented.
>
> Initials have been rewritten (they also no longer pick up an argument
> which is more robust). The old macros will probably be removed (or end
> up in a module).
>
> \setupinitial[font=Bold at 48pt,state=start]
>
> \starttext
>
> \placeinitial \input tufte
>
> \placeinitial \input ward
>
> \stoptext
Hmm, I did not realize that dropped caps were still supported in MkIV base
so I've been using
\usemodule[lettrine]
which also lets you set not only dropped caps but the next couple of words
or so in another font -- such as small caps.
Hans: Does the \setupinitial also allow to set the words immediately after
in \sc etc?
Henning: Maybe you can try lettrines as well and compare them, see which
works best for what you're trying to do ... Here is a sample for you to
play with
===========
\usemodule[lettrine]
\def \LettrineStyle{\definefontsynonym[LettrineFont][Italic]}
\setuplettrine
[A][Lines=2,Findent=0.2em,Nindent=0.01em,FontHook={\LettrineStyle}]
\setuplettrine
[T][Lines=2,Findent=0.35em,Nindent=0.01em,FontHook={\LettrineStyle},Hang=.25]
\setuplettrine
[I][Lines=2,Findent=0.3em,Nindent=0.01em,FontHook={\LettrineStyle},Hang=.25]
\setuplettrine
[O][Lines=2,Findent=0.2em,Nindent=0.01em,FontHook={\LettrineStyle}]
\setuplettrine
[C][Lines=2,Findent=0.3em,Nindent=0.01em,FontHook={\LettrineStyle}]
\setuplettrine
[W][Lines=2,Findent=0.3em,Nindent=0.01em,FontHook={\LettrineStyle},Hang=.34]
\starttext
\lettrine{A}{fter the three} \input ward
\stoptext
===========
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-12-13 14:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-13 12:08 Henning Hraban Ramm
2011-12-13 12:28 ` Wolfgang Schuster
2011-12-13 13:17 ` Henning Hraban Ramm
2011-12-13 13:22 ` Wolfgang Schuster
2011-12-13 13:42 ` Henning Hraban Ramm
2011-12-13 13:50 ` Wolfgang Schuster
2011-12-13 15:34 ` Henning Hraban Ramm
2011-12-13 12:38 ` Hans Hagen
2011-12-13 14:15 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
2011-12-13 14:35 ` Hans Hagen
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=op.v6flwnzcpw6hmh@ishamid-pc \
--to=ishamid@colostate.edu \
--cc=hraban@fiee.net \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).