-
Notifications
You must be signed in to change notification settings - Fork 65
/
master.tex
115 lines (97 loc) · 2.72 KB
/
master.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
% Free range VHDL
% Authors: Bryan Mealy, Fabrizio Tappero
% Date: January, 2023
% URL: https://github.com/fabriziotappero/Free-Range-VHDL-book
% (C) 2018-2023 B. Mealy, F. Tappero
%
% !TEX root = master.tex
%
%\documentclass[11pt,b5paper]{book} % you can set the paper size in style.sty
%\documentclass[gray, 11pt,b5paper]{book} % generate whole document in B&W
\documentclass[11pt,b5paper]{book} % generate whole document in color
\usepackage{style}
% Allow for the exercise solutions to not be listed in the ToC
\newcommand{\stoptocwriting}{%
\addtocontents{toc}{\protect\setcounter{tocdepth}{-5}}}
\newcommand{\resumetocwriting}{%
\addtocontents{toc}{\protect\setcounter{tocdepth}{\arabic{tocdepth}}}}
% LINE SPACING
\renewcommand{\baselinestretch}{1.2} % custom spacing
%\renewcommand{\baselinestretch}{2} % double-line spacing
%%%%%% DOCUMENT BEGIN %%%%%%
\begin{document}
\pagenumbering{alph} % for pageslts package to get page numbering correctly
% front cover
\thispagestyle{empty}
\begin{textblock*}{160mm}(-3mm,0mm)
%\textblockcolour{red}
\noindent\makebox[\textwidth]{\includegraphics[width=\paperwidth]{pics/cover.png}} % full-page picture for 160x240 format
\end{textblock*}
\null\newpage % latex might neglect \newpage because the page is empty,
% blank page
\thispagestyle{empty}
\null\newpage
% front matter %
\thispagestyle{empty}
\begin{textblock*}{60mm}(85mm,90mm)
%\textblockcolour{red}
\noindent
{\sffamily\LARGE\bfseries Free Range VHDL}\\
\noindent
{\sffamily\small Bryan Mealy, Fabrizio Tappero}\\
{\color{dark-gray}\rule[5pt]{170pt}{3pt}}
\end{textblock*}
\null\newpage
% license page %
\thispagestyle{empty}
\include{license}
% blank page with note
\thispagestyle{empty}
\null
\vspace*{\fill}
\hfill\textit{To everyone who helped}
\vspace*{\fill}
\newpage
% blank page
\thispagestyle{empty}
\null\newpage
% table of contents page %
\renewcommand\contentsname{Table of Contents} % rename title
\pagenumbering{roman}
\tableofcontents
%\null\newpage
% Acknowledgments, from page i
\include{acknowledgments}
% blank page
\thispagestyle{empty}
\null\newpage
% Preface, from page ii
\setcounter{page}{1}
\pagenumbering{arabic}
\include{introduction}
% from page 1 begins Chapter 1 %
\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{chapter5}
\include{chapter6}
\include{chapter7}
\include{chapter8}
\include{chapter9}
\include{chapter10}
\include{chapter11}
\include{chapter12}
\include{chapter13}
\begin{appendices}
\include{appendix}
\include{authors}
\end{appendices}
% blank page
\thispagestyle{empty}
\null\newpage
% blank page
%\thispagestyle{empty}
%\null\newpage
\end{document}
%%%%%% DOCUMENT END %%%%%%