[Top][All Lists]

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

Re: [Groff] Proper Small Caps.

From: Ali Gholami Rudi
Subject: Re: [Groff] Proper Small Caps.
Date: Sun, 18 Jan 2015 19:32:02 +0330
User-agent: Heirloom mailx 12.4 7/29/08

Ralph Corderoy <address@hidden> wrote:
> complains about small caps from Word, etc., compared with small caps
> designed by the designer.  Thought it might be of interest given troff's
> long-time S\s-2MALL\s0 C\s-2APS\s0, especially used in the formatting of
> Unix.  IIRC, Dennis Ritchie said they did it because the CAT gave them
> the possibility, but it was regretted for the UNIX/Unix confusion it
> caused.
> Heirloom troff,, says
>     Mechanisms for typesetting small capitals, old-style numerals, and
>     arbitrary ligatures e.g. using Type 1 “expert” or OpenType fonts are
>     provided.
> Don't know what the other various troff's support for proper small caps
> is, e.g. plucking them from the OpenType font?

For OpenType fonts that define such a feature (usually called smcp),
in neatroff (as in Heirloom troff) it can be enabled as follows:

  .fp 1 R LinLibertineO         \" LinuxLibertine has smcp
  .ff R +smcp                   \" equivalent to Heirloom's .ffeat
  Text in small caps.

The attached sample uses LinLibertine.


Attachment: smcp.pdf
Description: Adobe PDF document

reply via email to

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