Advertisement
Guest User

Untitled

a guest
Sep 17th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{everypage}
  3. usepackage{xcolor}
  4. usepackage{lipsum}
  5. % THESE ARE LaTeX DEFAULTS; CAN CHANGE IF NEEDED.
  6. defPageTopMargin{1in}
  7. defPageLeftMargin{1in}
  8. newcommandatxy[3]{%
  9. AddThispageHook{smash{hspace*{dimexpr-PageLeftMargin-hoffset+#1relax}%
  10. raisebox{dimexprPageTopMargin+voffset-#2relax}{textcolor{red}{#3}}}}}
  11. % VERIFIED THAT SETTING hoffset AND voffset DO NOT BREAK SOLUTION.
  12. %hoffset=0.4in
  13. %voffset=0.2in
  14. begin{document}
  15. atxy{dimexprhoffset+PageLeftMargin+oddsidemargin+textwidth}{10in}{%
  16. makebox[0pt][r]{LARGE Page 2$rightarrow$}}
  17. lipsum[1-7]
  18. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement