# How to correctly set functions using \left( and \right)? [duplicate]

If one uses \left( and \right) to set functions an extra space is created between the function name and the brackets. How does one correctly set functions?

\documentclass{article}

\begin{document}
Compare $f(x)$ and $f\left(x\right)$.
\end{document}


Edit

Because of the duplicate tag that was not removed when I edited my question, I created a new question which has a useful answer here: How to correctly set functions with \left( and \right)?

• it is best to avoid \left\right certainly in cases like this where you do not want a large bracket at all – David Carlisle May 16 '16 at 9:49
• You're answering your own question: $f(x)$ is the right way. – egreg May 16 '16 at 9:49
• see tex.stackexchange.com/questions/173717/… and the duplicate question linked from there – David Carlisle May 16 '16 at 9:50
• See Spacing around left and right and Is it ever bad to use \left and \right? and probably other related questions. – Torbjørn T. May 16 '16 at 9:50
• Thanks. I'll check out the other posts. But I don't see why one should not use left( and right) in such cases. Think about arguments that have an increased height. And if one has to fix it in that case why not just use that fixed way generally? – Daniel May 16 '16 at 10:51