[texhax] latex's picture and color conflict

David Carlisle d.p.carlisle at gmail.com
Fri Nov 11 19:45:26 CET 2016


This is unrelated to colour, you see the same from

\documentclass[12pt]{article}
\usepackage{color}
\begin{document}
\setlength{\unitlength}{10mm}
\begin{picture}(1,1)
\linethickness{1.2pt}
\put(1,0){\line(0,1){1}}
\linethickness{1.2pt}
 \mbox{}
\put(1,0){\line(0,1){1}}
\end{picture}\end{document}

the picture mode commands remove white space around themselves, but
other commands need help, eg % added

\documentclass[12pt]{article}
\usepackage{color}
\begin{document}
\setlength{\unitlength}{10mm}
\begin{picture}(1,1)
\linethickness{1.2pt}
\put(1,0){\line(0,1){1}}
\linethickness{1.2pt}%
 \mbox{}%
\put(1,0){\line(0,1){1}}
\end{picture}\end{document}

David


More information about the texhax mailing list