[Top][All Lists]

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

[Groff] fractional point sizes with -ms

From: Werner LEMBERG
Subject: [Groff] fractional point sizes with -ms
Date: Tue, 06 Jan 2004 15:36:40 +0100 (CET)

I've investigated how to extend the -ms macro package to support
fractional point sizes in a backwards compatible way.  Until now I've
only found one solution which is rather ugly but should work with
virtually all older documents also.

The idea is to specify `point size * 100':

  .nr PS 1225   \" 12.25pt

Since probably no document will ever ask for a document size of 300pt
or larger, it is straightforward to add code like this:

  .ie \n[PS] >= 300 \
  .  ps (\n[PS]z / 100u)
  .el \
  .  ps \n[PS]

Similar code could be added for \n[VS], \n[FPS], and \n[FVS] also.

What do you think?


reply via email to

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