For some reason I can't get diagonal arrows/vectors to work. Only the arrowhead shows up – the line is missing. For example, in the following, the first vector is fine (horizontal) but the second just gives a floating arrowhead.
\setlength{\unitlength}{1mm}
\begin{picture}(60, 40)
\put(30, 20){\vector(1, 0){30}}
\put(30, 20){\vector(4, 1){20}}
\end{picture}
I've tried using \thicklines
, \thinlines
, doesn't make a difference.
I'm using MiKTeX 2.9 with TeXnicCenter.
Best Answer
You could load the
pict2e
package. It extends the existing LaTeXpicture
environment using driver files and solves the issue with limited slope values for lines and vectors.