#if (!$latex.block.isInline())


  \begin{equation}
  ${latex.block.content}
  \end{equation}##
#else
  $${latex.block.content}$##
#end