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.

How to turn text orientation in the four diferent positions?

enter image description here

Any text.

share|improve this question
3  
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
1  
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
add comment

1 Answer 1

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}

enter image description here

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}

enter image description here

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}

enter image description here

share|improve this answer
    
Thanks Gonzalo Medina. –  Regis da Silva Aug 17 '12 at 4:02
    
@RegisdaSilva You're welcome! –  Gonzalo Medina Aug 17 '12 at 13:23
add comment

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.