I want to define a macro, call it
\func, so that
\func will output
\func[i] will output
what is the easiest way to achieve this?
I know there are other questions that address this issue - I guess one of them is exactly my question and I just don't get it :)