GeneralAlign vertical text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Dr.Wackelzahn
Posts: 7
Joined: Sun Oct 26, 2008 9:53 am

Align vertical text

Post by Dr.Wackelzahn »

Hi there,
although I'm solving more and more problems I still face some of them. One out of it is the follwoing:

Within a tizkpicture I'd like to write a line vertically using \node like this:

Code: Select all

\begin{tikzpicture}
    \draw (-0.1cm,0cm) -- (-0.1cm,10cm);          % Y-Achse (Ordinate)
     \node[rotate=90, left] at (x,y) {Textl}; 
\end{tikzpicture}
But I'd like to have the rotated text centered along the line.

But how?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Align vertical text

Post by localghost »

To me it seems that you want to create something like a diagram, perhaps with plot inside. In this case you may take a look at pgfplots.


Best regards
Thorsten¹
Post Reply