Bill_von_Hagen@TRANSARC.COM (09/20/90)
I'm having an interesting problem which I thought some LaTeX wizard might be able to help with. We have some local styles here which feature many different footing styles. The problem I'm having is that the left-most field (of 3) in the page footing (on both right and left pages) is always indented about half an inch. I have no idea where this bogus space is coming from, and I can't get rid of it!!!! Each of our local footings has an entry like the following in the style file: \def\samplefooting{\def\ps@footing{ \setbox0=\hbox{\@confidential} \setbox1=\hbox{\@RevisionString} \setbox2=\hbox{\thepage} \dimen2=.5\hsize \advance\dimen2 by -.5\wd1}} The footers themselves are defined like the following: \def\@oddfoot{ \ps@footing \advance\dimen2 by -\wd0 \copy0\hskip\dimen2 \copy1 \hfil\copy2} \def\@evenfoot{ \ps@footing \advance\dimen2 by -\wd2 \copy2\hskip\dimen2 \copy1 \hfil\copy0} As you can see, we stash a few locally-defined strings in boxes 0 and 1, put the page number in box 2, calculate the center point of the footing based on the horizontal size of the page, and then subtract half the width of box 1 (the "middle" field in our footings). This gives us info about where to place the contents of box1 whenever we actually generate the page footings. We complete our calculations when actually doing the odd/even foot commands. based on the current page side, we want to subtract the size of the "left-most" field on the footer, to space things correctly. On odd-numbered pages, this is the contents of box0; on even pages, it's box2. I tried putting an fbox around the fields in the footing, thinking that perhaps I was somehow including a half-inch opf space somehow, but the fboxes were tight around the fields. If they're useful, the size parameters we're using are the following: \setlength{\topmargin}{0 pt} \setlength{\textheight}{600 pt} \setlength{\evensidemargin}{0 pt} \setlength{\oddsidemargin}{0 pt} \setlength{\textwidth}{460 pt} \setlength{\marginparwidth}{0 pt} \setlength{\marginparsep}{0 pt} \setlength{\parindent}{0 pt} Any help would be VERY MUCH appreciated. Hopefully, I'm just overlooking something obvious - whatever it is, I'm certainly doing a good job of overlooking it!!! Thanks! Bill von Hagen (wvh@transarc.com)