I am trying to create a custom command that will display the Fourier transform of a given argument, with subscripts and superscripts in the correct position.
What I mean is something like the following,
Code: Select all
\ft{h_c^*} = \tilde{h}_c^*(f)
Code: Select all
\newcommand{\ft}[2][f]{\ensuremath{\tilde{#2}\left(#1\right)}}
Is there a way to break the ordering of the sub/superscript?