0

So if I want to apply some function to a big and complex expression, I'd like to use \left( \right) because it scales the parentheses to match the expressions height. However, when doing this, extra space is introduced.

Compare f(x) and f\left(x\right):
enter image description here

Source:

\documentclass[12pt]{article}
\usepackage{amsmath}
\setlength{\parindent}{0em}
\begin{document}
\( f(x) \) (small) \\ \( f\left(x\right) \) (large)
\end{document}
  • see the mleftright package, the extra spacing is sadly a consequence of how \left....\right works. (of course, one would never use \left...\right in the example you give here, but I understand your point) – daleif Mar 03 '21 at 16:16
  • @campa No, but the comment by @daleif suggesting mleftright has fully resolved my problem. – schuelermine Mar 03 '21 at 16:27
  • That's actually one of the answers to that question. – campa Mar 03 '21 at 16:30
  • Ah, I hadn't seen. Thanks. In that case, yes, it does answer my question. – schuelermine Mar 03 '21 at 16:31

0 Answers0