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.
http://tex.stackexchange.com/questions/119544/lettrine-causes-strange-line-breaks?answertab=oldest
tex.stackexchange.com
crawl=CC-MAIN-2014-10
67003
application/http; msgtype=response
sha1:7B7P576BUTAQO23LBYYXZGHAH26EP7GN
<urn:uuid:59c8d415-6072-468e-be63-bf1a1a5c0ac3>
2014-03-08T13:10:52Z
198.252.206.140
sha1:7ZQ7LJPNXWM24P7Z74KK7ZDCSP476FGE
<urn:uuid:6adcbba1-e227-46a9-8315-b3ffbac4c009>
http://tex.stackexchange.com/questions/119544/lettrine-causes-strange-line-breaks?answertab=oldest
response
<urn:uuid:bd1b9cd2-c671-455a-8f65-128b9df347be>
robots: classic
hostname: ip-10-183-142-35.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-10
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for March 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf