diff --git a/dnd-5e/assets/cover-splotch.pdf b/dnd-5e/assets/cover-splotch.pdf new file mode 100644 index 0000000..3295bb7 Binary files /dev/null and b/dnd-5e/assets/cover-splotch.pdf differ diff --git a/dnd-5e/assets/cover-splotch.png b/dnd-5e/assets/cover-splotch.png new file mode 100644 index 0000000..1c6e51f Binary files /dev/null and b/dnd-5e/assets/cover-splotch.png differ diff --git a/dnd-5e/assets/cover-splotch.svg b/dnd-5e/assets/cover-splotch.svg new file mode 100644 index 0000000..14593d2 --- /dev/null +++ b/dnd-5e/assets/cover-splotch.svg @@ -0,0 +1,153 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dnd-5e/assets/fonts/Almendra Bold Italic.ttf b/dnd-5e/assets/fonts/Almendra Bold Italic.ttf new file mode 100644 index 0000000..0a3b1db Binary files /dev/null and b/dnd-5e/assets/fonts/Almendra Bold Italic.ttf differ diff --git a/dnd-5e/assets/fonts/Almendra Bold.ttf b/dnd-5e/assets/fonts/Almendra Bold.ttf new file mode 100644 index 0000000..6aaba70 Binary files /dev/null and b/dnd-5e/assets/fonts/Almendra Bold.ttf differ diff --git a/dnd-5e/assets/fonts/Almendra Italic.ttf b/dnd-5e/assets/fonts/Almendra Italic.ttf new file mode 100644 index 0000000..aeaeff5 Binary files /dev/null and b/dnd-5e/assets/fonts/Almendra Italic.ttf differ diff --git a/dnd-5e/assets/fonts/Almendra SmallCaps.ttf b/dnd-5e/assets/fonts/Almendra SmallCaps.ttf new file mode 100644 index 0000000..c227864 Binary files /dev/null and b/dnd-5e/assets/fonts/Almendra SmallCaps.ttf differ diff --git a/dnd-5e/assets/fonts/Almendra.ttf b/dnd-5e/assets/fonts/Almendra.ttf new file mode 100644 index 0000000..43e080f Binary files /dev/null and b/dnd-5e/assets/fonts/Almendra.ttf differ diff --git a/dnd-5e/inc/fonts.tex b/dnd-5e/inc/fonts.tex index 70fcb7c..cd6592a 100644 --- a/dnd-5e/inc/fonts.tex +++ b/dnd-5e/inc/fonts.tex @@ -54,6 +54,15 @@ BoldItalicFeatures = {SmallCapsFont = * Caps Bold Italic}, ]{Scaly Sans} +\newfontfamily\almendra[ + Path = ./assets/fonts/, + Extension = .ttf, + UprightFont = * Bold, + BoldFont = * Bold, + ItalicFont = * Italic, + BoldItalicFont = * Bold Italic, +]{Almendra} + % The main font doesn't have whatever itemize uses by default. % How many levels are there? \renewcommand*{\labelitemi}{$—$} diff --git a/dnd-5e/inc/root.tex b/dnd-5e/inc/root.tex index c531b90..513f049 100644 --- a/dnd-5e/inc/root.tex +++ b/dnd-5e/inc/root.tex @@ -29,6 +29,7 @@ \usepackage{multirow,makecell} \usepackage{dblfloatfix} \usepackage{multicol} +\usepackage{overpic} \definecolor{chapter}{RGB}{88, 23, 13} \definecolor{subsecrule}{RGB}{211, 169, 98} diff --git a/dnd-5e/inc/sectioning.tex b/dnd-5e/inc/sectioning.tex index 2a100ed..93ad915 100644 --- a/dnd-5e/inc/sectioning.tex +++ b/dnd-5e/inc/sectioning.tex @@ -144,6 +144,8 @@ % Cover page \newcommand{\hbCover}{assets/cover} \newcommand{\hbSubcover}{assets/cover2} +\newcommand{\hbCoverSplotch}{assets/cover-splotch} +\newcommand{\hbCoverSplotchText}{\almendra\bfseries{HOMEBREW}} \newcommand{\hbTitle}{Title. Renew me!} \newcommand{\hbSubtitle}{Subtitle. Renew me!} @@ -169,10 +171,21 @@ \fontsize{48pt}{48pt}\selectfont% \fillstroke{[1]}{[0]}{1.5}{\MakeUppercase\hbTitle}\\*% \normalfont\normalsize\includegraphics[width=.5\paperwidth]{assets/separator}% - \LARGE\vfill% - % XXX: font doesn't look right - \fillstroke{[1]}{[0]}{.5}{\textbf{\hbSubtitle}}% \end{center}% + \begin{figure*}[!b] + \begin{adjustwidth}{-20mm}{0mm} + \color{white} + %\vspace*{17.0cm} + \begin{overpic}[percent,unit=1mm,scale=.31]{\hbCoverSplotch} + \put(12,5){\huge\hbCoverSplotchText} + \end{overpic} + \end{adjustwidth} + \begin{center}% + \LARGE\vfill% + % XXX: font doesn't look right + \fillstroke{[1]}{[0]}{.5}{\textbf{\hbSubtitle}}% + \end{center}% + \end{figure*} \clearpage% \twocolumn% } diff --git a/dnd-5e/skel.tex b/dnd-5e/skel.tex index a7a28c0..0332111 100644 --- a/dnd-5e/skel.tex +++ b/dnd-5e/skel.tex @@ -15,6 +15,7 @@ \renewcommand{\hbTitle}{Placeholder Title \protect\\ That is kind of long} \renewcommand{\hbSubtitle}{Created by Artefact2, typeset with \XeTeX \protect\\ \url{https://github.com/Artefact2/texbrew/}} \renewcommand*{\hbCover}{assets/samples/cover} +\renewcommand{\hbCoverSplotchText}{\almendra\bfseries\LARGE{HOMEBREW WITH TEXBREW}} \hbMakecover % Use assets/background if you don't want a cover. You can put your