Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
latex: left-justify table headings
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodifice committed Oct 26, 2017
1 parent 116baef commit b8d5a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mfnf/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def export_table(self, table, out):
#out.write("\\begin{adjustbox}{max width=\\textwidth}")
# TODO intermediate conversion
ncolumns = len(table["content"][0]["content"])
out.write("\n\\begin{longtabu} to \\linewidth {" + ncolumns * 'X' + "} \\\\ \\toprule \n")
out.write("\n\\begin{longtabu} to \\linewidth {" + ncolumns * 'X[l]' + "} \\\\ \\toprule \n")
self(table["content"][0], out)
out.write("\\midrule\n")
self(table["content"][1:], out)
Expand Down

0 comments on commit b8d5a25

Please sign in to comment.