ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* two drop caps questions
@ 2001-04-22 12:35 James H. Cloos Jr.
  2001-04-23 16:40 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: James H. Cloos Jr. @ 2001-04-22 12:35 UTC (permalink / raw)


I saw an interesting variation on dropped caps recently (in
McCaffrey's latest, {\em The Skies of Pern}).  The capheight
of the dropped cap is about 2.5 times \baselineskip with its
baseline matching the second row of text's baseline.

(Some of the) sections w/in a chapter have a 'dropped cap'
which isn't dropped;  its capheight is about twice the text
font's capheight and its baseline matches the first line of
text.

The latter is of course quite easy to do.  Am I correct that
the former can be done a la NiceDroppedCaps but with voffset
set baselineskip smaller than NiceDroppedCaps sets it?  Or
should height be be adjusted instead?

For the second question, given:

\def\DC%
        {\NiceDroppedCaps{}{FontName}{0pt}{3}}

what needs to change so that something like:

\DC
\quotation{This chapter starts with some dialog,} he said.

does the right thing, just like this does:

\DC
This chapter starts with some dialog,'' he said.

Can it be done at all w/o changing the definition of \quotation,
\quote et al?  Would it be easier to make this work:

\DC
``This chapter starts with some dialog,'' he said.

-JimC
-- 
James H. Cloos, Jr.  <http://jhcloos.com/public_key>     1024D/ED7DAEA6 
<cloos@jhcloos.com>  E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: two drop caps questions
  2001-04-22 12:35 two drop caps questions James H. Cloos Jr.
@ 2001-04-23 16:40 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-04-23 16:40 UTC (permalink / raw)
  Cc: ntg-context

At 07:35 AM 4/22/01 -0500, James H. Cloos Jr. wrote:
>I saw an interesting variation on dropped caps recently (in
>McCaffrey's latest, {\em The Skies of Pern}).  The capheight
>of the dropped cap is about 2.5 times \baselineskip with its
>baseline matching the second row of text's baseline.
>
>(Some of the) sections w/in a chapter have a 'dropped cap'
>which isn't dropped;  its capheight is about twice the text
>font's capheight and its baseline matches the first line of
>text.
>
>The latter is of course quite easy to do.  Am I correct that
>the former can be done a la NiceDroppedCaps but with voffset
>set baselineskip smaller than NiceDroppedCaps sets it?  Or
>should height be be adjusted instead?

right, just play with the values until you get what you want, since this is
also dependent of the font. 

>For the second question, given:
>
>\def\DC%
>        {\NiceDroppedCaps{}{FontName}{0pt}{3}}
>
>what needs to change so that something like:

\DC is not a good choice since this is a tables command. 

>\DC
>\quotation{This chapter starts with some dialog,} he said.

not that easy. For instance, 

\def\DroppedString{ABCDEFGHIJKLMNOPQRSTUVWXYZ\XXX}

\def\XXX{``} \def\YYY{\NiceDroppedCaps{}{cmr10}{0pt}{3}}

\EveryPar{\YYY}

\noindent \XXX Bla bla bla bla bla''\input tufte

will work, but this too ugly an hack to use isn't it? 

>\DC
>``This chapter starts with some dialog,'' he said.

not sure, since '' is actually a ligature. I'll add it to the todo list. 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-23 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-22 12:35 two drop caps questions James H. Cloos Jr.
2001-04-23 16:40 ` Hans Hagen

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).