groff
[Top][All Lists]
Advanced

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

Re: [Groff] how to set default font family


From: Werner LEMBERG
Subject: Re: [Groff] how to set default font family
Date: Fri, 02 Nov 2007 17:37:15 +0100 (CET)

> the `.fam' request works just fine but seemingly not in combination
> with the -ms macropackage. [...]
> 
> question: how to enforce palatino (or whatever) as the default
> family for a complete document _inside_ the document (not via the
> `-f' groff flag from the command line)? I would have thought calling
> `.fam' sufficiently early in the document source should do the
> trick.

A quick look into groff_ms.man would yield the desired result :-)

   Text Settings
       The FAM string sets the default font family.  If this string is
       undefined at initialization, it is set to Times.

       The point size, vertical spacing, and inter-paragraph spacing
       for footnotes are controlled by the num- ber registers FPS,
       FVS, and FPD; at initialization these are set to \n(PS-2,
       \n[FPS]+2, and \n(PD/2, respectively.  If any of these
       registers are defined before initialization, the initialization
       macro does not change them.

       The hyphenation flags (as set by the hy request) are set from
       the HY register; the default is 14.

       Improved accent marks (as originally defined in Berkeley's ms
       version) are available by specifying the AM macro at the
       beginning of your document.  You can place an accent over most
       characters by specify- ing the string defining the accent
       directly after the character.  For example, n\*~ produces an n
       with a tilde over it.


   Werner




reply via email to

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