mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix for num_tex_symbols
This commit is contained in:
parent
44dc22e5e4
commit
34d8ab81f9
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def get_pattern_symbol_count_pairs() -> List[Tuple[str, int]]:
|
||||||
)
|
)
|
||||||
|
|
||||||
for count, tex_list in count_to_tex_list.items():
|
for count, tex_list in count_to_tex_list.items():
|
||||||
pattern = "|".join(r"\\" + s + r"(\s|\\)" + s for s in tex_list)
|
pattern = "|".join(r"\\" + s for s in tex_list)
|
||||||
pattern_symbol_count_pairs.append((pattern, count))
|
pattern_symbol_count_pairs.append((pattern, count))
|
||||||
|
|
||||||
# Assume all other expressions of the form \thing are drawn with one path
|
# Assume all other expressions of the form \thing are drawn with one path
|
||||||
|
|
Loading…
Add table
Reference in a new issue