ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Radhelorn <radhelorn@mail.ru>
Subject: Re: Dropped caps, \startlines\stoplines, and indentation question
Date: Wed, 25 Jan 2006 22:59:51 +0300	[thread overview]
Message-ID: <43D7D8B7.5060207@mail.ru> (raw)
In-Reply-To: <af0b241e0601212008j1cce6c58nb0943aaa90476abb@mail.gmail.com>

Adrian Drury wrote:
> Hello,
> 
> I'm having trouble using dropped caps within \startlines\stoplines.
> I'm trying to typeset some poetry and I'm using
> \setuplines[space=yes]. I'd like to use dropped caps and have the
> indented lines be additionally indented by any space at the beginning
> of the lines.
> 
> See the following example - the first part shows roughly the result I
> want (but with manual formatting/spacing), the second part shows the
> result of \DroppedCaps inside \startlines\stoplines, and the third
> part uses the lettrine module. The lettrine module comes close, but
> Nindent doesn't seem to affect the indented lines within
> \startlines\stoplines.
> 
> \usemodule[lettrine]
> \def\MyDroppedCaps%
> {	\DroppedCaps
>         {} {Serif} {2\baselineskip} {2pt} {1\baselineskip} {2}
> }
> \setuplines[space=yes]
> 
> \starttext
> \MyDroppedCaps S{\sc umer} is icumen in,\crlf
> \hbox to .6em{}Lhude sing cuccu!\crlf
> Groweth sed, and bloweth med,\crlf
> \hbox to .6em{}And springth the wude nu---\crlf
> \hbox to 3.3em{}Sing cuccu!
> 
> \startlines
> \MyDroppedCaps S{\sc umer} is icumen in,
>   Lhude sing cuccu!
> Groweth sed, and bloweth med,
>   And springth the wude nu---
>           Sing cuccu!
> \stoplines
> 
> \startlines
> \lettrine{S}{umer} is icumen in,
>   Lhude sing cuccu!
> Groweth sed, and bloweth med,
>   And springth the wude nu---
>           Sing cuccu!
> \stoplines
> \stoptext
> 
> Any suggestions for how to do this? I'm a beginning ConTeXt user, so
> if there's a better/different way to do this, I'd be happy to hear it!
> 
> Also, I read the list in digest form. For the benefit of people using
> threaded mail readers, is there a better way to reply to individual
> messages than replying to the digest message and editing the Subject
> line appropriately?
> 
> Thanks very much,
> Adrian Drury
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

Try

\startlines
\vbox{\lettrine{S}{umer} is icumen in,\crlf Lhude sing cuccu!}
  Groweth sed, and bloweth med,
    And springth the wude nu---
            Sing cuccu!
\stoplines



-- 
Radhelorn <radhelorn@mail.ru>

  reply	other threads:[~2006-01-25 19:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-22  4:08 Adrian Drury
2006-01-25 19:59 ` Radhelorn [this message]
2006-01-29  1:50 Adrian Drury
2006-01-29 17:59 ` Taco Hoekwater

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=43D7D8B7.5060207@mail.ru \
    --to=radhelorn@mail.ru \
    --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).