TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change the font properties (e.g. size, style, spacing etc) of text above a overbracket in an equation?

For example:

\overbrace{10000r^{n}-750\left(\frac{1-r^{n}}{1-r}\right)}^\text{expression for any year}

I want to change the font size of the sentence expression for any year to become larger.

share|improve this question
Welcome to TeX.SX – Harish Kumar Feb 3 '13 at 10:38
up vote 3 down vote accepted

Regular font size/attribute changing commands work inside the \text{....}:

\overbrace{10000r^{n}-750\left(\frac{1-r^{n}}{1-r}\right)}^\text{\large expression for any year}

enter image description here

share|improve this answer
thanks a lot but I would like to konw where can I get the list of font attribute command? I would like to have more manipulation like the actual font size, spacing etc to it. I am still very new to latex. this is just my second day of using it. – user25196 Feb 3 '13 at 10:56
@user25196: you can use \fontsize{<size>}{<interline skip>}\selectfont as in \text{\sffamily\fontsize{14}{17}\selectfont expression for any year}. Here sizes will be in pt. \sffamily (or \textsf{...}) will produce sans font. Similarly you have \bfseries (or \textbf{...}), \ttfamily, \itshape etc. Sorry for not providing a link. No time now for searching. Please search in this site. – Harish Kumar Feb 3 '13 at 11:15
thanks a lot, you are very helpful – user25196 Feb 3 '13 at 11:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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