|
9 | 9 | \usepackage{float}
|
10 | 10 | \usepackage{graphicx}
|
11 | 11 | \usepackage[utf8]{inputenc}
|
12 |
| -\usepackage{hyperref} |
| 12 | +\usepackage[breaklinks]{hyperref} |
13 | 13 | \usepackage{amsmath,amssymb,amsthm}
|
14 | 14 |
|
| 15 | +\usepackage[showframe]{geometry} % [showframe] serve per mostrare il margine, è da rimuovere quando ho finito di controllare il margine. %TODO: remove showframe |
| 16 | + |
15 | 17 | \usepackage[italian]{babel}
|
16 | 18 |
|
17 | 19 | \usepackage[italian]{cleveref}
|
|
105 | 107 |
|
106 | 108 | % ----- firma (signature) end ----------------
|
107 | 109 |
|
| 110 | +% ----- per molteplici colonne begin ---------------- |
| 111 | + |
| 112 | +\usepackage{multicol} |
| 113 | + |
| 114 | +% ----- per molteplici colonne end ---------------- |
| 115 | + |
108 | 116 | % ----- empty page command begin -------------
|
109 | 117 |
|
110 | 118 | \newcommand\blankpage{% comando pagina vuota
|
|
147 | 155 | \definecolor{weborange}{RGB}{255,165,0}
|
148 | 156 |
|
149 | 157 | \lstdefinestyle{VS2017}{
|
150 |
| - backgroundcolor=\color{clr-background}, % oppure darkgrey |
| 158 | + backgroundcolor=\color{clr-background}, % oppure darkgray o darkgrey %TODO: mettere quello classico. |
151 | 159 | basicstyle=\color{clr-text}, % any text
|
152 | 160 | stringstyle=\color{clr-string},
|
153 | 161 | identifierstyle=\color{clr-variable}, % just about anything that isn't a directive, comment, string or known type
|
|
161 | 169 | showspaces=false,
|
162 | 170 | showstringspaces=false,
|
163 | 171 | %otherkeywords={>,<,.,;,-,!,=,~},
|
164 |
| - morekeywords={\#, std, std::cout, cout, std::endl, endl, ::, ifndef, define, endif, pragma, override, decltype, noexcept, alignas, alignof, constexpr}, % \# non funziona. |
| 172 | + morekeywords={\#, std, std::cout, cout, std::endl, endl, ::, ifndef, define, endif, pragma, override, decltype, noexcept, alignas, alignof, constexpr, assert, nullptr}, % \# non funziona. |
165 | 173 | %keywordstyle=\color{weborange},
|
166 | 174 | tabsize=4
|
167 | 175 | }
|
|
219 | 227 |
|
220 | 228 | \lstset{style=VS2017}
|
221 | 229 |
|
| 230 | +%frame (ovvero un box) attorno al codice |
| 231 | +\begin{comment} |
| 232 | +\usepackage[most]{tcolorbox} |
| 233 | +\usepackage{inconsolata} |
| 234 | + |
| 235 | +\newtcblisting[auto counter]{listingframe}[2][]{sharp corners, |
| 236 | + fonttitle=\bfseries, colframe=gray, listing only, |
| 237 | + listing options={basicstyle=\ttfamily,language=java}, |
| 238 | + title=Listing \thetcbcounter: #2, #1} |
| 239 | +\end{comment} |
| 240 | + |
222 | 241 | % ------ end code -----------
|
223 | 242 |
|
224 | 243 | % hyperref settings
|
|
313 | 332 |
|
314 | 333 | % ----------------------------- BEGIN SUBSUBSECTION STYLE ----------------------------
|
315 | 334 |
|
316 |
| -\titleformat{\subsubsection}{\bfseries\large\itshape}{}{}{} |
| 335 | +\titleformat{\subsubsection}{\centering\bfseries\large\itshape}{}{}{} |
317 | 336 |
|
318 | 337 | % ----------------------------- END SUBSUBSECTION STYLE ------------------------------
|
319 | 338 |
|
320 | 339 | % ----------------------------- BEGIN PARAGRAPH STYLE --------------------------------
|
321 | 340 |
|
322 |
| -\titleformat{\paragraph}{\bfseries\normalsize}{}{}{} |
| 341 | +\titleformat{\paragraph}{\centering\bfseries\normalsize}{}{}{} |
323 | 342 |
|
324 | 343 | % ----------------------------- END PARAGRAPH STYLE ----------------------------------
|
325 | 344 |
|
326 | 345 | % ----------------------------- BEGIN TABLE OF CONTENTS ------------------------------
|
327 | 346 |
|
328 |
| -\setcounter{tocdepth}{3} |
| 347 | +\setcounter{tocdepth}{4} |
329 | 348 | \setcounter{secnumdepth}{1}
|
330 | 349 |
|
331 | 350 | % ----------------------------- END TABLE OF CONTENTS --------------------------------
|
|
379 | 398 |
|
380 | 399 | \include{Concetti_Avanzati}
|
381 | 400 |
|
382 |
| - \include{Libreria_Algoritmi} |
| 401 | + \include{Libreria_Algoritmi} |
| 402 | + |
| 403 | + %\include{Convenzioni_del_Linguaggio} %TODO: magari dopo il capitolo La Libreria degli Algoritmi. %TODO: Rinominare: Linee_Guida_del_linguaggio? Oppure Convenzioni_e_Linee_Guida. |
383 | 404 |
|
384 | 405 | \include{Conclusioni}
|
385 | 406 |
|
|
0 commit comments