[comp.text.tex] Problems with pictures in \LaTeX

baumeist@exunido.uucp (Hubert Baumeister) (06/08/90)

I have a problem with the picture environment in \LaTeX. When I
put a line and a text at the same location the reference points do
not coincidence. This happens with vertical and horizontal
and slanted lines and vectors and it does not depend on the dvi driver
used to print the result.
I used LaTeX Version 2.09 <7 Dec 1989> when I encountered this problem.
With LaTeX Version 2.09 - Released 19 April 1986 everything works fine.

Does anybody had (has) the same problem and does anybody know
how to fix this?

Here is some example code that yields the problem:

\documentstyle[12pt]{article}
\begin{document}

% Test1 line
\begin{center}
\setlength{\unitlength}{1pt}
\begin{picture}(33.0 ,74.0 ) (0 ,0)
\put(0.0 ,62.0) { \line(0 ,-1) {62.0}}
\put(0.0 ,62.0) {\framebox(0,0)[lb]{Hallo}}
\end{picture}
\end{center}

% Test2 line
\begin{center}
\setlength{\unitlength}{1pt}
\begin{picture}(62.0 ,18.0 ) (0 ,0)
\put(29.0 ,6.0) { \line(-1 ,0) {29.0}}
\put(29.0 ,6.0) {\framebox(0,0)[lb]{Hallo}}
\end{picture}
\end{center}

% Test3 line
\begin{center}
\setlength{\unitlength}{1pt}
\begin{picture}(41.0 ,60.0 ) (0 ,0)
\put(0.0 ,48.0) {\framebox(0,0)[lb]{Hallo}}
\put(0.0 ,48.0) { \line(5 ,-6) {40.0}}
\end{picture}
\end{center}

% Test1 vector
\begin{center}
\setlength{\unitlength}{1pt}
\begin{picture}(33.0 ,74.0 ) (0 ,0)
\put(0.0 ,62.0) { \vector(0 ,-1) {62.0}}
\put(0.0 ,62.0) {\framebox(0,0)[lb]{Hallo}}
\end{picture}
\end{center}

% Test2 vector
\begin{center}
\setlength{\unitlength}{1pt}
\begin{picture}(62.0 ,18.0 ) (0 ,0)
\put(29.0 ,6.0) { \vector(-1 ,0) {29.0}}
\put(29.0 ,6.0) {\framebox(0,0)[lb]{Hallo}}
\end{picture}
\end{center}

% Test3 vector
\begin{center}
\setlength{\unitlength}{1pt}
\begin{picture}(41.0 ,60.0 ) (0 ,0)
\put(0.0 ,48.0) {\framebox(0,0)[lb]{Hallo}}
\put(0.0 ,48.0) { \vector(1 ,-1) {40.0}}
\end{picture}
\end{center}

\end{document}