diff --git a/convertion_templates_pandoc/template_pdf-via-xelatex/template_first-skyfritt-example.tex b/convertion_templates_pandoc/template_pdf-via-xelatex/template_first-skyfritt-example.tex index 81aa601..6875836 100644 --- a/convertion_templates_pandoc/template_pdf-via-xelatex/template_first-skyfritt-example.tex +++ b/convertion_templates_pandoc/template_pdf-via-xelatex/template_first-skyfritt-example.tex @@ -36,6 +36,7 @@ \usepackage{xcolor} \definecolor{accent}{HTML}{2C3E50} \definecolor{muted}{HTML}{7F8C8D} +\definecolor{vertbar}{HTML}{297ab3} %% ── Hyperlinks ──────────────────────────────────────────────────────────────── \usepackage[ @@ -139,6 +140,7 @@ $endif$ \setkeys{Gin}{width=\maxwidth, keepaspectratio} \usepackage{etoolbox} +\usepackage{tikz} %% ── Code listings ───────────────────────────────────────────────────────────── \usepackage{fancyvrb} @@ -177,12 +179,17 @@ $endif$ %% ── Title page ──────────────────────────────────────────────────────────────── \begin{titlepage} \thispagestyle{empty} - \centering + %% ── Full-height left vertical bar ───────────────────────────────────────── + \begin{tikzpicture}[remember picture, overlay] + \fill[vertbar] (current page.north west) + rectangle ++(1.27cm, -29.70cm); + \end{tikzpicture} + \raggedright \vspace*{4cm} {\Huge\bfseries\color{accent} $title$ \par} \vspace{0.5cm} - \textcolor{muted}{\rule{0.4\textwidth}{0.4pt}} + {\color{vertbar}\rule{3.31cm}{0.2cm}} \vspace{1cm} $if(subtitle)$ @@ -203,7 +210,7 @@ $endif$ $if(description)$ \begin{minipage}{0.7\textwidth} - \centering\small\textcolor{muted}{$description$} + \raggedright\small\textcolor{muted}{$description$} \end{minipage} $endif$