I would like to place a multiline text (w/o a priori knowledge of the
number of lines) with zero depth. When n = 1 the solution is easy (text depth = 0pt), but with n > 1 this does not work properly. What do I have to do to achieve the wanted effect?
In the second part of the example the baseline of the text is identical with the line drawn. In the third example I would like to get the same, but here are the descenders on the line drawn.
\documentclass{minimal}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[inner sep=0pt]
\draw (0,0) -- (5,0);
\node[text width=5cm,above] at (2.5,0)
{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, };
\begin{scope}[yshift=3cm]
\draw (0,0) -- (5,0);
\node[text width=5cm,text depth=0pt,above] at (2.5,0)
{Lorem ipsum dolor sit amet, };
\end{scope}
\begin{scope}[yshift=6cm]
\draw (0,0) -- (5,0);
\node[text width=5cm,text depth=0pt,above] at (2.5,0)
{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, };
\end{scope}
\end{tikzpicture}
\end{document}


