I want to achieve the following design for my page border.

I am aware of the mdframe package to do a regular border and also of the


\begin{turn}{-90}Test 90\end{turn}
\begin{turn}{270}Test 270\end{turn}

But I can't find a way to mix them both to have a border with a text sideways.

How can I make the following page border?

Thank you

What I want to achieve

  • The text should be at the text margin? Outside of it? – Alenanno Aug 30 '16 at 20:09
  • I've updated the image to contain some example text. The text should be at the margin of the document. – Fernando Aug 30 '16 at 20:31
  • Please provide a complete minimal example we can compile as a basis for answering. – cfr Aug 30 '16 at 22:04
  • @Alenanno Do you know why Christian deleted his answer? Because it is within the text block? – cfr Aug 30 '16 at 22:05
  • Do you want the whole page framed? One page? All pages? – cfr Aug 30 '16 at 22:07

Maybe you can use tikz-page:


  \node [red, rotate=90] (t) at (page.left north) {MYTEXT};
  \draw (t) -- (page.left south);


enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.