3 Commits

Author SHA1 Message Date
4f46e6b742 Leftbound text in tables 2025-01-17 09:59:00 +00:00
48ec7ae8cb Update 'README.md' 2024-10-09 07:42:24 +00:00
ff8a96ad1a Merge pull request 'add templates for pdf creation' (#1) from init_templates into main
Reviewed-on: #1
2024-10-09 07:41:28 +00:00
4 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,3 @@
# docs-templates
# Helpcenter PDF Templates
This repo hosts templates for helpcenter pdf creation
This repo hosts templates for helpcenter PDF creation.

View File

@ -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) %>

View File

@ -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) %>

View File

@ -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) %>