Math & ScienceUnderbrackets

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Solaris
Posts: 3
Joined: Fri Apr 27, 2012 2:07 pm

Underbrackets

Post by Solaris »

Does anyone know how you write these brackets under certain parts of an equation?
underbrackets.png
underbrackets.png (6.99 KiB) Viewed 9954 times

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Underbrackets

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Just an advice: if you would post also the code of the formula, there would be agood chance that somebody would return the extended code including the underbrackets, if he doesn't have to typeset the whole formula himself.

Stefan
LaTeX.org admin
Solaris
Posts: 3
Joined: Fri Apr 27, 2012 2:07 pm

Re: Underbrackets

Post by Solaris »

Thanks for the welcome :)
Sorry, this is just a print-screen from a document online, I don't know what the code for it is. I don't need to know how typeset the whole thing, just how to get the 'underbrackets' to work
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Underbrackets

Post by Stefan Kottwitz »

The mathtools package provides an \underbracket command:

Code: Select all

\documentclass{article}
\usepackage{mathtools}
\begin{document}
\[
  B(x)\underbracket[0.5pt]{A(z)}C(w)
\]
\end{document}
The sytnax is \underbracket[rule thickness][bracket height]{argument}, i.e. the first two arguments are optional, for fine-tuning.

Stefan
LaTeX.org admin
Solaris
Posts: 3
Joined: Fri Apr 27, 2012 2:07 pm

Re: Underbrackets

Post by Solaris »

Thanks, that will work :)
Post Reply