[texhax] latex's picture and color conflict

Victor Ivrii vivrii at gmail.com
Fri Nov 11 19:22:01 CET 2016


There is a minimal example: if we remove \color{red} or put it before
\linethickness{1.2pt} the lines coincide


\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}
 \color{red}
\put(1,0){\line(0,1){1}}
\end{picture}\end{document}
-- 

Victor Ivrii

PS It was discovered by one of my colleagues who still uses picture
environment and does not want to switch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20161111/5366a45f/attachment.html>


More information about the texhax mailing list