This commit is contained in:
2024-07-16 14:01:50 +02:00
parent bb067fcba2
commit cf1ff20c38
8 changed files with 446 additions and 301 deletions

View File

@@ -1,3 +1,4 @@
\usepackage[table,xcdraw]{xcolor}
\usepackage{tikz}
\usepackage{ifthen}
\usepackage[margin=0.4in,bottom=0.2in]{geometry}
@@ -8,19 +9,35 @@
\usepackage{xparse}
\usepackage{multicol}
\usepackage{calc}
\usepackage{titlesec}
\usepackage{ragged2e}
\usetikzlibrary {shapes.multipart,shapes.misc,shapes.symbols,calc,positioning,fit,backgrounds}
\input{star-wars-icons.sty}
\input{star-wars-talents.sty}
\setmainfont{itcsymbol-book.otf}
\setmainfont[BoldFont=itcsymbol-bold.otf]{itcsymbol-book.otf}
\newfontfamily{\tn}{Elektra Medium Pro}
\DeclareTextFontCommand{\texttn}{\tn}
\newfontfamily{\ltn}{Elektra Light Pro}
\DeclareTextFontCommand{\textltn}{\ltn}
\definecolor{titlecolor}{HTML}{384d3e}
\definecolor{subtitlecolor}{HTML}{4f2829}
\definecolor{tablecolor1}{HTML}{b0beba}
\definecolor{tablecolor2}{HTML}{FFFFFF}
\definecolor{tablecolor3}{HTML}{384d3e}
\def\arraystretch{1.2}
\titleformat{\section}
{\fontsize{35pt}{42pt}\tn\color{titlecolor}}{}{0em}{}
\titleformat{\subsection}
{\fontsize{25pt}{30pt}\tn\color{subtitlecolor}}{}{0em}{}
\titleformat{\subsubsection}
{\fontsize{15pt}{18pt}\tn\color{subtitlecolor}}{}{0em}{}
\newcounter{undeffed}
\setcounter{undeffed}{0}
\newcounter{x}
@@ -89,7 +106,8 @@
double,
inner xsep=-2pt,
inner ysep=0pt,
fill=white
fill=white,
align=left
},
talentname/.style={
chamfered rectangle,
@@ -201,13 +219,13 @@
(\alph{talentx}\alph{talenty})
{
\settowidth{\textlength}{\footnotesize \texttn{{\uppercase{#1}}}}%
\tabular{p{3cm}}
\rule{0pt}{13pt}\\
\tabular{{>{\raggedright}p{3cm}}}
\vspace*{7pt}
\ifdim\nodeheight > 15pt
\rule{0pt}{8pt} \\
\rule{0pt}{7pt} \\
\fi
\ifdim\nodeheight > 30pt
\rule{0pt}{8pt} \\
\ifdim\nodeheight > 28pt
\rule{0pt}{7pt} \\
\fi
\scriptsize #2 \\
\endtabular