Browse Source

TeX: Mezery v tabulce

jk-bakalarka
Jiří Kalvoda 7 months ago
parent
commit
f86815e8ff
  1. 4
      src/formatitko/tex_generator.py

4
src/formatitko/tex_generator.py

@ -260,9 +260,9 @@ class UCWTexGenerator(OutputGenerator):
self.writeln(r"\halign{\strut"+"&".join([aligns[col[0]] for col in e.colspec])+r"\cr") self.writeln(r"\halign{\strut"+"&".join([aligns[col[0]] for col in e.colspec])+r"\cr")
self.indent_more() self.indent_more()
self.generate(e.head.content) self.generate(e.head.content)
self.writeln(r"\noalign{\hrule}") self.writeln(r"\noalign{\vskip 0.3em\hrule\vskip 0.3em}")
self.generate(e.content[0].content) self.generate(e.content[0].content)
self.writeln(r"\noalign{\hrule}") self.writeln(r"\noalign{\vskip 0.3em\hrule\vskip 0.3em}")
self.generate(e.foot.content) self.generate(e.foot.content)
self.indent_less() self.indent_less()
self.writeln("}") self.writeln("}")

Loading…
Cancel
Save