10000 Add \dddot and \ddddot as accents in mathtext (#20605) · matplotlib/matplotlib@0dd603f · GitHub
[go: up one dir, main page]

Skip to content

Commit 0dd603f

Browse files
authored
Add \dddot and \ddddot as accents in mathtext (#20605)
1 parent 3e327dd commit 0dd603f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2441,6 +2441,8 @@ def c_over_c(self, s, loc, toks):
24412441
r'tilde': r'\combiningtilde',
24422442
r'dot': r'\combiningdotabove',
24432443
r'ddot': r'\combiningdiaeresis',
2444+
r'dddot': r'\combiningthreedotsabove',
2445+
r'ddddot': r'\combiningfourdotsabove',
24442446
r'vec': r'\combiningrightarrowabove',
24452447
r'"': r'\combiningdiaeresis',
24462448
r"`": r'\combininggraveaccent',

lib/matplotlib/_mathtext_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,8 @@
11661166
'combiningtilde' : 771,
11671167
'combiningrightarrowabove' : 8407,
11681168
'combiningdotabove' : 775,
1169+
'combiningthreedotsabove' : 8411,
1170+
'combiningfourdotsabove' : 8412,
11691171
'to' : 8594,
11701172
'succeq' : 8829,
11711173
'emptyset' : 8709,

tutorials/text/mathtext.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,10 @@
308308
``\acute a`` or ``\'a`` :mathmpl:`\acute a`
309309
``\bar a`` :mathmpl:`\bar a`
310310
``\breve a`` :mathmpl:`\breve a`
311-
``\ddot a`` or ``\''a`` :mathmpl:`\ddot a`
312311
``\dot a`` or ``\.a`` :mathmpl:`\dot a`
312+
``\ddot a`` or ``\''a`` :mathmpl:`\ddot a`
313+
``\dddot a`` :mathmpl:`\dddot a`
314+
``\ddddot a`` :mathmpl:`\ddddot a`
313315
``\grave a`` or ``\`a`` :mathmpl:`\grave a`
314316
``\hat a`` or ``\^a`` :mathmpl:`\hat a`
315317
``\tilde a`` or ``\~a`` :mathmpl:`\tilde a`

0 commit comments

Comments
 (0)
0