ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mkiv and lettrine
Date: Sun, 01 Mar 2015 11:54:29 +0100	[thread overview]
Message-ID: <54F2EFE5.1060709@wxs.nl> (raw)
In-Reply-To: <D1888FE0-47BD-4ACD-8AE5-EC2FFE75E5F2@rna.nl>

On 3/1/2015 11:39 AM, Gerben Wierda wrote:
> Nobody?
>
> On 27 Feb 2015, at 18:01, Gerben Wierda <gerben.wierda@rna.nl
> <mailto:gerben.wierda@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@ntg.nl <mailto:ntg-context@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@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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-03-01 10:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 17:01 Gerben Wierda
2015-03-01 10:39 ` Gerben Wierda
2015-03-01 10:54   ` Hans Hagen [this message]
2015-03-01 21:43     ` Gerben Wierda
2015-03-10 10:38       ` Gerben Wierda
2015-03-10 11:03         ` Hans Hagen
2015-03-10 17:11           ` Gerben Wierda
2015-03-10 17:22             ` Gerben Wierda
2015-03-10 17:35             ` luigi scarso
2015-03-10 21:51               ` Gerben Wierda
2015-03-10 22:56                 ` Hans Hagen

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=54F2EFE5.1060709@wxs.nl \
    --to=pragma@wxs.nl \
    --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).