7

Is there a way to rotate a symbol any positive degrees around the y axis? The y axis is here taken as the one perpendicular to the text line and lying in the text surface. E.g., an I would loose its bars with such a rotation of 90 degrees and would be indistinguishable from an O with the same rotation.

8

Here is a TikZ solution:

\tikz\node[xscale={cos(\angle)},inner sep=0]{Texte};

Examples:

enter image description here

Code:

\documentclass{article}
\usepackage{tikz}
\begin{document}
Texte%
\foreach \ang in {0,1,...,8,9}{%
  \tikz\node[xscale={cos(\ang*20)},inner sep=0]{RI\ang};%
}...
\end{document}
| improve this answer | |
  • 1
    Just \tikz\node[xscale={cos(\ang*9.9)},inner sep=0]{TI\ang}; should be sufficient. – percusse Jan 15 '13 at 1:18
  • @percusse Exact! Thanks. I left lines of code related to other tests... – Paul Gaborit Jan 15 '13 at 1:25
  • Ah yes, one can use that quantity in multiple places. – percusse Jan 15 '13 at 1:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.