Numerous changes to page layout and format, including title
This commit is contained in:
		
							parent
							
								
									caa596ed73
								
							
						
					
					
						commit
						baa48cdd3d
					
				| @ -1,4 +1,4 @@ | |||||||
| \documentclass[twoside,11pt]{report} | \documentclass[twoside,11pt,anypage]{report} | ||||||
| 
 | 
 | ||||||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||||
| %% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | %% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||||
| @ -29,6 +29,7 @@ | |||||||
| \usepackage{tabularray} % Easy tables | \usepackage{tabularray} % Easy tables | ||||||
| \usepackage[]{FiraSans} % sans-serif font; https://tug.org/FontCatalogue/firasansregular | \usepackage[]{FiraSans} % sans-serif font; https://tug.org/FontCatalogue/firasansregular | ||||||
| \usepackage[]{footmisc} | \usepackage[]{footmisc} | ||||||
|  | \usepackage{ninecolors} | ||||||
| \usepackage{setspace} | \usepackage{setspace} | ||||||
| 
 | 
 | ||||||
| %\usepackage{showframe} | %\usepackage{showframe} | ||||||
| @ -79,21 +80,30 @@ | |||||||
| \usepackage{fancyhdr} | \usepackage{fancyhdr} | ||||||
| \pagestyle{fancy} | \pagestyle{fancy} | ||||||
|  \fancyhf{} |  \fancyhf{} | ||||||
|  \fancyhead[LE,RO]{A Git Primer} |  \fancyhead[LE,RO]{Page \thepage} | ||||||
|  \fancyhead[RE,LO]{Part 1} |  \fancyhead[RE,LO]{A Git Primer} | ||||||
|  \cfoot{Page \thepage} | % \cfoot{Page \thepage} | ||||||
| \renewcommand{\footrulewidth}{0.5pt} | % \renewcommand{\footrulewidth}{0.5pt} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||||
| %% Chapter Title Spacing %%%%%%%%%%%%%%%%%%%% | %% Chapter Title Spacing %%%%%%%%%%%%%%%%%%%% | ||||||
| \usepackage{titlesec} | \usepackage{titlesec} | ||||||
| \titleformat{\chapter}[display] | \titleformat | ||||||
|     {\normalfont\huge\bfseries} | 	{\chapter} % command | ||||||
|     {\chaptertitlename\ \thechapter} | 	[display] % shape | ||||||
|     {20pt} |     {\normalfont\huge\bfseries} % format | ||||||
|     {\Huge} |     {\chaptertitlename\ \thechapter} % label  | ||||||
| \titlespacing*{\chapter}{0pt}{0pt}{40pt} |     {20pt} % sep | ||||||
|  |     {\Huge} % before code | ||||||
|  |     [{\color{green6} \hrule height 1pt width \textwidth}{\color{green8} \hrule height 4pt width 0.5\textwidth}] % after code | ||||||
|  | \titlespacing* | ||||||
|  | 	{\chapter} % command | ||||||
|  | 	{0pt} % left margin | ||||||
|  | 	{0pt} % before sep - vertical space before title | ||||||
|  | 	{50pt} % after sep - separation between title and text | ||||||
|  | %	[] % right sep | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||||
| @ -141,13 +151,11 @@ | |||||||
| %% Document Information %%%%%%%%%%%%%%%%%%%%% | %% Document Information %%%%%%%%%%%%%%%%%%%%% | ||||||
| \author{Kenneth John Odle} | \author{Kenneth John Odle} | ||||||
| \title{ | \title{ | ||||||
| 	{\fontsize{36}{40}\selectfont A Git Primer}\\ | 	{\fontsize{36}{0}\selectfont A Git Primer}\\ | ||||||
| 	\vspace{10mm} | 	{\fontsize{14}{0}\selectfont for Coders and Creatives}\\ | ||||||
| 	{\fontsize{12}{16}\selectfont Typeset in \LaTeX{}}\\ | 	{\fontsize{12}{0}\selectfont Typeset in \LaTeX{}}\\ | ||||||
| 	\vspace{10mm} | 	{\fontsize{12}{0}\selectfont v. 0.1.0} | ||||||
| 	{\fontsize{12}{16}\selectfont v. 0.1.0} |  | ||||||
| } | } | ||||||
| \date{\begin{small}\today{}\end{small}} |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||||
| @ -157,13 +165,21 @@ | |||||||
| \maketitle | \maketitle | ||||||
| 
 | 
 | ||||||
| \section*{Impressum} | \section*{Impressum} | ||||||
|  | \pagestyle{plain} | ||||||
|  | \pagenumbering{gobble} % turn off page numbers | ||||||
|  | 
 | ||||||
| All contents  \copyright\the\year{} Kenneth John Odle | All contents  \copyright\the\year{} Kenneth John Odle | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| \tableofcontents | \tableofcontents | ||||||
| 
 | 
 | ||||||
|  | \thispagestyle{empty} % hide page numbers on TOC | ||||||
|  | 
 | ||||||
|  | \pagenumbering{arabic} % turn page numbers back on | ||||||
|  | 
 | ||||||
| \chapter{Introduction} | \chapter{Introduction} | ||||||
|  | \setcounter{page}{1} | ||||||
| 
 | 
 | ||||||
| Git is version control software. That is, it allows you to record and track changes to a set of files over time. You can then compare different revisions or even revert some files or the entire project back to a previous version.  | Git is version control software. That is, it allows you to record and track changes to a set of files over time. You can then compare different revisions or even revert some files or the entire project back to a previous version.  | ||||||
| 
 | 
 | ||||||
| @ -429,8 +445,8 @@ Command & Purpose {\& Example, if applicable} \\ | |||||||
| 
 | 
 | ||||||
| \begin{longtblr} | \begin{longtblr} | ||||||
| [ | [ | ||||||
| 	caption = {}, | %	caption = {}, | ||||||
| 	label   = {tb:}, | 	label   = none, | ||||||
| %	theme   = {custom1} | %	theme   = {custom1} | ||||||
| ]{ | ]{ | ||||||
| 	width      = {\textwidth}, | 	width      = {\textwidth}, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user