title: How to place a character below a function in Latex?
body: <p>Is it possible to place a character or a formula below an other part of a larger formula in Latex?</p>
  
  <pre><code>foo f(x) = ...
   x
  </code></pre>
  
  <p>In case that this example is not clear. I'd like to make one of my custom functions - just defined as <code>\text{foo}</code> in a math environment - look like one of the built-in functions like sum, min or max which accept parameters that are placed above or below the function symbol.</p>
  
  <p>Simply using <code>\text{foo}_x</code> does not work.</p>