Leftbound text in tables #2
@ -40,7 +40,7 @@
 | 
			
		||||
<% set total_width = table.colwidths|sum %>
 | 
			
		||||
<% set colspec_parts = [] %>
 | 
			
		||||
<% 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) %>
 | 
			
		||||
<% endfor  %>
 | 
			
		||||
<% set colspec_string = ''.join(colspec_parts) %>
 | 
			
		||||
 | 
			
		||||
@ -40,7 +40,7 @@
 | 
			
		||||
<% set total_width = table.colwidths|sum %>
 | 
			
		||||
<% set colspec_parts = [] %>
 | 
			
		||||
<% 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) %>
 | 
			
		||||
<% endfor  %>
 | 
			
		||||
<% set colspec_string = ''.join(colspec_parts) %>
 | 
			
		||||
 | 
			
		||||
@ -40,7 +40,7 @@
 | 
			
		||||
<% set total_width = table.colwidths|sum %>
 | 
			
		||||
<% set colspec_parts = [] %>
 | 
			
		||||
<% 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) %>
 | 
			
		||||
<% endfor  %>
 | 
			
		||||
<% set colspec_string = ''.join(colspec_parts) %>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user