4

Possible Duplicate:
custom and built in tikz fill patterns

Is it possible to change the thickness of patterns drawn by the TikZ pattern library (IV Libraries, 41 Pattern Library)? Setting thick on the node, only applies to the node itself, not the filling pattern.

\usetikzlibrary{patterns}
\begin{tikzpicture}
  \node[square,thick,pattern={north east lines}] {}; % draws a thick square with a thin pattern
\end{tikzpicture}

marked as duplicate by percusse, Joseph Wright Aug 4 '12 at 22:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • AFAIK the patterns are not key-aware... So you will need to define your own pattern or modify the code in pgflibrarypatterns.code.tex. – Count Zero Jul 20 '12 at 10:05
  • Yeah, I think @CountZero is right, you won't get around defining a new pattern for this. For the north east lines pattern, however, you're in luck: At tex.stackexchange.com/a/29367/2552 there's a new version of the pattern which allows changing the line width and the distance between the lines using keys. – Jake Jul 20 '12 at 10:24
  • 1
    Also related : tex.stackexchange.com/questions/54358/… – percusse Jul 20 '12 at 10:36

Browse other questions tagged or ask your own question.