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.

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
add comment

3 Answers

up vote 17 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

\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}
share|improve this answer
add comment

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

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

Some info here.

share|improve this answer
add comment

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