This would be a general solution to your question of mirroring, as supplied by the graphicx
package. It provides \reflectbox{<stuff>}
which reflects <stuff>
horizontally. It is equivalent to \scalebox{-1}[1]{<stuff>}
where the syntax is \scalebox{<h-scale>}[<v-scale>]{<stuff>}
and h-scale
/v-scale
are scaling factors. For vertical reflection, one can use \scalebox{1}[-1]{<stuff>}
, and add a vertical raise of \depth
(using \raisebox
). Otherwise, the reflection is performed from the baseline. Here are a couple of examples to showcase the symmetries of reflection with a variety of macros from graphicx
:
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/KHLSf.png)
\documentclass{article}
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\begin{document}
\textbf{Horizontal reflection}: \par
Here is some text that is \reflectbox{reflected} horizontally. \par
Here is some text that is \scalebox{-1}[1]{also reflected} horizontally. \par \bigskip
\textbf{Vertical reflection}: \par
Here is some text \raisebox{\depth}{\scalebox{1}[-1]{reflected}} vertically. \par \bigskip
\textbf{Horizontal + vertical reflection}: \par
Here is some text that is \raisebox{\depth}{\scalebox{-1}[-1]{reflected}} both horizontally and vertically. \par
Here is some text that is \raisebox{\depth}{\rotatebox{180}{also reflected}} both horizontally and vertically.
\end{document}