Happy New Year to everyone.

I have a question.  Surely it's something silly that I'm missing.  I
don't understand the logic in how centering (with .ad c or .ce) affects
horizontal movements (\h).  Let's take this example:

.ad c
v
.br
\Z'\h'1i'v'
.br
\Z'\h'1i'Hello, World!'
.br
\h'1i'v
.br
\h'1i'Hello, World!

After compiling it you'll get something like this:


                                |<-  1 inch  ->|
  |<-------------------------- .ll --------------------------->|
                                v
                                               v
                                               Hello, World!
                                       v
                                 Hello, World!

                              ->|      |<- 1/2 inch


Under the influence of centering (.ad c or .ce), unless you use \Z, the
\h move goes only halfway.  Replacing .ad c for .ad n in that same
example you'll get the expected one inch displacement in both strings:


  |<-  1 inch  ->|
  |<-------------------------- .ll --------------------------->|
  v
                 v
                 Hello, World!
                 v
                 Hello, World!


Using .ad c I would expected this:


                                |<-  1 inch  ->|
  |<-------------------------- .ll --------------------------->|
                                v
                                               v
                                               Hello, World!
                                               v
                                         Hello, World!


Also, given what the documentation explains about \Z, I don't understand
the effect it has in this example either.  (If any part of the manual can
help me understand this behavior, there's no need to waste your time
explaining it, just point it out to me.)


-- 
Walter

Reply via email to