Re: [NTG-context] LMTX and lettrine

2021-07-19 Thread Wolfgang Schuster

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
___


Re: [NTG-context] LMTX and lettrine

2021-07-18 Thread Pablo Rodriguez
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).

I hope it helps,

Pablo
--
http://www.ousia.tk
___
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
___


[NTG-context] LMTX and lettrine

2021-07-18 Thread Gerben Wierda
I am trying to find out how to move this setup in mkii

23 \usemodule[lettrine]
24 >>  \setuplettrine[Lines=3,
25Hang=.5,
26Oversize=0,
27Raise=0,
28Findent=0pt,
29Nindent=0em,
30Slope=0em,
31Ante=,
32FontHook=,
33TextFont=\sc,
34Image=no]

to lmtx. (Basically, ConTeXtgarden gives my mike info for lettrine)

Gerben Wierda (LinkedIn )
R Enterprise Architecture  (main site)
Book: Chess and the Art of Enterprise Architecture 
Book: Mastering ArchiMate 

___
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
___