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.

Possible Duplicate:
Rotating a letter

Given any printable glyph, is there some way to reverse it along the vertical (or any other) axis? So that, for instance, a sans-serif d would appear something like a b? (But for more complex glyphs than that.)

share|improve this question

marked as duplicate by doncherry, azetina, Werner, Tom Bombadil, Stefan Kottwitz Oct 7 '12 at 18:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers 4

up vote 2 down vote accepted

The two methods above are right and just to add using \scalebox{<h-scale>}[<v-scale>]{<text>} from the same graphicx package:

\documentclass{article}
\usepackage{graphicx}
\begin{document}
d \scalebox{-1}[1]{d}

c \scalebox{-1}[1]{c}
\end{document}

This yields:

enter image description here

Using TikZ:

\documentclass{article}
\usepackage{tikz}
\begin{document}
text \tikz[baseline=(char.base)]  \node[rotate=-180,xscale=1,yscale=-1] (char) {text};
\end{document}

enter image description here

This is not robust but still does the trick.

share|improve this answer

This can be done with reflectbox command of graphicx package.

\documentclass{article}
\usepackage{graphicx}
\begin{document}
d \reflectbox{d}

e \reflectbox{e}
\end{document}

enter image description here

share|improve this answer

You can use \reflectbox from the graphicx package:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\begin{document}
\reflectbox{ABC}
\end{document}
share|improve this answer

Just for fun.

enter image description here

\documentclass[border=2pt]{standalone}
\usepackage{pstricks}
\begin{document}
d \psscalebox{-1 1}{d}

e \psscalebox{-1 1}{e}
\end{document}
share|improve this answer
    
Thanks — that whole package looks like a lot of fun. –  brannerchinese Oct 7 '12 at 18:40

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