I have an underbrace with too much text. Is is possible to specify the text in the underbrace to take more than one line rather than to create additional space in the equation?
\hspace{2cm} \frac{dy}{dx} = \underbrace{\frac{da}{db}\frac{db}{dx}}_\text{way too much text here} + \underbrace{\frac{da}{dc}\frac{dc}{db}\frac{db}{dx}}_\text{also way too much text here} < 0
\frac{dy}{dx}=\underbrace{\frac{da}{db}\frac{db}{dx}}_{\parbox{4em}{\footnotesize way too much text here}} + \underbrace{\frac{da}{dc}\frac{dc}{db}\frac{db}{dx}}_{\parbox{4em}{\footnotesize way too much text here}} < 0
Thank you for this help. However, it does not achieve what I'm looking for. I'd like to reduce the space after the equal sign and before the plus sign. I'd also like to center align the text beneath the underbrace.
localghost wrote:Wherever you need line breaks, you can use the \parbox command.
\frac{dy}{dx}=\underbrace{\frac{da}{db}\frac{db}{dx}}_{\parbox{4em}{\footnotesize way too much text here}} + \underbrace{\frac{da}{dc}\frac{dc}{db}\frac{db}{dx}}_{\parbox{4em}{\footnotesize way too much text here}} < 0
Simply reduce the size of the box and insert a \centering command inside to achieve what you are after. It's all done with very basic LaTeX elements. Be a bit more proactive.
\frac{dy}{dx} = \underbrace{\frac{da}{db}\frac{db}{dx}}_{\parbox{3em}{\footnotesize\centering way too much text here}} + \underbrace{\frac{da}{dc}\frac{dc}{db}\frac{db}{dx}}_{\parbox{3em}{\footnotesize\centering way too much text here}} < 0
Thank you. I cannot understand how to add an overbrace. I am trying so hard. I cannot get it to compile. I want to add an overbrace over the \frac{da}{db} and put a +. I would so very much appreciate your help.
localghost wrote:The simply reduce the size of the box and insert a \centering command inside to achieve what you are after. It's all done with very basic LaTeX elements. Be a bit more proactive.
\frac{dy}{dx} = \underbrace{\frac{da}{db}\frac{db}{dx}}_{\parbox{3em}{\footnotesize\centering way too much text here}} + \underbrace{\frac{da}{dc}\frac{dc}{db}\frac{db}{dx}}_{\parbox{3em}{\footnotesize\centering way too much text here}} < 0
I'm a bit confused. Up to now I thought we would talk about \underbrace. Please elaborate. Did I miss something? Or did I mix up topics and went to the wrong thread?