15

What I want to do is calculate the actual size between the edge of the paper, and my header. \evenmarginsize and \oddmarginsize do not do this.

\settowidth{\msize}{((\paperwidth - \textwidth)/2)}

Doesn't seem to work, how can this be done?

NictraSavios
  • 1,697
  • You don't say which edge of the paper. On first reading, because you are talking about the header, I thought the top edge. 2. The commands \evenmarginsize and \oddmarginsize don't exist. Perhaps you meant \oddsidemargin and \evensidemargin. 3. \settowidth takes a piece of text and calculates its width. For what you want, use \setlength and you need the calc package to use algebraic notation. 4. One more thing: supply a compilable file that shows what you tried.
  • – Dan Dec 09 '13 at 03:13
  • The left hand side, when I first tried this I didn't think it mattered. 2) Yes, those are the correct commands. My memory mixed them up. 3) Below is a solution without calc. 4) Didn't need to. Oh, and one more thing, calm the attitude Mr. Keyboard Warrior.
  • – NictraSavios Dec 09 '13 at 08:41