Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Since I updated to ConTeXt 2012 and mkIV, each time I want to write a dropped capital I got a strange result (I mean, that extra line break) with the first line of the paragraph the dropped capital is located. It gets worse if I use it inside a \columnset environment.

\usemodule[lettrine]
\starttext
\lettrine{A}{fter the three} \input ward
\stoptext

This is what I got with this minimal example:

Output of the minimal example provided for Lettrine.

Do you know how I can get rid of this? I must not update my ConTeXt installation yet...

share|improve this question
2  
AFAIK, the letterine module is unmaintained. Use the built-in \placeinitial macro instead. –  Aditya Jun 17 '13 at 14:03
    
Yeah! \placeinitial works fine. But is there any sort of documentation or something? The only thing I can't do is to put a letter before the drop capital (or the "initial"), like \lettrine did with the "Ante" option. I tried with the "before" option of \setupinitial but it returns a strange result... –  acidrums4 Jun 18 '13 at 12:24
1  
@acidrums4 It’s not much, I guess, but \placeinitial has a small section on the wiki. As usual, the source has some info too. –  phg Jun 20 '13 at 12:22
    
@phg Thank you so much! I've tried all morning but I couldn't put a single '¿' character before the drop capital. I had even tried dirty hacking with \inmargin and friends, but when I use one of them \placeinitial doesn't work. I'm about to give up. However, thank you so much! –  acidrums4 Jun 20 '13 at 19:04
1  
... @phg might want to! –  Joseph Wright Aug 18 '13 at 21:25
show 3 more comments

1 Answer

up vote 2 down vote accepted

Your example works fine with the latest ConTeXt minimals (2013.08.09), which gives

enter image description here

An alternative is to use \placeinitial.

\setupinitial
  [location=text,
   n=2,
   color=darkred,
   distance=0em,
   hoffset=0em,
   voffset=-3ex,
   before=\blank]

\starttext
\placeinitial{A}{\sc fter the three} \input ward
\stoptext

which gives

enter image description here

\placeinitial is not as sophisticated as the lettrine module and does not shape the paragraph according to the shape of the letter and does not provide an easy way to place something before the initial (the Ante=... option in lettrine).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.