Skip to content

Convert hatches to TikZ patterns - #91

Merged
max-models merged 1 commit into
develfrom
claude/tikz-hatch-patterns
Nov 8, 2026
Merged

max-models merged 1 commit into
develfrom
claude/tikz-hatch-patterns

Conversation

@max-models

@max-models max-models commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

A hatched patch (hatch="///") was converted without its hatch. It now gets a TikZ pattern from the patterns library, drawn as a postaction over the fill in the hatch color: one diagonal becomes north east lines or north west lines, both diagonals or x a crosshatch, + or -| a grid, - and | horizontal and vertical lines, and ., o, O, * dots. The hatch density is not kept. The figure loads the patterns library, so the standalone document compiles; a .tikz file needs \usetikzlibrary{patterns} in the paper. Legend images keep the pattern too.

This is for the section faces of plasma-plots' domain drawings, hatched as in a technical drawing. The second change first described here, patches with holes as one even-odd path, missed this merge and went in with #94.

@max-models max-models mentioned this pull request Nov 8, 2026
@max-models
max-models merged commit 5b3bb75 into devel Nov 8, 2026
30 checks passed
@max-models
max-models deleted the claude/tikz-hatch-patterns branch November 8, 2026 04:10
@max-models max-models changed the title Convert hatches to TikZ patterns Convert hatches to TikZ patterns and keep holes in compound patches Nov 8, 2026
@max-models max-models changed the title Convert hatches to TikZ patterns and keep holes in compound patches Convert hatches to TikZ patterns Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant