From: "Mats Broberg" <mats.broberg@chello.se>
Subject: RE: lettrine.sty, but not LaTeX
Date: Fri, 25 Feb 2005 20:19:19 +0100 [thread overview]
Message-ID: <000501c51b6e$e7790df0$cbddd850@DJCPX90J> (raw)
In-Reply-To: <421F7285.4090104@elvenkind.com>
Dear listmembers,
I am not quite yet a ConTeXt user (struggling with the installation),
but having a background as typographer, graphic designer, and printer, I
feel that the lettrine.sty package could serve very well as a model for
something similar in ConTeXt.
At any rate, in order to produce high quality intitials, a ConTeXt
equivalent should not have any less parameters than lettrine.sty.
To re-cap the parameters in lettrine.sty:
==============================================================
- lines=<integer> sets how many lines the dropped capital will occupy
(default=2);
- lhang=<decimal> (0 < lhang =< 1) sets how much of the dropped
capitals width should hang into the margin (default=0);
- loversize=<decimal> (-1 < loversize =< 1) enlarges the dropped
capitals height: with loversize=0.1 its height is enlarged by 10% so
that it raises above the top paragraphs line (default=0);
- lraise=<decimal> does not affect the dropped capitals height, but
moves it up (if positive), down (if negative); useful with capitals like
J or Q which have a positive depth, (default=0);
- findent=<dimen> (positive or negative) controls the horizontal gap
between the dropped capital and the indented block of text
(default=0pt);
- nindent=<dimen> shifts all indented lines, starting from the second
one, horizontally by <dimen> (this shift is relative to the first line,
default=0.5em);
- slope=<dimen> can be used with dropped capitals like A or V to add
<dimen> (positive or negative) to the indentation of each line starting
from the third one (no e
ect if lines=2, default=0pt);
- ante=<text> can be used to typeset <text> before the dropped capital
(typical use is for French guillemets starting the paragraph);
- image=<true> (new to version 1.6) will force \lettrine to replace the
letter normally used as dropped capital by an image in eps format
(latex) or in pdf, jpg, etc. format (pdflatex); this needs the graphicx
package to be loaded in the preamble of course.
\lettrine[image=true]{A}{n exemple} or just \lettrine[image]{A}{n
exemple} will load A.eps or A.pdf instead of letter A. This was
suggested by Bill Jetzer. Redefining \LettrineFont as \LettrineFontEPS
still works for compatibility but is deprecated.
==============================================================
Also, sometimes one wants to indent all indented lines to the same
position (instead of intenting the first line less) and this should
ideally be possible too.
Plus setting a specific color for the initial, but that is handled by
ConTeXt's standard features (I guess).
Best regards,
Mats Broberg
> Ah ok, I see. No you cannot do that with DroppedCaps, as is.
>
> Will post something later ...
>
> Taco
>
> Peter Münster wrote:
> > On Fri, 25 Feb 2005, Taco Hoekwater wrote:
> >
> >
> >>Probably, but .. I do not know what it is that lettrine does that
> >>\DroppedCaps does not do.
> >
> >
> > Hello Taco,
> > could you please give an example how to do the same with
> \DroppedCaps,
> > what is shown on page 30 of
> > http://pmrb.free.fr/work/cours/latex-intro.pdf ? Peter
next prev parent reply other threads:[~2005-02-25 19:19 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-25 12:29 Gerben Wierda
2005-02-25 13:41 ` Taco Hoekwater
2005-02-25 17:51 ` Peter Münster
2005-02-25 18:46 ` Taco Hoekwater
2005-02-25 19:19 ` Mats Broberg [this message]
2005-02-25 20:16 ` Hans Hagen
2005-02-25 21:04 ` Taco Hoekwater
2005-02-25 22:00 ` VnPenguin
2005-02-25 22:28 ` Taco Hoekwater
2005-02-25 22:52 ` David Wooten
2005-02-26 10:23 ` Taco Hoekwater
2005-02-26 13:10 ` Gerben Wierda
2005-02-26 16:26 ` Taco Hoekwater
2005-02-26 17:08 ` lack of hyphenation Ciro A. Soto
2005-02-26 17:34 ` Taco Hoekwater
2005-02-26 20:06 ` Ciro A. Soto
2005-02-26 21:32 ` 4UP with no table of content - bug? Ciro A. Soto
2005-02-27 11:48 ` h h extern
2005-02-26 21:50 ` lack of hyphenation Taco Hoekwater
2005-02-26 22:26 ` Patrick Gundlach
2005-02-27 7:45 ` Ciro A. Soto
2005-02-27 9:57 ` Taco Hoekwater
2005-02-27 11:35 ` h h extern
2005-03-19 17:40 ` Patrick Gundlach
2005-02-26 17:34 ` Mats Broberg
2005-02-27 11:21 ` h h extern
2005-02-27 11:33 ` Patrick Gundlach
2005-02-27 11:40 ` Taco Hoekwater
2005-02-27 19:55 ` h h extern
2005-02-28 19:54 ` Mats Broberg
2005-02-28 20:08 ` Mikael Persson
2005-02-28 20:40 ` Mats Broberg
2005-02-28 20:37 ` h h extern
2005-03-02 19:05 ` Mats Broberg
2005-03-03 7:19 ` Hans Hagen
2005-02-27 13:13 ` Mats Broberg
2005-02-26 17:22 ` lettrine.sty, but not LaTeX Peter Münster
2005-02-27 11:01 ` packaging of extra modules Taco Hoekwater
2005-02-27 18:21 ` lettrine.sty, but not LaTeX h h extern
2005-02-27 11:06 ` h h extern
2005-02-27 14:29 ` Taco Hoekwater
2005-02-27 15:59 ` Mats Broberg
2005-02-28 9:34 ` Taco Hoekwater
2005-03-01 19:33 ` VnPenguin
2005-03-01 19:41 ` VnPenguin
2005-03-01 20:02 ` Taco Hoekwater
2005-03-01 22:37 ` Ciro A. Soto
2005-03-01 23:03 ` Mats Broberg
2005-03-01 23:44 ` VnPenguin
2005-03-02 19:08 ` Mats Broberg
2005-03-02 19:50 ` Willi Egger
2005-03-02 20:34 ` Hans Hagen
2005-03-02 23:42 ` Ciro A. Soto
2005-03-03 7:09 ` Hans Hagen
2005-03-10 20:04 ` Gerben Wierda
2005-03-10 20:11 ` Gerben Wierda
2005-03-02 19:06 ` Mats Broberg
2005-02-27 10:13 ` h h extern
2005-02-27 10:51 ` Taco Hoekwater
2005-02-27 10:51 ` Mats Broberg
2005-02-27 11:02 ` Adam Lindsay
2005-02-25 15:29 ` Python,swig and pdftex ? luigi.scarso
2005-02-26 11:03 ` Janko Hauser
2005-02-28 6:49 ` luigi.scarso
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='000501c51b6e$e7790df0$cbddd850@DJCPX90J' \
--to=mats.broberg@chello.se \
--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).