| 1 | initial version |
Will something like
class EmptyCell:
def _latex_(self): return ''
EmptyCell = EmptyCell()
html.table([[1, EmptyCell], [3,4]])
work?
| 2 | No.2 Revision |
html.table([[1, ''], [3,4]])
Will should do the trick, or, if like me you've gotten too object-oriented for your own good, you can do something like
class EmptyCell:
def _latex_(self): return ''
EmptyCell Empty = EmptyCell()
html.table([[1, EmptyCell], Empty], [3,4]])
work? which I'm only confessing to having written before even trying '' in the hopes that laughing at the above might help keep someone else from overthinking.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.