Ralph Corderoy <ra...@inputplus.co.uk> wrote:
> http://2d.laboratorium.net/post/108351875900/small-caps-big-problem
> 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, http://heirloom.sourceforge.net/doctools.html, 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.

        Ali

Attachment: smcp.pdf
Description: Adobe PDF document

Reply via email to