1

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.)

4 Answers4

2

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.

azetina
  • 28,884
1

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

1

You can use \reflectbox from the graphicx package:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\begin{document}
\reflectbox{ABC}
\end{document}
Juri Robl
  • 4,763
1

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}