[texhax] latex's picture and color conflict

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Nov 11 19:48:14 CET 2016


Am 11.11.2016 um 19:22 schrieb Victor Ivrii:
> 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}}

use

\put(1,0){\color{red}\line(0,1){1}}

Herbert


> \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
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>



More information about the texhax mailing list