On 2014-11-03, Deepak Jois <deepak.j...@gmail.com> wrote:
> I want \centerline to properly center a line on a page with a custom
> size. The minimal example below does not work for me. I even tried to
> compile the code with "xetex -papersize=a5" What am I missing?
>
> Code:
>
> \special{papersize=5.8in,8.3in}
> \hoffset0in
> \hsize5.8in
> \centerline{hi there}
> \bye

You're missing that \{h,v}offset are relative to the default position
of (+1in,+1in) relative to the top left of the page.
You mean \hoffset-1in


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to