@@ -267,6 +267,32 @@ \subsubsection{Tabelle girate}
267
267
268
268
\end {landscape }
269
269
270
+ \section {Grafici }
271
+ Puoi creare grafici con tikzpicture.
272
+ Qui c'e' un grafico con asse x e y customizzabili per ogni tipo d'utilizzo.
273
+ Tutti i tool e tutorial necessari per creare ogni tipo di grafico puo' essere trovato qui: https://tikz.dev/
274
+
275
+ \begin {tikzpicture }
276
+ % Draw x-axis
277
+ \draw [->] (-1,0) -- (15,0) node[right] {$ x$ };
278
+ % Draw y-axis
279
+ \draw [->] (0,-1) -- (0,5) node[above] {$ y$ };
280
+
281
+ % Draw grid lines (optional)
282
+ \foreach \x in {1,2,3,4,5,6,7,8,9,10,11,12,13,14}
283
+ \draw (\x ,-0.1) -- (\x ,0.1);
284
+ \foreach \y in {1,2,3,4}
285
+ \draw (-0.1,\y ) -- (0.1,\y );
286
+
287
+ % Draw origin
288
+ \fill (0,0) circle[radius=2pt];
289
+ \end {tikzpicture }
290
+
291
+ \section {Import di file TeX }
292
+ Puoi importare altri file tex per intero includendoli cosi'.
293
+ Questo e' molto utile per mettere insieme diversi capitoli di una tesi o di un grande documento in generale.
294
+
295
+ \input {imported_document.tex }
270
296
271
297
\chapter {Altri comandi }
272
298
bla bla
@@ -287,6 +313,19 @@ \section{url e footnote}
287
313
per mettere un link usa url: \url {wikipedia.it}
288
314
289
315
per fare note a piè di pagina usa footnote\footnote {Tipo questa}
316
+
317
+ \section {Code snippets }
318
+ per inserire code snippets, puoi usare lstlisting
319
+
320
+ \ begin{lstlisting} [language=c]
321
+ #include<stdio.h>
322
+
323
+ int main(void) {
324
+ printf("Hello World\n");
325
+ return 0;
326
+ }
327
+ \end {lstlisting }
328
+
290
329
\section {verbatim }
291
330
Se ti serve scrivere codice o qualcosa per cui ti serve una formattazione specifica usa verbatim:
292
331
\begin {verbatim }
@@ -340,4 +379,4 @@ \chapter{Embed di interi PDF}
340
379
\newpage ~\newpage
341
380
\chapter* {Ringraziamenti }
342
381
Grazie a tutti
343
- \end {document }
382
+ \end {document }
0 commit comments