The combination of Libertinus Math and \underbracket (provided by mathtools) produces unreasonably large brackets if the argument of \underbracket becomes too long.


(One can probably also argue that in the second to fourth example the bracket is a bit too short.)

The same output occurs with \Uunderbracket (provided by unicode-math) instead of \underbracket. The problem also occurs with \overbracket and \Uoverbracket.

enter image description here

The problem does not occur with \underbrace or \overbrace (but one could again argue that some of the braces are too short).

enter image description here enter image description here

It this a problem with Libertinus Math (which I would then report to the developer) or a problem with mathtools / unicode-math (in which case I don’t know what to do about it)?


\setmathfont{Libertinus Math}


  + \underbracket{ab}
  + \underbracket{abc}
  + \underbracket{abcd}
  + \underbracket{abcde}
  + \underbracket{abcdeh}
  + \underbracket{abcdehi}
  + \underbracket{abcdehik}
  + \Uunderbracket{ab}
  + \Uunderbracket{abc}
  + \Uunderbracket{abcd}
  + \Uunderbracket{abcde}
  + \Uunderbracket{abcdeh}
  + \Uunderbracket{abcdehi}
  + \Uunderbracket{abcdehik}
  + \overbracket{ab}
  + \overbracket{abc}
  + \overbracket{abcd}
  + \overbracket{abcde}
  + \overbracket{abcdeh}
  + \overbracket{abcdehi}
  + \overbracket{abcdehik}
  + \Uoverbracket{ab}
  + \Uoverbracket{abc}
  + \Uoverbracket{abcd}
  + \Uoverbracket{abcde}
  + \Uoverbracket{abcdeh}
  + \Uoverbracket{abcdehi}
  + \Uoverbracket{abcdehik}
  + \underbrace{ab}
  + \underbrace{abc}
  + \underbrace{abcd}
  + \underbrace{abcde}
  + \underbrace{abcdeh}
  + \underbrace{abcdehi}
  + \underbrace{abcdehik}
  + \overbrace{ab}
  + \overbrace{abc}
  + \overbrace{abcd}
  + \overbrace{abcde}
  + \overbrace{abcdeh}
  + \overbrace{abcdehi}
  + \overbrace{abcdehik}

  • It seems a problem specific to Libertinus Math.
    – egreg
    May 6, 2020 at 22:49
  • These “large” symbols are pieced together by repeated rules (in the middle). Libertinus Math’s middle rules were rather inconsistently designed (some were too long while some were too short). May 7, 2020 at 18:50

1 Answer 1


This was apparently a problem with the Libertinus Math font. Some recent changes fix the problem, and the output now looks as follows.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.