Skip to content

Draw straight arrows with TikZ tips and map the diameter sign - #88

Merged
max-models merged 1 commit into
develfrom
claude/tikz-arrow-tips
Nov 7, 2026
Merged

max-models merged 1 commit into
develfrom
claude/tikz-arrow-tips

Conversation

@max-models

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

Copy link
Copy Markdown
Owner

A FancyArrowPatch with a straight connection and one of the ->, <-, <-> arrow styles, or their filled forms (-|>, <|-, <|-|>), becomes a \draw with Straight Barb or Triangle tips (arrows.meta, which tikzfigure loads) of the size Matplotlib gives them, the head sizes of the style times mutation_scale, shortened by shrinkA and shrinkB. Curved connections and other arrow styles are drawn as the paths Matplotlib renders, as before. The dimension lines of plasma-plots' plot_domain are such arrows, so they are now editable TikZ arrows rather than polylines.

The diameter sign ⌀ (U+2300) becomes $\varnothing$, with amssymb in the standalone document, for the diameters of round objects in those drawings.

A FancyArrowPatch with a straight connection and one of the ->, <-, <-> arrow styles (or
their filled forms) becomes a \draw with Straight Barb or Triangle tips of the size Matplotlib
gives them, shortened by shrinkA and shrinkB; curved connections and other styles stay paths.
The diameter sign (U+2300) becomes \varnothing, with amssymb in the standalone document.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RmZJyiD131fQgcGD6jCm7W
@max-models
max-models merged commit bdf3521 into devel Nov 7, 2026
32 checks passed
@max-models
max-models deleted the claude/tikz-arrow-tips branch November 7, 2026 15:59
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.

2 participants