# How can I write this in LaTeX?

I'd like to write this in LaTeX, I just know how to write the equation but not the little text that are shown up and down. • Not about LaTeX, but note that the common definition of error is the other way round: measured value minus the "true" value. See e.g. jcgm.bipm.org/vim/en/2.16.html – Massimo Ortolano Dec 26 '17 at 8:34
• @MassimoOrtolano The formula is right but the annotations are in the wrong order. – Henricus V. Dec 26 '17 at 13:35
• @MassimoOrtolano What if the exact value is greater than the measured value? – Twink Dec 27 '17 at 1:28
• @Twink Uh? It doesn't matter, the error is a signed quantity. – Massimo Ortolano Dec 27 '17 at 9:35
• @MassimoOrtolano Then the order doesn't matter, it can be defined in both ways. – Twink Dec 27 '17 at 18:48

## 1 Answer

The hardest part is done below. The rest you can obtain by an analogy.

\documentclass{article}
\usepackage{amsmath}
\begin{document}

$f(\underbrace{x+\overbrace{\Delta x}^{\substack{{\text{\makebox[0pt]{Measurement}}}\\ \text{error}}}}_{\substack{\text{Exact}\\ \text{value}}})$

\end{document} Please oberve that some correction of spacing is needed, e.g., $f(\,...\,)$.

• Is there an easy way to adjust this in case \left( and \right) were used to contain the argument of f (and not stretch so large as to contain the braces)? – Jānis Lazovskis Dec 26 '17 at 7:21
• @JānisLazovskis Probably beteer then \left ... \right will be \bigl( ... \bigr). – Przemysław Scherwentke Dec 26 '17 at 7:26
• That doesn't fix the problem of, for example, having f(\frac{x}{2} + \Delta x), where \bigl( would be too small and \left( would be too large. – Jānis Lazovskis Dec 26 '17 at 8:47
• @JānisLazovskis You have series: \bigl, \Bigl, \biggl, \Biggl and (-r) and you can choose a version that you like. – Przemysław Scherwentke Dec 26 '17 at 8:55
• But this $f(\underbrace{x}_{\substack{\text{Measured}\\ \text{Value}}})$ looks pretty ugly, not as in the picture. There's too much space between the braces. – Twink Dec 27 '17 at 1:37