\underbrace question

How i can put text to \underbrace? I’ve copied and pasted some LaTex examples but haven’t gotten it to work

e.g.
x^n = n x n x … x n
_________/
n times

Sorry if it’s something basic but I’m new to this.

Hi @Alejandro and welcome to the forum.
I think the menu item Insert->Accent below->Underbrace does what you want. Then insert a subscript after inserting the underbrace and the subscript will go below. “n times” can be inserted as text (inside math) while the variable n can be inserted as inline math (inside the text, which is inside math).

1 Like

Thank you very much @pireddag !!!
I could do it.