3

How could I make horizontal curly brace underlying parts of a equation so that I could write another formula under that part of specific equation. PS: I do not want to add a text under the curly brace.

Here is my code:

 \[
 \tilde{Y}^I+\tilde{Y}^X =
 \biggl[\delta_Y \biggl(\Lambda_K \frac{\tilde{K}}{\mu}\biggr)^{-\rho Y} +  
    (1-\delta_Y )(\Lambda^T_l L^F)^{-\rho Y}
        \biggr]^{-1/\rho Y}-S_{YCZ} \tilde{C}^H - 
 \underbrace{\frac{S_{GCF}}{1-S_{GCF}}\tilde{C}^H}_\text{\tilde{C}^{G}} 
 \]

What I want to get:

enter image description here

4
  • Well, just write a formula. What is the problem?
    – Bernard
    Jan 19, 2017 at 12:11
  • it doesn't work !!! look at my code , i had used text command to add the formula under the brace !!
    – haithem
    Jan 19, 2017 at 12:13
  • For me it works. Could you post a full code demonstrating the problem?
    – Bernard
    Jan 19, 2017 at 12:19
  • 1
    \text is for, well, text. Remove it
    – egreg
    Jan 19, 2017 at 12:58

1 Answer 1

4

You have errors in \underbrace command. Correct is:

\documentclass{article}
\usepackage{mathtools}

\begin{document}
 \[
 \tilde{Y}^I+\tilde{Y}^X = 
    \biggl[\delta_Y \biggl(\Lambda_K \frac{\tilde{K}}{\mu}\biggr)^{-\rho Y} + 
            (1-\delta_Y )(\Lambda^T_l L^F)^{-\rho Y}
           \biggr]^{-1/\rho Y}-S_{YCZ} \tilde{C}^H -
    \underbrace{\frac{S_{GCF}}{1-S_{GCF}}\tilde{C}^H}_{\tilde{C}^{G}}\,,
 \]
 \end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .