Changes

Jump to navigation Jump to search
1,126 bytes added ,  17:22, 12 December 2020
no edit summary
</cd:command>
</cd:variants>
<cd:description>Because the space carved out for the initial is rectangular, initials work best with a font with rectangular ornaments around the letter.  == Lettrine module == '''Beware:''' At this point (2020-12), the lettrine module doesn’t work with LMTX! If you want more options to customize your initials, try the [http://modules.contextgarden.net/t-lettrine lettrine module]. An example of the types of customizations that this module allows is:<texcode>\usemodule[lettrine]\def \LettrineStyle{\definefontsynonym[LettrineFont][Italic]}\setuplettrine [A][Lines=2,Findent=0.2em,Nindent=0.01em,FontHook={\LettrineStyle}]\setuplettrine [T][Lines=2,Findent=0.35em,Nindent=0.01em,FontHook={\LettrineStyle},Hang=.25]\setuplettrine [I][Lines=2,Findent=0.3em,Nindent=0.01em,FontHook={\LettrineStyle},Hang=.25]\setuplettrine [O][Lines=2,Findent=0.2em,Nindent=0.01em,FontHook={\LettrineStyle}]\setuplettrine [C][Lines=2,Findent=0.3em,Nindent=0.01em,FontHook={\LettrineStyle}]\setuplettrine [W][Lines=2,Findent=0.3em,Nindent=0.01em,FontHook={\LettrineStyle},Hang=.34] \starttext\lettrine{A}{fter the three} \input ward\stoptext</texcode>  </cd:description>
<cd:examples><cd:example title="">The following example produces an awful-looking initial, but it illustrates how some of these parameters work:
\setuppapersize[sheet]
\setupinitial[color=darkred, distance=5mmpt15mm, n=42, m=2, hoffset=-4mm, before={\blank[2*big]\thinrulehairline\strutblank[big]}]
\starttext

Navigation menu