From 3e29b1da16c9ffcade13005bab5af1fd06f12a51 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 9 Jan 2025 21:09:18 +0000 Subject: [PATCH 1/2] update latex template for tables --- src/template.latex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/template.latex b/src/template.latex index c635c61..a4a4cc5 100644 --- a/src/template.latex +++ b/src/template.latex @@ -192,6 +192,19 @@ $for(header-includes)$ $header-includes$ $endfor$ +$for(header-includes)$ +$header-includes$ +$endfor$ + +% Add table-related LaTeX settings +\usepackage{longtable,booktabs,array} +\usepackage{calc} +\renewcommand{\arraystretch}{1.2} % Adjust row height +\setlength{\tabcolsep}{4pt} % Adjust column spacing + +% Define new column types for wrapping text with fixed widths +\newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1\textwidth}} % Left-aligned with wrapping + $if(title)$ \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} $endif$ From 1f12aafae3cab3ecceb40ad25c569c40634df167 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 9 Jan 2025 21:12:08 +0000 Subject: [PATCH 2/2] latex template --- src/template.latex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/template.latex b/src/template.latex index a4a4cc5..a5aa07d 100644 --- a/src/template.latex +++ b/src/template.latex @@ -192,10 +192,6 @@ $for(header-includes)$ $header-includes$ $endfor$ -$for(header-includes)$ -$header-includes$ -$endfor$ - % Add table-related LaTeX settings \usepackage{longtable,booktabs,array} \usepackage{calc}