[texhax] Plain TeX: text body not centered?

Reinhard Kotucha reinhard.kotucha at web.de
Mon Sep 15 23:23:27 CEST 2008


Rodolfo Medina writes:
 > In plain TeX, the simple file:
 > 
 > 
 >  \hoffset=0pt
 >  \centerline{ollo}
 >  \vskip 1cm
 >  \hrule
 > 
 >  \bye
 > 
 > 
 > produces an output that's not centered in the middle of the page although
 > \hoffset is set to 0.  Why?

Maybe because Knuth decided that there should be a 1 inch offset by
default (horizontally and vertically.).

Please try:
 
  \advance \hoffset by -1in

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the texhax mailing list