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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following example (links to pdf) in the TeX Showcase has no provided source. The book Fearless Symmetry by Ash and Gross seems to use a similar style. Where can I find hints for typesetting publication standard articles/books as above in TeX. I looked around a bit but couldnt find much from else from keyword searches.

Particularly, I am looking at the chapter headings, title page design, and the mirror effect. Sorry for the title, as I dont really know what its called.

share|improve this question
I'm curious, did you manage to build a macro that does below-the-line mirroring of arbitrary text with alpha blending as in the Fearless Symmetry book? Not that I need it right now but if you already built it, I'd be curious to see the code. – Christian Jun 18 '12 at 17:46
up vote 19 down vote accepted

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

\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\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.
share|improve this answer
is it possible to reflect horizontally the whole document? – Sigur May 12 '15 at 10:16
@Sigur: Yes, using atbegshi. For example, consider: \documentclass{article} \usepackage{graphicx,lipsum,atbegshi,showframe} \AtBeginShipout{\setbox\AtBeginShipoutBox=\hbox{\hspace*{\dimexpr1in-\marginpars‌​ep}\reflectbox{\box\AtBeginShipoutBox}}} \begin{document} \lipsum[1-50] \end{document} – Werner May 13 '15 at 0:24
amazing. Thanks so much. So short solution. – Sigur May 13 '15 at 15:41

With ConTeXt you can use \mirror. Here an example:

    Some text\par
    \mirror{Some Text}\par
    \input knuth\par
    \mirror{\vbox{\input knuth\par}}

Some info here.

share|improve this answer

A simple mirror effect can be created using \reflectbox{<text>} (short for \scalebox{-1}[1]{<text>}) from the graphicx package. The adjustbox package has the same effects using the reflect key: \adjustbox{reflect}{<text>}, which makes sense if you have more effects you want to apply.

You can mirror a text downwards using \scalebox{1}[-1]{<text>}.

More complex effects require a package like TikZ. See the pgfmanual which has this effect on it own start page, inclusive code.

share|improve this answer

Your Answer


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.