How to do horiz rules without causing a break


Question

The .HR control word causes a break. Can I do this:

NAME: ----------------------------------

ADDRESS: -------------------------------

Answer

  There are a few approaches.

  You can set linespace to zero so no vertical escapement is done when the
  break occurs:

      .se str1 = 'NAME:  '
      .se str2 = 'ADDRESS:  '
      .ls normal 0
      NAME:
      .hr &dh'&w'&str1..dh 4i
      .sp p24
      ADDRESS:
      .hr &dh'&w'&str2..dh 4i
      .ls normal

  Or you could use .IS and .US to underscore horizontal white space and not
  have to mess with the linespacing.

Last updated: 93/08/04 14:01:14

Previous Contents Next