From 79fc453246b4cc09e70216580111ddb89cb492ec Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Sat, 15 Jun 2024 22:26:21 +0200 Subject: [PATCH] New tabular for classes --- helper_config.toml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/helper_config.toml b/helper_config.toml index 852f4ee..c7a9c3a 100644 --- a/helper_config.toml +++ b/helper_config.toml @@ -1,16 +1,20 @@ [classes] header = '\subsubsection{Tier {}}' -row = '''{\footnotesize - \rowcolors{2}{gray!25}{white} - \begin{tabularx}{\textwidth}{|p{0.17\linewidth\hyphenpenalty=9000}lp{0.13\linewidth}p{0.042\linewidth}X|} - \hline\rowcolor{gray!50}\hline - Technique & Niv & Type & Coût & Effet\\ - \hline''' +row = '''\begin{longtblr}{ + colspec = {Q[h,j,wd=3.5cm] Q[c,h, wd=0.52cm] h{2.5cm} Q[c,h,wd=0.75cm] Q[h,j,wd=9cm]}, + hspan = minimal, vspan=minimal, + width = 1\columnwidth, + colsep = 1mm, abovesep=0px,belowsep=0px, leftsep=2px, rightsep=2px, + row{odd} = {gray!25}, row{1} = {gray!50}, + cells = {font = \footnotesize\selectfont} +} + \hline + Technique & Niv & Type & Coût & Effet\\ + \hline''' end = ''' \hline - \end{tabularx} -}''' + \end{longtblr}''' [craft] header_alchemy = ''' Ingrédient & Partie & Rareté & Effet (Principal) & Effets (Catalysé) & Difficulté & Toxicité \\