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.

Is there a possibility to shear (any) LaTeX text or the output of a mathematical formula as it would be obtained as a result from looking at a different angle/viewport?

I do not mean mere rotating of text, that would not be sufficient.

share|improve this question

1 Answer 1

up vote 10 down vote accepted

One option:

\documentclass{article}
\usepackage{tikz}

\newcommand\MyText[2][]{%
  \tikz\node[#1] {#2};%
}

\begin{document}

\MyText[xslant=1.4]{\Huge Some text}
\par\noindent
\MyText[xslant=0.5,yslant=1.5]{\Huge Some text}
\par\noindent
\MyText[xslant=1,yslant=0.5,rotate=-30]{\Huge Some text}

\end{document}

enter image description here

share|improve this answer
    
Nice answer/solution -I have already considered using a tikz based solution, but I am not a frequent user of tikz features, so I dropped it due to thinking it would be to difficult. Most probably, there is no 'pure` LaTeX solution, without graphical bypassing? –  Christian Hupfer Feb 16 at 7:19

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.