diff --git a/lib/matplotlib/_mathtext.py b/lib/matplotlib/_mathtext.py index 3cc90e1f7501..7c634fd46c34 100644 --- a/lib/matplotlib/_mathtext.py +++ b/lib/matplotlib/_mathtext.py @@ -2441,6 +2441,8 @@ def c_over_c(self, s, loc, toks): r'tilde': r'\combiningtilde', r'dot': r'\combiningdotabove', r'ddot': r'\combiningdiaeresis', + r'dddot': r'\combiningthreedotsabove', + r'ddddot': r'\combiningfourdotsabove', r'vec': r'\combiningrightarrowabove', r'"': r'\combiningdiaeresis', r"`": r'\combininggraveaccent', diff --git a/lib/matplotlib/_mathtext_data.py b/lib/matplotlib/_mathtext_data.py index e17f1e05903f..92ce1686961b 100644 --- a/lib/matplotlib/_mathtext_data.py +++ b/lib/matplotlib/_mathtext_data.py @@ -1166,6 +1166,8 @@ 'combiningtilde' : 771, 'combiningrightarrowabove' : 8407, 'combiningdotabove' : 775, + 'combiningthreedotsabove' : 8411, + 'combiningfourdotsabove' : 8412, 'to' : 8594, 'succeq' : 8829, 'emptyset' : 8709, diff --git a/tutorials/text/mathtext.py b/tutorials/text/mathtext.py index 97bba56ec426..77f88ca950a4 100644 --- a/tutorials/text/mathtext.py +++ b/tutorials/text/mathtext.py @@ -308,8 +308,10 @@ ``\acute a`` or ``\'a`` :mathmpl:`\acute a` ``\bar a`` :mathmpl:`\bar a` ``\breve a`` :mathmpl:`\breve a` - ``\ddot a`` or ``\''a`` :mathmpl:`\ddot a` ``\dot a`` or ``\.a`` :mathmpl:`\dot a` + ``\ddot a`` or ``\''a`` :mathmpl:`\ddot a` + ``\dddot a`` :mathmpl:`\dddot a` + ``\ddddot a`` :mathmpl:`\ddddot a` ``\grave a`` or ``\`a`` :mathmpl:`\grave a` ``\hat a`` or ``\^a`` :mathmpl:`\hat a` ``\tilde a`` or ``\~a`` :mathmpl:`\tilde a`