[texhax] simple rotate/invert character

Edsko de Vries edsko at edsko.net
Tue Apr 1 11:26:56 CEST 2008


On Tue, Apr 01, 2008 at 10:01:00AM +0200, Martin Heller wrote:
> Bryan W. Lepore skrev:
> > is there a short command to rotate/invert a letter?  so that without 
> > having to start a new environment, one could do something like :
> > 
> > \invert{B}
> > 
> > or
> > 
> > \rotate{B}
> > 
> > so the "B" gets inverted or rotated?
> 
> 
> \documentclass{article}
> \usepackage{graphicx}
> \begin{document}
> \rotatebox{90}{B}
> \reflectbox{B}
> \end{document}

Would it be possible to automatically put the rotated box in the right
position? For example, if we do

\rotatebox{180}{B}oo

you get something like

  oo
 B

(where the B is rotated upside down), whereas I'd prefer
 
 Boo

with the B rotated but the top of the B on the baseline.

Edsko


More information about the texhax mailing list