texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Drop-caps


From: Rónán Daly
Subject: [Texmacs-dev] Drop-caps
Date: Tue, 14 Sep 2004 23:44:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040424

Hello,

I'm currently trying to write a style package for TeXmacs that make it easy to insert drop caps into paragraphs similar to the lettrine package for latex

http://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/

This is the first time I've tried writing something like this. Currently I've got this

<assign|drop-cap|
        <\macro|cap|text>
<no-indent>
<move|<with|font-size|<times|<value|font-size>|
<plus|2|<over|<value|par-sep>|1fn>>>|<arg|cap>>||-1bls>
<with|font-shape|small-caps|<arg|text>>
  \;
</macro>>

At the moment, the cap isn't the right size, I have to work out a better way of calculating it.

The problem I have at the moment is that when the text after this macro wraps around at the right of the page, it appears _under_ the cap as opposed to the bottom right of it. Is there any way to make this occur? I'm also wondering if there's a command like the latex parshape one which can give you arbitrary paragraph breaking.

Thanks for your help

Ronan
--
Mr Rónán Daly,           3.14 Appleton Tower,  Tel: +44 (0) 131 651 4163
CISA,                    11 Crichton Street,   Fax: +44 (0) 131 650 6513
School of Informatics,   Edinburgh EH8 9LE,   Mail: address@hidden
University of Edinburgh. United Kingdom.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]