## If we're not on the last cell of the row then end with a "&"
#set ($currentCellBlock = $latex.block)
#set ($class = $latex.block.getParameter('class'))
## Support specifying some cell text to be displayed in a smaller font
## Example: |(% class="small" %)cell|
#if ($class.equals('small'))
  {\small ##
#end
${latex.processor.process($latex.block.getChildren())}##
#if ($class.equals('small'))
  }##
#end
#if ($latex.tool.isTableCell($currentCellBlock.getNextSibling()))
  ${SP}&${SP}##
#end