Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to know how can I rotate text in the picture environment.

I want to typeset some text from bottom-to-top, making it to appear sideways.

Basically, the following

\begin{picture}(...,...)
  \put(0,0){\rotate{-90}{Text.}}
\end{picture}

should be printed like

There should be some text here appearing in *sideways* ... now, where did I put it again?

(The text's background is gray, because it's funnier that way!)

share|improve this question

1 Answer 1

up vote 8 down vote accepted

You could use rotatebox from the graphicx package.

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{picture}(50,50)
  \put(0,0){\rotatebox{90}{Text}}
\end{picture}
\end{document}
share|improve this answer
    
Works like a charm! Thanks! –  Kohányi Róbert Oct 26 '11 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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