# How to write any text in the others orientation

How to turn text orientation in the four diferent positions?

Any text.

-
Don’t forget to accept the answer (tick the green ‘V’ at the left side of the answer). –  Sveinung Aug 17 '12 at 7:33
No, tick the grey ‘V’ (actually it’s a hook). It should turn into a green one … :-) –  Speravir Aug 21 '12 at 21:28
Besides accepting @GonzaloMedina's answer, it would be nice if your blog post also attributed the solution to him. –  henrique Sep 16 '12 at 1:11

You can do this with \scalebox from the graphicx package:

\documentclass{article}
\usepackage{graphicx}

\begin{document}

\LaTeX\scalebox{-1}[1]{\LaTeX}

\scalebox{1}[-1]{\LaTeX}\scalebox{-1}[-1]{\LaTeX}

\end{document}


TikZ is another option:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}

\begin{tikzpicture}
\node (a) {\LaTeX};
\node[xscale=-1,right=of a] (b) {\LaTeX};
\node[yscale=-1,below=of a] (c) {\LaTeX};
\node[xscale=-1,yscale=-1,right=of c]{\LaTeX};
\end{tikzpicture}

\end{document}


And PSTricks offers \psscalebox:

\documentclass{article}
\usepackage{pstricks}

\begin{document}

\noindent\LaTeX\psscalebox{-1 1}{\LaTeX}\\
\psscalebox{1 -1}{\LaTeX}\psscalebox{-1 -1}{\LaTeX}

\end{document}


-
Thanks Gonzalo Medina. –  Regis da Silva Aug 17 '12 at 4:02
@RegisdaSilva You're welcome! –  Gonzalo Medina Aug 17 '12 at 13:23