While using underbrace in Lyx, the result looks really bad. enter image description here

The left to are done with Ctrl+L option, with \underbrace{Earth}_{E} (or similar), and the right three are \overset{\underbrace{Comparison\, to}}{I} or similar.

As you can see, the brace is broken. How can I fix this?

  • 1
    This is a rendering issue with the viewer. You will see that this disappears when you zoom in/out. That is, at specific zoom levels it appears "broken", while at others it seems fine.
    – Werner
    Jul 24, 2013 at 16:03
  • 1
    Also, you should include amsmath in your document preamble (Document > Settings... > LaTeX Preamble, add \usepackage{amsmath}) and use \underbrace{\text{Earth}}_{S} instead.
    – Werner
    Jul 24, 2013 at 16:04
  • amsmath is there, and this remains in ALL zoom levels, in both evince, and okular
    – Sean
    Jul 24, 2013 at 16:05
  • 1
    I'm sure it won't happen with Adobe Reader. I can't test it now but will later using LyX.
    – Werner
    Jul 24, 2013 at 16:09
  • 1
    okey, thank you, but what to do in a linux machine?
    – Sean
    Jul 24, 2013 at 16:13

1 Answer 1


Thanks for the comments.

Just in case anyone actually is still looking for sorting the issue in LINUX, i am still answering the question myself - please let me know if this is inappropriate:

Removing amsmath, and using txfonts sets the fonts to URW, i love it. BUT TXFONT would cause some characters to go mad, e.g. in mathmode, the character S followed by E would cause a nasty space between S and E. pxfont would solve this. Do not also forget to add mathtools, if you plan to use under- and overbrace /under- and overset.

This solves the issue with Okular.

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.