diff --git a/templates/template.tex b/templates/template.tex index 508bb9224007..78cfc386e965 100644 --- a/templates/template.tex +++ b/templates/template.tex @@ -8,6 +8,8 @@ \usepackage{setspace} \setstretch{$linestretch$} $endif$ +\usepackage{etoolbox} +\usepackage{xstring} \usepackage{amssymb,amsmath} \usepackage{ifxetex,ifluatex} \usepackage{fixltx2e} % provides \textsubscript @@ -92,6 +94,14 @@ $endif$ $if(tables)$ \usepackage{longtable,booktabs} +% set table to left-aligned +\setlength\LTleft{0pt} +\setlength\LTright{0pt} +% fill the columns to page width +\makeatletter +\patchcmd\LT@array{\tabskip\z@}{\extracolsep{\fill}} +\makeatletter + $endif$ $if(graphics)$ \usepackage{graphicx,grffile} @@ -113,8 +123,8 @@ \fi \hypersetup{breaklinks=true, bookmarks=true, - pdfauthor={$author-meta$}, - pdftitle={$title-meta$}, + pdfauthor={$author$}, + pdftitle={$title$}, colorlinks=true, citecolor=$if(citecolor)$$citecolor$$else$blue$endif$, urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, @@ -326,4 +336,4 @@ $include-after$ $endfor$ -\end{document} +\end{document} \ No newline at end of file