groff
[Top][All Lists]
Advanced

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

Re: [Groff] Using variables from register within fractions or equations


From: Holger Herrlich
Subject: Re: [Groff] Using variables from register within fractions or equations
Date: Fri, 17 Feb 2012 23:55:03 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120207 Icedove/3.0.11

On 02/17/2012 02:45 PM, maouinin wrote:
>> \h'\\nwu'\v'1m'\\*n\v'-1m'\h'\\nwu'\\$2

father on:
\*n      \" recalls string of name n
\v'-1m'  \" vertical move up one (1) line (m), this is a value.

Note that \v for instance will interpret values by a default unit, used
in absence of one given. Thereas "Troff internally stores ... dimensions
in units that correspond to the particular device ..." (Troff Users
Manual, 1992, Ossanna/Kernighan). So in using number registers, i always
append 'u' (means basic unit). Otherwise things will be correctly
shifted out of sight, leaving you clueless that happend.

Lg Holger



reply via email to

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