Linked Questions

4
votes
0answers
1k views

Change thickness of TikZ pattern library patterns [duplicate]

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 ...
55
votes
5answers
5k views

Penrose tiling in TikZ

How can I auto-generate a Penrose tiling by TikZ? Here's my code for Mathematica: GG = (Sqrt[5]+1)/2; standardthin = {1/2+Sqrt[GG^2-(1/2)^2] I , 0, 1}; standardthick = {GG/2+Sqrt[1-(GG/2)^2] I, 0, GG}...
32
votes
4answers
12k views

Drawing hexagons

I have a case where I need to draw a hexagonal grid in LaTeX. I am considering just reading the grid from an eps file. Is there an alternative way to do it completely within LaTeX?
59
votes
2answers
62k views

Hatch a rectangle in TikZ

I know how to make a rectangle and fill it. But what shoud be done to hatch this rectangle with thin 45 degree inclined line with 2mm gap. \documentclass{article} \usepackage{tikz} \begin{document}...
46
votes
3answers
24k views

Pgfplots: how to fill the area under a curve with oblique lines (hatching) as a pattern?

I want to hatch the area under a curve (graph of a function) with oblique lines on an interval (to illustrate the function's integral on that interval). This can be done elegantly in gnuplot... ......
48
votes
3answers
3k views

Fill style that looks like hand-drawn / hand-filled with crayon

How to generate in LaTeX (TikZ or something similar) the following image: This was not drawn by hand, as far as I known, but with some Mac tool.
46
votes
4answers
16k views

Can I control the 'density' of a pattern in TikZ?

...i.e. I want to control the spacing between lines in a hatch pattern. Is that possible at all with the predefined patterns from the pattern library, like north east lines? Or should I just create my ...
12
votes
2answers
2k views

How to improve the creation of repeating patterns with TikZ?

I am a beginner in LaTex, trying to use TikZ to draw a series of RF cables for industrial documents. On the MWE below, I cannot find a way to prevent overlapping the threads of the braid while ...
18
votes
1answer
5k views

Modified pattern does not see the pattern color option

I have modified the north east lines pattern to accept a \LineSpace option that sets the density of the pattern (see the question Can I control the density of a pattern in TikZ?). The code works very ...
10
votes
2answers
3k views

Rotated paraboloid/square root in pgf/TikZ

I want to redraw the following graphic in pgf/TikZ. I struggle to draw the rotated paraboloid/the root function. I come this far: \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{...
12
votes
1answer
7k views

TikZ custom zigzag pattern

I'm trying to create a custom pattern made of zigzag lines. Thanks to the TikZ manual and to Decorating (with random steps) a filling pattern I'm almost there: \documentclass{article} \usepackage{...
7
votes
3answers
3k views

Filling rectangle in TikZ with more than one color

To draw a rectangle and fill it in gray in TikZ: \draw [fill=gray,very thick] (0,0) rectangle (2,1); Now, I want to fill it in both gray and yellow. The best way would be if I can make diagonal ...
6
votes
1answer
2k views

custom hatching pattern : arbitrary direction of hatching

For a kind of mathematical illustration, consider the case where several distinguishable hatchings, all black and white, and precise direction has meaning, are required. I give a simple example of a ...
10
votes
2answers
1k views

Strikeout all text, including enumerated lists

Is it possible to define an environment that strikes out all text, even in enumerated lists? I am basically trying automate what is currently being done manually in Microsoft Word. I have a body of ...
7
votes
2answers
667 views

Rotate and clip shading in TikZ

I'm trying to produce a copy of the right hand side of this picture using TikZ shadings. I thought it would be a simple task but it has proven itself difficult (at least for me). First I couldn't ...

15 30 50 per page