Correct vertical spacing of multiline X columns
This commit is contained in:
parent
5255296dba
commit
659b2a0534
@ -183,7 +183,7 @@ class LaTeXRenderer(mistletoe.latex_renderer.LaTeXRenderer):
|
|||||||
|
|
||||||
def render_table_row(self, token):
|
def render_table_row(self, token):
|
||||||
cells = [(token.children[0].label + '.') if token.children[0].label else ''] + [self.render_table_cell(child) for child in token.children]
|
cells = [(token.children[0].label + '.') if token.children[0].label else ''] + [self.render_table_cell(child) for child in token.children]
|
||||||
return ' & '.join(cells) + ' \\\\'
|
return ' & '.join(cells) + ' \\strut\\\\'
|
||||||
|
|
||||||
def render_table_cell(self, token):
|
def render_table_cell(self, token):
|
||||||
return self.render_inner(token)
|
return self.render_inner(token)
|
||||||
|
Loading…
Reference in New Issue
Block a user