Merge pull request 'Leftbound text in tables' (#2) from leftbound-tables into main
Reviewed-on: #2 Reviewed-by: tischrei <tino.schreiber@t-systems.com>
This commit is contained in:
commit
ccad7815ae
@ -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