Leftbound text in tables
This commit is contained in:
parent
48ec7ae8cb
commit
4f46e6b742
@ -40,7 +40,7 @@
|
|||||||
<% set total_width = table.colwidths|sum %>
|
<% set total_width = table.colwidths|sum %>
|
||||||
<% set colspec_parts = [] %>
|
<% set colspec_parts = [] %>
|
||||||
<% for width in table.colwidths %>
|
<% for width in table.colwidths %>
|
||||||
<% set part = 'p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
|
<% set part = '>{{\\raggedright\\arraybackslash}}p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
|
||||||
<% set colspec_parts = colspec_parts.append(part) %>
|
<% set colspec_parts = colspec_parts.append(part) %>
|
||||||
<% endfor %>
|
<% endfor %>
|
||||||
<% set colspec_string = ''.join(colspec_parts) %>
|
<% set colspec_string = ''.join(colspec_parts) %>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<% set total_width = table.colwidths|sum %>
|
<% set total_width = table.colwidths|sum %>
|
||||||
<% set colspec_parts = [] %>
|
<% set colspec_parts = [] %>
|
||||||
<% for width in table.colwidths %>
|
<% for width in table.colwidths %>
|
||||||
<% set part = 'p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
|
<% set part = '>{{\\raggedright\\arraybackslash}}p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
|
||||||
<% set colspec_parts = colspec_parts.append(part) %>
|
<% set colspec_parts = colspec_parts.append(part) %>
|
||||||
<% endfor %>
|
<% endfor %>
|
||||||
<% set colspec_string = ''.join(colspec_parts) %>
|
<% set colspec_string = ''.join(colspec_parts) %>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<% set total_width = table.colwidths|sum %>
|
<% set total_width = table.colwidths|sum %>
|
||||||
<% set colspec_parts = [] %>
|
<% set colspec_parts = [] %>
|
||||||
<% for width in table.colwidths %>
|
<% for width in table.colwidths %>
|
||||||
<% set part = 'p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
|
<% set part = '>{{\\raggedright\\arraybackslash}}p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
|
||||||
<% set colspec_parts = colspec_parts.append(part) %>
|
<% set colspec_parts = colspec_parts.append(part) %>
|
||||||
<% endfor %>
|
<% endfor %>
|
||||||
<% set colspec_string = ''.join(colspec_parts) %>
|
<% set colspec_string = ''.join(colspec_parts) %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user