Skip to content

Add more stacked tilde variants - #181

Open
MDLC01 wants to merge 1 commit into
typst:mainfrom
MDLC01:stacked-tildes
Open

MDLC01 wants to merge 1 commit into
typst:mainfrom
MDLC01:stacked-tildes

Conversation

@MDLC01

@MDLC01 MDLC01 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

This adds a few symbols composed of stacked tildes and horizontal lines. I explain the reasoning for each change below.

  • tilde.double makes sense in my opinion as a non-semantic variant of approx. I have chosen to only include the .not variant but I am open to including .eq, .equiv, and .hat as well. I am also open to excluding tilde.double from this PR if we are unable to reach a consensus.

  • The rename from minus.tilde to eq.tilde is consistent with the existing tilde.eq, as well as the Unicode character being a Relation, not a Binary, even though its name uses "MINUS" instead of "EQUAL". Same for tilde.eq.tilde.

  • equiv.tilde is consistent with the existing tilde.equiv.

  • approx.equiv is consistent with other uses of .equiv, such as in tilde.equiv.

@MDLC01 MDLC01 added breaking This involves a breaking change waiting on reviews Breaking and non-breaking changes need respectively 3 and 2 reviews labels Jul 22, 2026
@MDLC01

MDLC01 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

This PR is missing three approvals to be merged. If you disagree with a specific change, feel free to express your concern here or on Discord.

@T0mstone

T0mstone commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

I think eq.tilde and equiv.tilde are good.

tilde.tilde is problematic because tilde.eq.tilde is equivalent to tilde.tilde.eq, so I would be against both of these.

And in the abscence of tilde.tilde and tilde.tilde.eq, I'm also on board with approx.equiv.

@MDLC01

MDLC01 commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

tilde.tilde is problematic

I don't understand what you mean: tilde.tilde does not exist as a variant right now, although it is accepted and falls back to tilde.eq.tilde.

@T0mstone

T0mstone commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

I mean that tilde.tilde.eq would be the actual problem, since you'd expect that to be ≊, but it's actually equivalent to tilde.eq.tilde, which would be ⩬.

And I take this as reason enough to throw out tilde.tilde altogether, tho now that I think about it there might be a case for having just tilde.tilde with no other modifiers.

@MDLC01

MDLC01 commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator Author

If you means that tilde.tilde should be a name for ≈, I believe tilde.double would be a more appropriate name.

@T0mstone

T0mstone commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

Oh, right, there's that as well. Even worse then, since adding tilde.eq.tilde would add tilde.tilde as fallback for it, so then you don't even get an error if you misremember tilde.double as tilde.tilde.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This involves a breaking change waiting on reviews Breaking and non-breaking changes need respectively 3 and 2 reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants