This question already has an answer here:

I need some help:

Is it anyhow possible in Latex to make some square brackets under some Math-Text like:

2x^2 + 4x - 3 = 0


I know about the underbrace-command but I need square brackets.

I hope that someone can help me.

marked as duplicate by Henri Menke, Stefan Pinnow, Troy, Mensch, TeXnician May 20 '18 at 11:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


like this:

enter image description here

with use of mathtools:


\underbracket{2x^2} + 4x - 3 = 0
\underbracket[0.5pt][5pt]{2x^2} + 4x - 3 = 0

for more details see documentation for the package mathtools, page 13

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