von Sir_Toby » Mi 28. Jul 2010, 10:46
Hallo zusammen,
ich habe folgendes Problem und kriege einfach nicht raus woran es liegt:
Wenn ich mit ps-tricks eine Verbindung zwischen zwei Knoten Beschriften will, wird der Text einfach nicht richtig Positioniert,
einfaches Bsp:
\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage{pstricks,pst-node}
\begin{document}
\begin{pspicture}[showgrid=true](3,3)
\cnode(0.1,0.1){0.1cm}{A}
\cnode(2.9,2.9){0.1cm}{B}
\ncline{->}{A}{B}
\ncput*{Mein Text}
\end{pspicture}
\end{document}
Das Resultat:
Hat jmd. eine Idee ?
Gruß Tobias
Hallo zusammen,
ich habe folgendes Problem und kriege einfach nicht raus woran es liegt:
Wenn ich mit ps-tricks eine Verbindung zwischen zwei Knoten Beschriften will, wird der Text einfach nicht richtig Positioniert,
einfaches Bsp:
[code]
\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage{pstricks,pst-node}
\begin{document}
\begin{pspicture}[showgrid=true](3,3)
\cnode(0.1,0.1){0.1cm}{A}
\cnode(2.9,2.9){0.1cm}{B}
\ncline{->}{A}{B}
\ncput*{Mein Text}
\end{pspicture}
\end{document}
[/code]
Das Resultat:
[img]http://img175.imageshack.us/img175/4259/texbsp.jpg[/img]
Hat jmd. eine Idee ?
Gruß Tobias