von rais » Do 23. Jun 2011, 20:20
etwa so?
\documentclass{article}
\usepackage{graphicx}
\newlength\mytwidth
\newcommand*\myangle{}
\makeatletter
\newcommand*\lrottext[3][origin=tl]{%
\@for\myangle:=#2\do{%
\makebox[0pt][l]{\rotatebox[#1]{\myangle}{#3}}%
}%
\hphantom{#3}%
}
\newcommand*\crottext[3][origin=cB]{%
\settowidth\mytwidth{#3}%
\rule{0.5\mytwidth}{0pt}%
\@for\myangle:=#2\do{%
\makebox[0pt][c]{\rotatebox[#1]{\myangle}{#3}}%
}%
\rule{0.5\mytwidth}{0pt}%
}
\makeatother
\begin{document}
\lrottext{0,10,20,30,40}{Blume}%
\crottext{0,15,30,45,60}{Blume}
\end{document}
MfG
Rainer
etwa so?
[code]
\documentclass{article}
\usepackage{graphicx}
\newlength\mytwidth
\newcommand*\myangle{}
\makeatletter
\newcommand*\lrottext[3][origin=tl]{%
\@for\myangle:=#2\do{%
\makebox[0pt][l]{\rotatebox[#1]{\myangle}{#3}}%
}%
\hphantom{#3}%
}
\newcommand*\crottext[3][origin=cB]{%
\settowidth\mytwidth{#3}%
\rule{0.5\mytwidth}{0pt}%
\@for\myangle:=#2\do{%
\makebox[0pt][c]{\rotatebox[#1]{\myangle}{#3}}%
}%
\rule{0.5\mytwidth}{0pt}%
}
\makeatother
\begin{document}
\lrottext{0,10,20,30,40}{Blume}%
\crottext{0,15,30,45,60}{Blume}
\end{document}
[/code]
MfG
Rainer