1

TikZ draws thin line instead of thick line. Two lines in the code seems same.

\documentclass{article}

\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[x=0.15cm,y=0.15cm,z=0cm]
\draw[thick] (-20,5,0) -- (40,5,0);
\draw[thin] (-20,2,0) -- (40,2,0);
\end{tikzpicture}

\end{document}

closed as off-topic by koleygr, Andrew, Stefan Pinnow, Bobyandbob, Henri Menke Dec 11 '17 at 20:12

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    Tested your code and the lines have different thickness... Probably your pdf viewer needs some zoom (or try another one) – koleygr Dec 11 '17 at 17:56
  • As @koleygr says, it's probably your PDF viewer or printer. This said, there are many different thicknesses that you can use from ultra thin to ultra thick -- see section 15.3.1 of the manual. You can also set the thickness manually with \draw[line width=5mm](-20,5,0) -- (40,5,0); – Andrew Dec 11 '17 at 18:29
  • 4
    I'm voting to close this question as off-topic because the OP doesn't seem to answering about the comments and his/her problem is not really a latex (but probably a viewer) problem – koleygr Dec 11 '17 at 18:49
  • Sorry for late answer. I checked it double. But still thin line. – user141692 Dec 11 '17 at 19:54
  • @Void did you tried to open it with another pdf viewer? If so which viewers did you tried? Did you zoomed enough? Did you tried to replace thick by ultra thick? – koleygr Dec 11 '17 at 19:55