diff --git a/misc/preamble.tex b/misc/preamble.tex index 762a8458e812a751f3e94457261845ffbb519c12..8ca426ae74f1c739fd4c885fa992ca6ee1260066 100644 --- a/misc/preamble.tex +++ b/misc/preamble.tex @@ -5,6 +5,8 @@ \usepackage[utf8]{inputenc} % support of UTF-8 input text \usepackage[T1]{fontenc} % proper encoding of the output font \usepackage{lmodern} % original CM font doesn't work well with [T1]{fontenc} +% use different sans font +\usepackage[semibold]{sourcesanspro} % set language \ifenglish% @@ -47,9 +49,22 @@ \usepackage{multirow} % add support for multi-rows \usepackage{multicol} % add support for multi-columns \usepackage{longtable} % long tables can break pages -\usepackage{tabularx} % allows to fill table to linewidth -\newcolumntype{Y}{>{\centering\arraybackslash}X} % Y is centered X -\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} % P is p in centered +\usepackage{array} % provides >{} and <{} syntax for column definition +% column types +% (l)eft, (c)enter, (r)ight aligned +% p{<length>} left alined with defined width (paragraph) +% X left aligned with max possible width +\usepackage{tabularx} +% Y centered with max possible width +\newcolumntype{Y}{>{\centering\arraybackslash\hspace{0pt}}X} +% Z right aligned with max possible width +\newcolumntype{Z}{>{\raggedleft\arraybackslash}X} +% x alias of p for consistency +\newcolumntype{x}[1]{p{#1}} +% y{<length>} centered with defined width +\newcolumntype{y}[1]{>{\centering\arraybackslash}p{#1}} +% z{<length>} centered with defined width +\newcolumntype{z}[1]{>{\raggedleft\arraybackslash}p{#1}} \usepackage[flushleft]{threeparttable} % text below tables % Math stuff and units diff --git a/paper.pdf b/paper.pdf index fb7b3c06c552907b11501c59b491dde5399563b3..43c50d4b35ff1979c1a98d04fa6868a867719212 100644 Binary files a/paper.pdf and b/paper.pdf differ