diff --git a/dottes.tex.a4header b/dottes.tex.a4header index 55c0ace..f079056 100644 --- a/dottes.tex.a4header +++ b/dottes.tex.a4header @@ -3,6 +3,7 @@ \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} +\usepackage[svgnames]{xcolor} \usepackage{hyperref} \hypersetup{ @@ -45,6 +46,33 @@ % ----- +% Title page +\newcommand*{\rotrt}[1]{\rotatebox{90}{#1}} % Command to rotate right 90 degrees +\newcommand*{\rotlft}[1]{\rotatebox{-90}{#1}} % Command to rotate left 90 degrees + +\newcommand*{\titleBC}{\begingroup % Create the command for including the title page in the document +\centering % Center all text + +\def\CP{\textit{\Huge Ye Crie Havock Booke of Dottes}} % Title + +\settowidth{\unitlength}{\CP} % Set the width of the curly brackets to the width of the title +{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotrt{$\}$}}} \\[\baselineskip] % Print top curly bracket +\textcolor{Sienna}{\CP} \\[\baselineskip] % Print title +{\color{RosyBrown}\Large \input{subtitle.txt}} \\ % Tagline or further description +{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotlft{$\}$}}} % Print bottom curly bracket + +\vfill % Whitespace between the title and the author name + +{\Large\textbf{Cry Havoc}}\\ % Author name + +\vfill % Whitespace between the author name and the rest + +\today % Date published + +\endgroup} + +% ----- + \begin{document} % ----- Headers and footers @@ -57,13 +85,7 @@ % ----- Title page and contents -\title{Ye Crie Havock Booke of Dottes \\ \input{subtitle.txt}} - -\author{Cry Havoc} - -\date{\today} - -\maketitle +\titleBC \newpage diff --git a/dottes.tex.a5header b/dottes.tex.a5header index d372567..6872e34 100644 --- a/dottes.tex.a5header +++ b/dottes.tex.a5header @@ -3,6 +3,7 @@ \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} +\usepackage[svgnames]{xcolor} \usepackage{hyperref} \hypersetup{ @@ -45,6 +46,33 @@ % ----- +% Title page +\newcommand*{\rotrt}[1]{\rotatebox{90}{#1}} % Command to rotate right 90 degrees +\newcommand*{\rotlft}[1]{\rotatebox{-90}{#1}} % Command to rotate left 90 degrees + +\newcommand*{\titleBC}{\begingroup % Create the command for including the title page in the document +\centering % Center all text + +\def\CP{\textit{\Huge Ye Crie Havock Booke of Dottes}} % Title + +\settowidth{\unitlength}{\CP} % Set the width of the curly brackets to the width of the title +{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotrt{$\}$}}} \\[\baselineskip] % Print top curly bracket +\textcolor{Sienna}{\CP} \\[\baselineskip] % Print title +{\color{RosyBrown}\Large \input{subtitle.txt}} \\ % Tagline or further description +{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotlft{$\}$}}} % Print bottom curly bracket + +\vfill % Whitespace between the title and the author name + +{\Large\textbf{Cry Havoc}}\\ % Author name + +\vfill % Whitespace between the author name and the rest + +\today % Date published + +\endgroup} + +% ----- + \begin{document} % ----- Headers and footers @@ -57,13 +85,7 @@ % ----- Title page and contents -\title{Ye Crie Havock Booke of Dottes \\ \input{subtitle.txt}} - -\author{Cry Havoc} - -\date{\today} - -\maketitle +\titleBC \newpage