Skip to content

Toggle further math environments  #2310

@clason

Description

@clason

(This is a follow-up to #1858.)

There are further pairs of math environments that would be useful to be able to toggle easily between them. (Some of them are already covered by cs$, but a toggle would be more convenient.)

  • $$ ... $$ -> \[ ... \] (one-way, since since $$ should not be used in LaTeX! note that ts$ currently errors in this situation)
  • \[ ... \] <-> \begin{equation*} ... \end{equation*} (here the direction -> is already possible via cs$, but <- is not).

It's not clear to me whether this would be better included as a three-way toggle, or a second toggle (tsm, for "toggle surrounding math"?).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions