ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: LMTX and lettrine
Date: Mon, 19 Jul 2021 22:42:49 +0200	[thread overview]
Message-ID: <cb378e83-c823-b98f-8c7f-54899cd165fb@gmail.com> (raw)
In-Reply-To: <548ec252-1ca5-2d53-5b89-c26ed546b3d3@gmx.es>

Pablo Rodriguez schrieb am 18.07.2021 um 18:16:
> On 7/18/21 3:35 PM, Gerben Wierda wrote:
>> I am trying to find out how to move this setup in mkii
>>
>> 23     \usemodule[lettrine]
>> 24 >>  \setuplettrine[Lines=3,
>> 25                    Hang=.5,
>> 26                    Oversize=0,
>> 27                    Raise=0,
>> 28                    Findent=0pt,
>> 29                    Nindent=0em,
>> 30                    Slope=0em,
>> 31                    Ante=,
>> 32                    FontHook=,
>> 33                    TextFont=\sc,
>> 34                    Image=no]
>>
>> to lmtx. (Basically, ConTeXtgarden gives my mike info for lettrine)
> Hi Gerben,
>
> \setupinitial is your friend.
>
> i-context.pdf (included in LMTX) contains the available options
> (searching for "\setupinitial [", without quotation marks).

Both commands have different feature sets, e.g. with lettrine you can use
a image for the initial and you can also use the slope option to change the
indentation for letters like A or V.

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2021-07-19 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 13:35 Gerben Wierda
2021-07-18 16:16 ` Pablo Rodriguez
2021-07-19 20:42   ` Wolfgang Schuster [this message]

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=cb378e83-c823-b98f-8c7f-54899cd165fb@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).