This commit is contained in:
2024-07-16 23:20:35 +02:00
parent cb324021b4
commit a1116c8e9f
16 changed files with 888 additions and 355 deletions

View File

@@ -1,8 +1,10 @@
\usepackage[table,xcdraw]{xcolor}
\usepackage{amsmath}
\usepackage{fdsymbol}
\usepackage{tikz}
\usepackage{ifthen}
\usepackage[margin=0.4in,bottom=0.2in]{geometry}
\usepackage{fontspec}
\usepackage[margin=0.4in,bottom=0.35in,top=0.25in]{geometry}
\usepackage[no-math]{fontspec}
\usepackage{xstring}
\usepackage{multirow}
\usepackage{forloop}
@@ -11,13 +13,16 @@
\usepackage{calc}
\usepackage{titlesec}
\usepackage{ragged2e}
\usepackage{fancyhdr}
\usepackage{enumitem}
\usepackage{tabularx}
\usetikzlibrary {shapes.multipart,shapes.misc,shapes.symbols,calc,positioning,fit,backgrounds}
\input{star-wars-icons.sty}
\input{star-wars-talents.sty}
\setmainfont[BoldFont=itcsymbol-bold.otf]{itcsymbol-book.otf}
\setmainfont[BoldFont=itcsymbol-bold.otf,ItalicFont=itcsymbol-italic.otf,BoldItalicFont=itcsymbol-bolditalic.otf]{itcsymbol-book.otf}
\newfontfamily{\tn}{Elektra Medium Pro}
\DeclareTextFontCommand{\texttn}{\tn}
@@ -29,14 +34,15 @@
\definecolor{tablecolor1}{HTML}{b0beba}
\definecolor{tablecolor2}{HTML}{FFFFFF}
\definecolor{tablecolor3}{HTML}{384d3e}
\definecolor{reset}{HTML}{ffffff}
\def\arraystretch{1.2}
\titleformat{\section}
{\fontsize{35pt}{42pt}\tn\color{titlecolor}}{}{0em}{}
\titleformat{\subsection}
{\fontsize{25pt}{30pt}\tn\color{subtitlecolor}}{}{0em}{}
{\fontsize{14pt}{16pt}\tn\color{subtitlecolor}}{}{0em}{}
\titleformat{\subsubsection}
{\fontsize{15pt}{18pt}\tn\color{subtitlecolor}}{}{0em}{}
{\fontsize{10pt}{12pt}\tn\color{subtitlecolor}}{}{0em}{}
\newcounter{undeffed}
\setcounter{undeffed}{0}
@@ -86,7 +92,11 @@
\newlength{\textlength}
\pagestyle{empty}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyhead{}
\fancyfoot{}
\fancyfoot[R]{\raisebox{18pt}{\thepage}}
\def\career{}
\def\careerskills{}
@@ -307,8 +317,7 @@
\tikzpicture
}{%
\endtikzpicture
\vfill
{\ltn\small \bookandpage}
\fancyfoot[C]{\raisebox{18pt}{\bookandpage}}
\endcenter
\newpage
}
@@ -488,8 +497,23 @@
\tikzpicture
}{%
\endtikzpicture
\vfill
{\ltn\small \bookandpage}
\fancyfoot[C]{\raisebox{18pt}{\bookandpage}}
\endcenter
\newpage
}
\newcommand\charPart[2]{\noindent
\begin{tikzpicture}
\node[shape=chamfered rectangle, draw, fill=tablecolor3, text depth=-0.25em, text height=1.25em, inner sep=0pt,outer sep=0pt, minimum height=8mm, minimum width=20mm, thick, chamfered rectangle corners={north west, north east}, font=\tn\color{white}](label){\footnotesize\uppercase{#1}};
\node[shape=circle, thick, draw, above=-1em of label, fill=white]{\large\bfseries #2};
\end{tikzpicture}
}
\newcommand\Characteristics[6]{
\noindent
\begin{center}
\charPart{BRAWN}{#1}\charPart{AGILITY}{#2}\charPart{INTELLECT}{#3}\\\charPart{CUNNING}{#4}\charPart{WILLPOWER}{#5}\charPart{PRESENCE}{#6}%
\end{center}
\hfill\null}