ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Dropcaps in ConTeXt
@ 2015-10-27  9:09 josephcanedo
  0 siblings, 0 replies; only message in thread
From: josephcanedo @ 2015-10-27  9:09 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1296 bytes --]

Dear all,





I try to typeset some text with dropcaps which are pdf files in a 2 column text. I came up with 3 possibilities as shown in the sample below (attached D1.pdf). So far best solution seems to use the lettrine module, but I wondered if it would be possible to cope with the issue with figure and text overlapping if the first paragraph is very short (ie avoid using \\) ? Had a look to lettrine module source and wondered where I could find some documentation on the low level ConTeXt commands used in there ? For example to amend the code to avoid Lines= and use the actual figure size.


Sample follows:


\definecolumnset[TwoColumns][n=2]


\usemodule[lettrine]


\starttext


\startcolumnset [TwoColumns]


\placefigure[left,none]{}{\externalfigure[D1.pdf]} % how to have left side figure with text wrapping around it ?
This is a first paragraph.


\input tufte


\starthanging{\externalfigure[D1.pdf]}
This is a first paragraph.\\ % how to have \par here ?
\input tufte
\stophanging


\lettrine[Image=yes, Lines=4, Nindent=0pt, Findent=0.5em]{D1.pdf} % avoid Lines and use actual figure size ?
This is a first paragraph.\\ % how to have \par here ?
\input tufte


\stopcolumnset


\stoptext



Thanks

Regards


Joseph Canedo

[-- Attachment #1.2: Type: text/html, Size: 2646 bytes --]

[-- Attachment #2: D1.pdf --]
[-- Type: application/pdf, Size: 13048 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-27  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27  9:09 Dropcaps in ConTeXt josephcanedo

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).