|
17 | 17 |
|
18 | 18 | \begin{document}
|
19 | 19 |
|
20 |
| -\maketitle |
| 20 | +%\maketitle |
| 21 | +\input{notextitle} |
21 | 22 |
|
22 | 23 | \chapter{Introduction}
|
23 | 24 |
|
@@ -202,9 +203,38 @@ \section{Custom boxes}
|
202 | 203 | $ mpicc 01-mpi-collectives.c -o 01-mpi-collectives.o\end{lstlisting}
|
203 | 204 | \end{terminal}
|
204 | 205 |
|
205 |
| -\texttt{Hello there} |
| 206 | +\chapter{The title page} |
206 | 207 |
|
207 |
| -%\fontfamily{cascadia-code}\selectfont{AAA} |
| 208 | +NoTeX also offers the possibility of having a custom title page. Clearly, you are free to edit it to your liking. The template comes with some pre-defined values, and has the following structure: |
| 209 | + |
| 210 | +\begin{center} |
| 211 | + \begin{tikzpicture} |
| 212 | + \node [inner sep=0pt] at (centerpoint) { |
| 213 | + \setlength{\fboxsep}{0pt} |
| 214 | + \setlength{\fboxrule}{0.5pt} |
| 215 | + \fbox{\includegraphics[width=0.5\linewidth]{assets/title-page.pdf}} |
| 216 | + }; |
| 217 | + \draw[red!60, thick, <-] (6.25, 8.15) -- (2.5, 8.15) node[anchor=east]{Header}; |
| 218 | + \draw[red!60, thick, <-] (4.5, 4.5) -- (2.5, 4.5) node[anchor=east]{Cover}; |
| 219 | + \draw[red!60, thick, <-] (6, 1.14) -- (2.5, 1.14) node[anchor=east]{Subtitle}; |
| 220 | + |
| 221 | + \draw[red!60, thick, <-] (9, 6.65) -- (12.75, 6.65) node[anchor=west]{Title}; |
| 222 | + \draw[red!60, thick, <-] (9, 1.35) -- (12.75, 1.35) node[anchor=west]{Author}; |
| 223 | + \draw[red!60, thick, <-] (8.5, -0.05) -- (12.75, -0.05) node[anchor=west]{Footer}; |
| 224 | + \end{tikzpicture} |
| 225 | +\end{center} |
| 226 | + |
| 227 | +You can edit the following parts by renewing the commands with the \verb|\renewcommand| command: |
| 228 | +\begin{itemize} |
| 229 | + \item \textbf{header}: renew \verb|\titleheader| with what you want to put into the header. You can put anything you'd like, images included; |
| 230 | + \item \textbf{title}: renew \verb|\titlecourse| with the name of the course that would go on the title. Only text is allowed, any other item will result in unknown behaviour; |
| 231 | + \item \textbf{cover}: renew \verb|\titlecover| with the path of the image you want to replace. Only paths are allowed, any other item will result in unknown behaviour; |
| 232 | + \item \textbf{author}: renew \verb|\titleauthor| with your name. Only text is allowed, any other item will result in unknown behaviour; |
| 233 | + \item \textbf{subtitle}: renew \verb|\titlesubtitle| with the subtitle that you desire. Only text is allowed, any other item will result in unknown behaviour; |
| 234 | + \item \textbf{footer}: renew \verb|\titlefooter| with anything you want to put into the footer. You can put anything you'd like, images included. |
| 235 | +\end{itemize} |
| 236 | + |
| 237 | +If you don't like the title page, you are free to edit it or to add your own version. If you want a more "classic" title page, you can use the \verb|\title|, \verb|\author| and all the other standard commands provided by \LaTeX. |
208 | 238 |
|
209 | 239 | \chapter{The \texttt{notexmacros} package}
|
210 | 240 |
|
|
0 commit comments