We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60be73c commit eaa46c8Copy full SHA for eaa46c8
src/tikzplotlib/_axes.py
@@ -20,6 +20,7 @@ def _siunitx_texification(string: str) -> str:
20
string = re.sub(r"\sAngstrom", r" \\si{\\angstrom}", string)
21
string = re.sub(r"\sg/s", r" \\si{\\gram\\per\\second}", string)
22
string = re.sub(r"\shour", r" \\si{\\hour}", string)
23
+ string = re.sub(r"(\d+(\.\d+)?)\s?cc", r"\\SI{\1}{\\cc}", string)
24
string = re.sub(r"\scc", r" \\si{\\cc}", string)
25
string = re.sub(r"\s\\%", r" \\si{\\percent}", string)
26
string = re.sub(r"\sg/um", r" \\si{\\g\\per\\um}", string)
0 commit comments