Upated to custom title page with variables

This commit is contained in:
Kenneth John Odle 2026-01-01 12:08:48 -05:00
parent a70c3db3f0
commit a74b87439a

View File

@ -39,6 +39,7 @@
\usepackage{microtype} % Make things neater.
\usepackage{tabularray} % Easy tables
\usepackage[]{footmisc}
\usepackage{ninecolors}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -66,18 +67,6 @@
\addtolength{\textheight}{-20mm} % Adjust the bottom margin
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Page Headers%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Adjust the TITLE as necessary
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\textit{TITLE}}
\fancyhead[RE,LO]{Issue \#006}
\cfoot{Page \thepage}
\renewcommand{\footrulewidth}{0.5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Chapter Title Spacing %%%%%%%%%%%%%%%%%%%%
\usepackage{titlesec}
@ -124,9 +113,23 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Just for Issue #006 %%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz}
%% Custom Variables %%%%%%%%%%%%%%%%%%%%%%%%%
% Define the title
\def\ktitle{Title} % Note: Cannot be left blank
% Define the subtitle
\def\ksubtitle{}
% Define the author
\def\kauthor{}
% Define the year and a publication date
\def\kyear{}
\def\kpubdate{}
% Define the issue number
\def\kissue{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Include URLS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -136,25 +139,46 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Document Information %%%%%%%%%%%%%%%%%%%%%
%% Adjust the TITLE and SUBTITLE as necessary
\author{Kenneth John Odle}
\title{
{\Huge TITLE} \\
{\footnotesize SUBTITLE \\
\bigskip
Typeset in \LaTeX{} \\
% Issue \#006
}
}
\date{\begin{small}\today{}\end{small}}
%% Page Headers%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Adjust the TITLE as necessary
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\textit{\ktitle}}
\fancyhead[RE,LO]{Issue \#\kissue}
\cfoot{Page \thepage}
\renewcommand{\footrulewidth}{0.5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Let's get it started %%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\begin{titlepage}
\vspace*{25mm}
%\fontsize{28}{42}\selectfont
\centering
{\Huge \ktitle{}}\\
\ksubtitle{}
\noindent{}{\color{gray7}\rule{\textwidth}{1pt}}
\vspace{5mm}
Typeset in \LaTeX{}
\vspace{5mm}
Issue \#\kissue{}
\vspace{18mm}
Written and Edited by\\\kauthor{}
\vspace{5mm}
\kpubdate{}
\vspace{20mm}
\kref{https://just13.click/just13}{just13.click/just13}
\end{titlepage}
\section*{Impressum}
All contents \copyright2025 Kenneth John Odle