${'$'}{\cal W}(y,z)$
or perhaps clearer:
${'${\cal W}(y,z)$'}
> --
> You received this message because you are subscribed to the Google Groups "Mako Templates for Python" group.
> To post to this group, send email to mako-d...@googlegroups.com.
> To unsubscribe from this group, send email to mako-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mako-discuss?hl=en.
>
\( \cal W}(y,z) \)
(caveat: \(\) is "fragile" whereas $$ is robust, but unless you're
putting formulas in section header names or such you're probably ok)
Also if you're finding so many $'s in your documents that its
confusing, you could also define a mako filter
<%!
def math(text):
return "\begin{math}" + text + "\end{math}"
%>
${" \cal W}(y,z) " |math}
--
Deron Meranda
http://deron.meranda.us/