-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.tex
132 lines (95 loc) · 4.62 KB
/
main.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Important note:
% Chapter heading images should have a 2:1 width:height ratio,
% e.g. 920px width and 460px height.
%
%
% The original template (the Legrand Orange Book Template) can be found here --> http://www.latextemplates.com/template/the-legrand-orange-book
%
% Original author of the Legrand Orange Book Template:
% Mathias Legrand ([email protected]) with modifications by:
% Vel ([email protected])
%
% Original License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[11pt,fleqn]{book} % Default font size and left-justified equations
\usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,letterpaper]{geometry} % Page margins
\usepackage[table]{xcolor} % Required for specifying colors by name
\definecolor{ocre}{RGB}{190, 30, 30} % Define the orange color used for highlighting throughout the book 52, 177, 201
\usepackage{tabularx}
\usepackage{subfiles}
% Font Settings
\usepackage{avant} % Use the Avantgarde font for headings
%\usepackage{times} % Use the Times font for headings
\usepackage{mathptmx} % Use the Adobe Times Roman as the default text font together with math symbols from the Symbol, Chancery and Computer Modern fonts
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
\usepackage[utf8]{inputenc} % Required for including letters with accents
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
\usepackage{minted} % For code highlighting
\usepackage{marginnote}
% Bibliography
\usepackage[style=alphabetic,sorting=nyt,sortcites=true,autopunct=true,babel=hyphen,hyperref=true,abbreviate=false,backref=true,backend=biber]{biblatex}
\addbibresource{bibliography.bib} % BibTeX bibliography file
\defbibheading{bibempty}{}
\input{structure} % Insert the commands.tex file which contains the majority of the structure behind the template
\setlength{\parindent}{0pt} % Don't indent paragraphs
\setlength{\parskip}{1em}
\newcommand{\ksnotebox}[1]{\begin{tabularx}{\textwidth}{ |c|X| }
\hline
\cellcolor{lightgray} \textbf{Note} & #1 \\
\hline
\end{tabularx}} % Define a template for the note box
\begin{document}
\title{Building Products with ESP32 fast}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begingroup
\thispagestyle{empty}
\AddToShipoutPicture*{\put(0,0){\includegraphics{cover_test}}} % Image background
\centering
\vspace*{6cm}
\par\normalfont\fontsize{35}{35}\sffamily\selectfont
\textbf{Building Products with ESP32 \textit{fast}}\\
{\LARGE Jumpstart: From concept to production}\par % Book title
\vspace*{1cm}
{\Huge }\par % Kedar Sovani
\endgroup
%----------------------------------------------------------------------------------------
% COPYRIGHT PAGE
%----------------------------------------------------------------------------------------
\newpage
~\vfill
\thispagestyle{empty}
%\noindent Copyright \copyright\ 2018 Kedar Sovani\\ % Copyright notice
\noindent \textsc{For Espressif Systems}
\noindent \textsc{https://github.com/espressif/esp-jumpstart} % URL
\noindent This work is the culmination of years of learning in IoT product development across a wide team of engineers at Espressif. The content started off as official training material. Given the success of the trainings in getting products off the ground, the material has subsequently been converted to this format. Feel free to make copies and share. % License information
\noindent \textit{First release, 2019} % Printing/edition date
%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS
%----------------------------------------------------------------------------------------
\chapterimage{band1.jpg} % Table of contents heading image
\pagestyle{empty} % No headers
\tableofcontents % Print the table of contents itself
%\cleardoublepage % Forces the first chapter to start on an odd page so it's on the right
\pagestyle{fancy} % Print headers again
\subfile{introduction}
\subfile{gettingstarted}
\subfile{theoutlet}
\subfile{wifi}
\subfile{networkconfig}
\subfile{remotecontrol}
\subfile{firmwareupgrade}
\subfile{manufacturing}
\subfile{security}
\clearpage
\vspace*{\fill}
\centering \Huge {\textit{Happy Productising!}}
\vspace*{\fill}
\end{document}