groff
[Top][All Lists]
Advanced

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

Re: [Groff] [off] micro-typography


From: Werner LEMBERG
Subject: Re: [Groff] [off] micro-typography
Date: Mon, 04 Feb 2002 02:18:13 +0100 (CET)

> Getting back to the hanging punctuation issue, which I think this
> was about originally, it would probably be easier to hard-code
> the behavior in gtroff than to write convoluted macros. I'd imagine
> the logic would look something like this:
>
> [...]

Han The Thanh wrote a 120page Ph.D. thesis, so the problem is a bit
more complicated than that.

>       if( hanging_punctuation && last_char_is_in(",.;:\)!\"'") )

The amount of protruding is depending on the character; additionally,
it is different on the left and the right side.

You might download the latest pdfTeX version and check the code.


    Werner

reply via email to

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