Skip to content

The easiest way to replace $...$ to \(...\) #3418

Answered by James-Yu
sleepymalc asked this question in Q&A
Discussion options

You must be logged in to vote

You can use this regex in vscode to search for all $$ pairs: (?<!\\)\$([^\r]*?)(?<!\\)\$. Then \($1\) or something else can replace them with \( \).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sleepymalc
Comment options

@James-Yu
Comment options

Answer selected by sleepymalc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants