Skip to content

Commit 3e29b1d

Browse files
Peter JohnsonPeter Johnson
authored andcommitted
update latex template for tables
1 parent 7a69f0c commit 3e29b1d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/template.latex

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,19 @@ $for(header-includes)$
192192
$header-includes$
193193
$endfor$
194194

195+
$for(header-includes)$
196+
$header-includes$
197+
$endfor$
198+
199+
% Add table-related LaTeX settings
200+
\usepackage{longtable,booktabs,array}
201+
\usepackage{calc}
202+
\renewcommand{\arraystretch}{1.2} % Adjust row height
203+
\setlength{\tabcolsep}{4pt} % Adjust column spacing
204+
205+
% Define new column types for wrapping text with fixed widths
206+
\newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1\textwidth}} % Left-aligned with wrapping
207+
195208
$if(title)$
196209
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
197210
$endif$

0 commit comments

Comments
 (0)