"vscode:/vscode.git/clone" did not exist on "eae214fcc945b705f5effcf0d82f7ff089bb6727"
Commit dfd13fa2 authored by myhloli's avatar myhloli
Browse files

fix(mfr): add LaTeX symbol replacements for fint and up

- Add regex patterns for replacing LaTeX symbols \fint and \up with their Unicode equivalents
parent 100e9c17
...@@ -343,7 +343,9 @@ REPLACEMENTS_PATTERNS = { ...@@ -343,7 +343,9 @@ REPLACEMENTS_PATTERNS = {
re.compile(r'\\slash'): r'/', re.compile(r'\\slash'): r'/',
re.compile(r'\\textperthousand'): r'‰', re.compile(r'\\textperthousand'): r'‰',
re.compile(r'\\sun'): r'☉', re.compile(r'\\sun'): r'☉',
re.compile(r'\\textunderscore'): r'\\_' re.compile(r'\\textunderscore'): r'\\_',
re.compile(r'\\fint'): r'⨏',
re.compile(r'\\up '): r'\\ ',
} }
QQUAD_PATTERN = re.compile(r'\\qquad(?!\s)') QQUAD_PATTERN = re.compile(r'\\qquad(?!\s)')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment