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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 11 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.