Commit 9cc114df authored by Marthym's avatar Marthym

feat(style): Review the cover and page style

parent 9dbd3d95
\begin{titlepage}
\newcommand*{\TitleFont}{%
\usefont{\encodingdefault}{\rmdefault}{b}{n}%
\fontsize{30}{40}%
\color{white}
\jedifont
\selectfont}
\begin{center}
\hspace*{\vfill}
\noindent\fontsize{50}{60}\jedifont{Star Wars}\\
\noindent\fontsize{50}{70}\jedifont{\$}
\noindent\fontsize{50}{70}\jedifont{\#}\\
\noindent\fontsize{50}{60}\jedifont{Redemption}
\hspace*{\vfill}
\end{center}
\hspace*{\vfill}
\maketitle
\noindent\makebox[\textwidth]{\includegraphics[width=\paperwidth]{img/preambule/cover-bg.png}}
\end{titlepage}
......@@ -11,10 +11,10 @@
\RequirePackage[french]{babel} % French language
\RequirePackage[margin=1.5cm]{geometry} % Page margin
\RequirePackage{lettrine}
\RequirePackage[export]{adjustbox}
\RequirePackage[bottom]{footmisc} % Note de bas de page en bas plutôt que juste après le texte
\RequirePackage{enumitem}
\RequirePackage{lettrine}
\RequirePackage{hyperref}
\hypersetup{
......@@ -38,10 +38,22 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Backgrounding
\RequirePackage{eso-pic}
\newcommand\AtTextUpperRight[1]{\AtTextUpperLeft{%
\makebox[\textwidth][r]{#1}}}
\AddToShipoutPictureBG{%
\AtPageLowerLeft{\includegraphics[width=\paperwidth,height=\paperheight]{img/bg-a4-odd.jpg}}
\ifnum\value{page}>1
\AtPageLowerLeft{\includegraphics[width=\paperwidth,height=\paperheight]{img/bg-a4-odd.jpg}}
\fi
}
\AddToShipoutPicture{
\ifthenelse{\isodd{\thepage}}
{\AtTextUpperLeft{\hspace{1.5\baselineskip}\hspace{\textwidth}\rotatebox{-90}{\scalebox{1.5}{\aurebesh\textcolor{uppergold}{\leftmark}}}}}
{\AtTextUpperLeft{\hspace{-2\baselineskip}\rotatebox{-90}{\scalebox{1.5}{\aurebesh\textcolor{uppergold}{\leftmark}}}}}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts
\RequirePackage[quiet]{fontspec}
......@@ -60,6 +72,10 @@
Extension=.otf
]{Aurebesh}
% Lettrine
\renewcommand{\LettrineFontHook}{\jedifont}
\renewcommand{\DefaultNindent}{5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Columns setup
\setlength{\columnsep}{1cm}
......@@ -83,6 +99,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Footer - Must be before sectioning ...
\RequirePackage{fancyhdr} % Adaptation of the footers
\thispagestyle{empty}
\pagestyle{fancy}
\footskip = 20pt %push the footer down so it fits with the decal from the bg-img
......@@ -96,12 +114,12 @@
\fancyfoot[LE]{
\textcolor{uppergold}{\thepage}
\hspace*{0.7cm}
\hspace*{0.2cm}
\raisebox{-10pt}{\textcolor{uppergold}{\nouppercase\leftmark}}
}
\fancyfoot[RO]{
\raisebox{10pt}{\textsc{\textcolor{uppergold}{\nouppercase\rightmark}}}
\raisebox{-10pt}{\textsc{\textcolor{uppergold}{\nouppercase\rightmark}}}
\hspace*{1cm}
\textcolor{uppergold}{\thepage}
}
......@@ -115,7 +133,7 @@
% Adjust section and subsection colors and font (change 0em to 1em if you commented the removal of section numbering)
\titleformat{\section}
{\color{titlered}\bfseries\scshape\Huge\raggedright}{\thesection}{0em}{}
{\color{titlered}\bfseries\scshape\jedifont\Huge\raggedright}{\thesection}{0em}{}
\titleformat{\subsection}
{\color{titlered}\scshape\Large\raggedright}{\thesubsection}{0em}{}[{\titleline{\color{undergold}\titlerule[1pt]}}]
......
@manual{jdrp-starwars,
title = "Star Wars: Freedom Expansion",
title = "Star Wars Redemption",
author = "Marthym",
url = "https://github.com/Marthym/jdrp-sw-freedom-expension",
year = "2016",
......@@ -58,12 +58,12 @@
url = "https://github.com/evanbergeron/DND-5e-LaTeX-Template"
}
@online{website:feuerkorn-deviantart,
author = "feuerkorn",
title = "StarWars: Sith vs. Jedi",
month = "02",
year = "2008",
url = "http://feuerkorn.deviantart.com/art/StarWars-Sith-vs-Jedi-78586171"
@online{website:michelefrigo-deviantart,
author = "michelefrigo",
title = "Sheeya the Jedi Knight",
month = "11",
year = "2011",
url = "http://michelefrigo.deviantart.com/art/Sheeya-the-Jedi-Knight-267771446"
}
@online{website:acaciathorn-deviantart,
......
......@@ -10,15 +10,18 @@
\newcommand*{\docversion}{\citefield{jdrp-starwars}{version}}
\newcommand*{\doctitle}{~\citetitle{jdrp-starwars}~}
\newcommand*{\swfe}{{\jedifont \doctitle}}
\title{\TitleFont \doctitle \normalsize \\v\docversion}
\author{}
\date{}
\hypersetup{
pdftitle={Star Wars Redemption},
pdfsubject={Savage Worlds adaptation for Star Wars},
pdfauthor={Marthym},
pdfkeywords={starwars,savage,worlds,jdr},
pdfcopiright={This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.}
}
\begin{document}
\AddToShipoutPicture*{\FirstPageBackground}
\include{chapitres/preambule/couverture}
\AddToShipoutPicture{\MainPageBackground}
\include{chapitres/preambule/preface}
\include{chapitres/regles/regles}
\include{chapitres/personnages/personnages}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment