Guest User

Untitled

a guest
May 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{fancyhdr,graphicx,tcolorbox}
  3. begin{document}
  4. pagestyle{fancy}
  5. noindent
  6. parindent=0pt
  7. makebox[0pt][l]{some text}% typeset-1
  8. rotatebox[origin=lb]{90}{some text}\[3em]% typeset-2
  9.  
  10. rotatebox{0}{% typeset-3
  11. begin{tcolorbox}[width=0.7textwidth,height=6em]
  12. the left side of this box alligns well with the left end of the headrule.
  13. end{tcolorbox}
  14. }\
  15. %
  16. rotatebox[origin=lb]{90}{% typeset-4
  17. begin{tcolorbox}[width=0.7textwidth,height=6em]
  18. As the option "origin=lb" is used, the right side of this rotated box should align with the left end of the headrule, but it does not.
  19. end{tcolorbox}
  20. }
  21. end{document}
Add Comment
Please, Sign In to add comment