[NTG-context] mkiv and lettrine
Hans Hagen
pragma at wxs.nl
Sun Mar 1 11:54:29 CET 2015
On 3/1/2015 11:39 AM, Gerben Wierda wrote:
> Nobody?
>
> On 27 Feb 2015, at 18:01, Gerben Wierda <gerben.wierda at rna.nl
> <mailto:gerben.wierda at rna.nl>> wrote:
>
>> I am using lettrine in mkii. I am trying to convert a project to mkiv.
>> I’d like to use lettrine here too.
>>
>> \usemodule[lettrine]
>> \setuplettrine[Lines=3,
>> Hang=.5,
>> Oversize=0,
>> Raise=0,
>> Findent=0pt,
>> Nindent=0em,
>> Slope=0em,
>> Ante=,
>> FontHook=,
>> TextFont=\sc,
>> Image=no]
>>
>> \lettrine{S}{\kap{\bf uppose we}} have a system
>>
>> What do I have to change for mkiv?
search for 'initials' (probably on the wiki somewhere) .. from the sources:
%D \starttyping
%D \placeinitial \input ward \par \input ward \par \placeinitial \input
tufte
%D
%D \setupinitial
%D [location=text,
%D n=2,
%D color=darkred,
%D distance=-1em,
%D hoffset=1em,
%D voffset=-3ex,
%D before=\blank]
%D
%D \placeinitial \input ward \par \input ward \placeinitial \input tufte
% \setupbodyfont[dejavu,9pt]
%
% \startbuffer
% \setinitial[two] D. E. Knuth \ignorespaces\input knuth \par
% \setinitial[two] Knuth \ignorespaces\input knuth \par
% \setinitial[two] \quotation{D. E. Knuth} \ignorespaces\input knuth \par
% \setinitial[two] \quotation {Knuth} \ignorespaces\input knuth \par
% \setinitial[two] [text={D.E. Knuth}] \ignorespaces\input knuth \par
% \setinitial[two] [m=4] D. E. Knuth \ignorespaces\input knuth \par
% \stopbuffer
%
% \type{m=2} \start
\defineinitial[two][m=2,method=none] \getbuffer \page \stop
% \type{m=1,method=auto} \start
\defineinitial[two][m=1,method=auto] \getbuffer \page \stop
% \type{m=1,method={auto,first,last}} \start
\defineinitial[two][m=1,method={first,auto,last}] \getbuffer \page \stop
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry
>> to the Wiki!
>>
>> maillist : ntg-context at ntg.nl <mailto:ntg-context at ntg.nl> /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive : http://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list