Corso LaTeX - Lezione Cinque: Advanced beamer

159
Lezione Cinque: Advanced Beamer 16 Maggio 2014 Valentina Ferro [email protected]

description

Latex è un potente mezzo per la composizione tipografica, particolarmente utile per la stesura di testi scientifici. Il corso esplora sia le funzionalità di base sia qualche funzione leggermente più avanzata nelle seguenti lezioni: Lezione Uno - Cos'è Latex? Introduzione a Latex, sintassi, layout di un documento, editor di testo. Lezione Due - Ambienti Latex Funzioni matematiche, tabelle e figure Lezione Tre - Personalizzazione Template di documenti, comandi personali, alcune funzioni avanzate Lezione Quattro - Il Pacchetto Beamer Fare presentazioni con Latex: nozioni di base Lezione Cinque - Presentazioni personalizzate (e animate) [QUESTA PRESENTAZIONE] Template per beamer, alcune funzioni avanzate

Transcript of Corso LaTeX - Lezione Cinque: Advanced beamer

Page 1: Corso LaTeX - Lezione Cinque: Advanced beamer

Lezione Cinque: Advanced Beamer

16 Maggio 2014

Valentina [email protected]

Page 2: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 2/36 V. Ferro

Page 3: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 2/36 V. Ferro

Page 4: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 2/36 V. Ferro

Page 5: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 2/36 V. Ferro

Page 6: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 2/36 V. Ferro

Page 7: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 3/36 V. Ferro

Page 8: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Modi�care i singoli elementi

A prescindere da ciascun tema, si possono modicare:

colori e font degli elementi del tema

aggiungere elementi non presenti

inserire immagini come sfondo dei vari elementi

Lezione 5 4/36 V. Ferro

Page 9: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...De�nire i singoli colori

Colori prede�niti:red, blue, green, cyan, magenta, yellow, black, darkgray, gray,lightgray, orange, violet, purple, brown

Creare nuovi coloriUsando la codi�ca RGB o CMYK:\definecolor{NomeColore}{RGB}{val1,val2,val3}Miscelando i colori già dichiarati:colore1!percentuale-colore1!colore2

\ definecolor {MyGreen}{RGB}{1,125,80}...Un parola {\ color {MyGreen}verde}\\ed una {\ color {MyGreen!60!cyan}miscelata}

Un parola verdeed una miscelata

Lezione 5 5/36 V. Ferro

Page 10: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...De�nire i singoli colori

Colori prede�niti:red, blue, green, cyan, magenta, yellow, black, darkgray, gray,lightgray, orange, violet, purple, brown

Creare nuovi coloriUsando la codi�ca RGB o CMYK:\definecolor{NomeColore}{RGB}{val1,val2,val3}Miscelando i colori già dichiarati:colore1!percentuale-colore1!colore2

\ definecolor {MyGreen}{RGB}{1,125,80}...Un parola {\ color {MyGreen}verde}\\ed una {\ color {MyGreen!60!cyan}miscelata}

Un parola verdeed una miscelata

Lezione 5 5/36 V. Ferro

Page 11: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...De�nire i singoli colori

Colori prede�niti:red, blue, green, cyan, magenta, yellow, black, darkgray, gray,lightgray, orange, violet, purple, brown

Creare nuovi coloriUsando la codi�ca RGB o CMYK:\definecolor{NomeColore}{RGB}{val1,val2,val3}Miscelando i colori già dichiarati:colore1!percentuale-colore1!colore2

\ definecolor {MyGreen}{RGB}{1,125,80}...Un parola {\ color {MyGreen}verde}\\ed una {\ color {MyGreen!60!cyan}miscelata}

Un parola verdeed una miscelata

Lezione 5 5/36 V. Ferro

Page 12: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Attribuire i singoli colori

\ setbeamercolor { elemento }{ fg =color , bg=color }

Alcuni esempi:\setbeamercolor{section in sidebar}{fg=orange!30!white}\setbeamercolor{subsection in sidebar}{fg=white}\setbeamercolor{frametitle}{fg=MyLightBlue}\setbeamercolor{block title}{fg=white,bg=MyBlue}\setbeamercolor{block body}{fg=black,bg=MyBlue!40!white}

Lezione 5 6/36 V. Ferro

Page 13: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Attribuire i singoli colori

\ setbeamercolor { elemento }{ fg =color , bg=color }

Alcuni esempi:\setbeamercolor{section in sidebar}{fg=orange!30!white}\setbeamercolor{subsection in sidebar}{fg=white}\setbeamercolor{frametitle}{fg=MyLightBlue}\setbeamercolor{block title}{fg=white,bg=MyBlue}\setbeamercolor{block body}{fg=black,bg=MyBlue!40!white}

Lezione 5 6/36 V. Ferro

Page 14: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un caso particolare: background

\ setbeamertemplate ......{}

\beamertemplatesolidbackgroundcolor{color}\beamertemplateshadingbackground{color1}{color2}

Inoltre:\beamertemplategridbackground[grid_space]\usebackgroundtemplate{\includegraphics....}

Lezione 5 7/36 V. Ferro

Page 15: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un caso particolare: background

\ setbeamertemplate ......{}

\beamertemplatesolidbackgroundcolor{color}\beamertemplateshadingbackground{color1}{color2}

Inoltre:\beamertemplategridbackground[grid_space]\usebackgroundtemplate{\includegraphics....}

Lezione 5 7/36 V. Ferro

Page 16: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un caso particolare: background

\ setbeamertemplate ......{}

\beamertemplatesolidbackgroundcolor{color}\beamertemplateshadingbackground{color1}{color2}

Inoltre:\beamertemplategridbackground[grid_space]\usebackgroundtemplate{\includegraphics....}

Lezione 5 7/36 V. Ferro

Page 17: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un caso particolare: background

\ setbeamertemplate ......{}

\beamertemplatesolidbackgroundcolor{color}\beamertemplateshadingbackground{color1}{color2}

Inoltre:\beamertemplategridbackground[grid_space]\usebackgroundtemplate{\includegraphics....}

Lezione 5 7/36 V. Ferro

Page 18: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Modi�care i singoli elementi

\ setbeamertemplate { elemento }[ proprieta ’]

Così come per il background, possiamo modi�care elementi di varianatura:

\setbeamertemplate{sidebar canvas left}[vertical shading][top=red, bottom=white]\setbeamertemplate{navigation symbols}{}\setbeamertemplate{footline}[slide number]\setbeamertemplate{item}[orange]

Lezione 5 8/36 V. Ferro

Page 19: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Inserire i singoli elementi

\ insert .....

\insertframenumber \inserttotalframenumber\insertshortauthor \insertauthor\insertshorttitle \inserttitle

Lezione 5 9/36 V. Ferro

Page 20: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Inserire i singoli elementi

\ insert .....

\insertframenumber \inserttotalframenumber\insertshortauthor \insertauthor\insertshorttitle \inserttitle

Lezione 5 9/36 V. Ferro

Page 21: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

\ usetheme [left]{Hannover}\ useinnertheme [shadow=true]{rounded}\ setbeamertemplate { sidebar canvas left}[vertical shading][top=purple!70!red, bottom=

black!90!red]\ setbeamertemplate {item}[red]\ setbeamercolor {title in sidebar }{}\ setbeamercolor {section in sidebar }{fg=white}\ setbeamercolor {subsection in sidebar }{fg=white}\ setbeamercolor {section in sidebar shaded}{fg=red!50!white}\ setbeamercolor {subsection in sidebar shaded}{fg=red!20!black}\ setbeamercolor {structure}{fg=red!90!black}\ setbeamertemplate {navigation symbols}{}\ usebackgroundtemplate {\ includegraphics [width=\ paperwidth ]{pictures/map}}\ usefoottemplate {\ vbox {\tinycolouredline{purple!70!red}{\color{white}\ textbf {\

insertauthor \ hfill \ insertdate }}\tinycolouredline{black!90!red}{\color{white}\textbf {\inserttitle}\ hfill \text{\ insertframenumber /\ inserttotalframenumber }}}}

Lezione 5 10/36 V. Ferro

Page 22: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

\ usetheme [left]{Hannover}\ useinnertheme [shadow=true]{rounded}\ setbeamertemplate { sidebar canvas left}[vertical shading][top=purple!70!red, bottom=

black!90!red]\ setbeamertemplate {item}[red]\ setbeamercolor {title in sidebar }{}\ setbeamercolor {section in sidebar }{fg=white}\ setbeamercolor {subsection in sidebar }{fg=white}\ setbeamercolor {section in sidebar shaded}{fg=red!50!white}\ setbeamercolor {subsection in sidebar shaded}{fg=red!20!black}\ setbeamercolor {structure}{fg=red!90!black}\ setbeamertemplate {navigation symbols}{}\ usebackgroundtemplate {\ includegraphics [width=\ paperwidth ]{pictures/map}}\ usefoottemplate {\ vbox {\tinycolouredline{purple!70!red}{\color{white}\ textbf {\

insertauthor \ hfill \ insertdate }}\tinycolouredline{black!90!red}{\color{white}\textbf {\inserttitle}\ hfill \text{\ insertframenumber /\ inserttotalframenumber }}}}

Lezione 5 10/36 V. Ferro

Page 23: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

\ usetheme [left]{Hannover}\ useinnertheme [shadow=true]{rounded}\ setbeamertemplate { sidebar canvas left}[vertical shading][top=purple!70!red, bottom=

black!90!red]\ setbeamertemplate {item}[red]\ setbeamercolor {title in sidebar }{}\ setbeamercolor {section in sidebar }{fg=white}\ setbeamercolor {subsection in sidebar }{fg=white}\ setbeamercolor {section in sidebar shaded}{fg=red!50!white}\ setbeamercolor {subsection in sidebar shaded}{fg=red!20!black}\ setbeamercolor {structure}{fg=red!90!black}\ setbeamertemplate {navigation symbols}{}\ usebackgroundtemplate {\ includegraphics [width=\ paperwidth ]{pictures/map}}\ usefoottemplate {\ vbox {\tinycolouredline{purple!70!red}{\color{white}\ textbf {\

insertauthor \ hfill \ insertdate }}\tinycolouredline{black!90!red}{\color{white}\textbf {\inserttitle}\ hfill \text{\ insertframenumber /\ inserttotalframenumber }}}}

Lezione 5 10/36 V. Ferro

Page 24: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

\ usetheme [left]{Hannover}\ useinnertheme [shadow=true]{rounded}\ setbeamertemplate { sidebar canvas left}[vertical shading][top=purple!70!red, bottom=

black!90!red]\ setbeamertemplate {item}[red]\ setbeamercolor {title in sidebar }{}\ setbeamercolor {section in sidebar }{fg=white}\ setbeamercolor {subsection in sidebar }{fg=white}\ setbeamercolor {section in sidebar shaded}{fg=red!50!white}\ setbeamercolor {subsection in sidebar shaded}{fg=red!20!black}\ setbeamercolor {structure}{fg=red!90!black}\ setbeamertemplate {navigation symbols}{}\ usebackgroundtemplate {\ includegraphics [width=\ paperwidth ]{pictures/map}}\ usefoottemplate {\ vbox {\tinycolouredline{purple!70!red}{\color{white}\ textbf {\

insertauthor \ hfill \ insertdate }}\tinycolouredline{black!90!red}{\color{white}\textbf {\inserttitle}\ hfill \text{\ insertframenumber /\ inserttotalframenumber }}}}

Lezione 5 10/36 V. Ferro

Page 25: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

\ usetheme [left]{Hannover}\ useinnertheme [shadow=true]{rounded}\ setbeamertemplate { sidebar canvas left}[vertical shading][top=purple!70!red, bottom=

black!90!red]\ setbeamertemplate {item}[red]\ setbeamercolor {title in sidebar }{}\ setbeamercolor {section in sidebar }{fg=white}\ setbeamercolor {subsection in sidebar }{fg=white}\ setbeamercolor {section in sidebar shaded}{fg=red!50!white}\ setbeamercolor {subsection in sidebar shaded}{fg=red!20!black}\ setbeamercolor {structure}{fg=red!90!black}\ setbeamertemplate {navigation symbols}{}\ usebackgroundtemplate {\ includegraphics [width=\ paperwidth ]{pictures/map}}\ usefoottemplate {\ vbox {\tinycolouredline{purple!70!red}{\color{white}\ textbf {\

insertauthor \ hfill \ insertdate }}\tinycolouredline{black!90!red}{\color{white}\textbf {\inserttitle}\ hfill \text{\ insertframenumber /\ inserttotalframenumber }}}}

Lezione 5 10/36 V. Ferro

Page 26: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

IntroduzioneVita di J.R.R.TolkienLa citazionesulla fantasiae la ragione

I TestiLe Poesie diTomBombadilLo HobbitIl Signoredegli AnelliLacompagniadell’anelloLe due torriIl ritorno delre

Conclusioni

La FantasiaIl genio di Tolkien e la cultura scientifica

Valentina Ferro 1 J.R.R. Tolkien 2

1Universita’ di Catania

2Merton College – Oxford

May 15, 2014

Valentina Ferro 1 J.R.R. Tolkien 2 May 15, 2014

La Fantasia 1/5

Lezione 5 10/36 V. Ferro

Page 27: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Un esempio per spiegare

IntroduzioneVita di J.R.R.TolkienLa citazionesulla fantasiae la ragione

I TestiLe Poesie diTomBombadilLo HobbitIl Signoredegli AnelliLacompagniadell’anelloLe due torriIl ritorno delre

Conclusioni

Fantasia e Ragioneda Sulle fiabe — Albero e foglia

La Fantasia e’ una naturale attivita’ umana, la qualecertamente non distrugge e neppure reca offesa alla Ragione;ne’ smussa l’appetito per la verita’ scientifica, di cui nonottunde la percezione. Al contrario: piu’ acuta e chiara e’ laragione, e migliori fantasie produrra’

Valentina Ferro 1 J.R.R. Tolkien 2 May 15, 2014

La Fantasia 3/5

Lezione 5 10/36 V. Ferro

Page 28: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Buttons

\ hyperlink { etichetta }{\ beamerbutton { nomevisualizzato }

Per inserire un bottone che rimanda ad una precisa slide:\hyperlink{transizioni}{\beamergotobutton{Vai alle transizioni}} Vai alle transizioni

\hyperlink{outline<5>}{\beamerbutton{Indice}} Indice

\hyperlink{end}{\beamerskipbutton{Salta alla fine}} Salta alla �ne

Lezione 5 11/36 V. Ferro

Page 29: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Una utile feature: Appendice

\ appendix

Le sezioni inserite dopo il comando appendix, non appaiono �nchènon si raggiunge un frame che è inserito dopo il comando stesso.

N.B. Il conteggio totale dei frame viene modi�cato dallapresenza dell'indice.Può essere necessario risettare il numero totale di frame:\renewcommand{\inserttotalframenumber}{num}

IntroduzioneVita di J.R.R.TolkienLa citazionesulla fantasiae la ragione

I TestiLe Poesie diTomBombadilLo HobbitIl Signoredegli AnelliLacompagniadell’anelloLe due torriIl ritorno delre

Conclusioni

ConclusioneL’insoddisfazione del messaggio

Questa presentazione non è stata affatto soddisfacente, essendoper lo più vuota!

Valentina Ferro 1 J.R.R. Tolkien 2 May 15, 2014

La Fantasia 5/5

Lezione 5 12/36 V. Ferro

Page 30: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Una utile feature: Appendice

\ appendix

Le sezioni inserite dopo il comando appendix, non appaiono �nchènon si raggiunge un frame che è inserito dopo il comando stesso.

N.B. Il conteggio totale dei frame viene modi�cato dallapresenza dell'indice.Può essere necessario risettare il numero totale di frame:\renewcommand{\inserttotalframenumber}{num}

Sezione AppSottosezioneApp

Frame appendice

Valentina Ferro 1 J.R.R. Tolkien 2 May 15, 2014

La Fantasia 6/5

Lezione 5 12/36 V. Ferro

Page 31: Corso LaTeX - Lezione Cinque: Advanced beamer

Personalizziamo un tema...Una utile feature: Appendice

\ appendix

Le sezioni inserite dopo il comando appendix, non appaiono �nchènon si raggiunge un frame che è inserito dopo il comando stesso.

N.B. Il conteggio totale dei frame viene modi�cato dallapresenza dell'indice.Può essere necessario risettare il numero totale di frame:\renewcommand{\inserttotalframenumber}{num}

IntroduzioneVita di J.R.R.TolkienLa citazionesulla fantasiae la ragione

I TestiLe Poesie diTomBombadilLo HobbitIl Signoredegli AnelliLacompagniadell’anelloLe due torriIl ritorno delre

Conclusioni

ConclusioneL’insoddisfazione del messaggio

Questa presentazione non è stata affatto soddisfacente, essendoper lo più vuota!

Valentina Ferro 1 J.R.R. Tolkien 2 May 15, 2014

La Fantasia 5/5

Sezione AppSottosezioneApp

Frame appendice

Valentina Ferro 1 J.R.R. Tolkien 2 May 15, 2014

La Fantasia 6/5

Lezione 5 12/36 V. Ferro

Page 32: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 13/36 V. Ferro

Page 33: Corso LaTeX - Lezione Cinque: Advanced beamer

Transizioni

Le transizioni agiscono sugli overlays, e solo in modalitàpresentazione.\transizione<numslide>[duration,direction]

transblindshorizontal Persiane a scomparsa orizzontalitransblindsvertical Persiane a scomparsa verticali

transboxin A scomparsa verso il centrotransboxout A scomparsa dal centro

transdissolve Dissolvenzatransglitter E�etto glitter

transslipverticalin A scomparsa verticale su due line verso il centrotransslipverticalout A scomparsa verticale su due line verso l'esterno

transhorizontalin A scomparsa orizzontale su due line verso il centrotranshorizontalout A scomparsa orizzontale su due line verso l'esterno

transwipe A scomparsa, unica lineatransduration{n} Mostra la slide n secondi

Lezione 5 14/36 V. Ferro

Page 34: Corso LaTeX - Lezione Cinque: Advanced beamer

Transizioni

Le transizioni agiscono sugli overlays, e solo in modalitàpresentazione.\transizione<numslide>[duration,direction]

transblindshorizontal Persiane a scomparsa orizzontalitransblindsvertical Persiane a scomparsa verticali

transboxin A scomparsa verso il centrotransboxout A scomparsa dal centro

transdissolve Dissolvenzatransglitter E�etto glitter

transslipverticalin A scomparsa verticale su due line verso il centrotransslipverticalout A scomparsa verticale su due line verso l'esterno

transhorizontalin A scomparsa orizzontale su due line verso il centrotranshorizontalout A scomparsa orizzontale su due line verso l'esterno

transwipe A scomparsa, unica lineatransduration{n} Mostra la slide n secondi

Lezione 5 14/36 V. Ferro

Page 35: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 15/36 V. Ferro

Page 36: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniCome funzionano

Generano un grande numero di slide

Non consentono una facile navigazioneDiverse tipologie

AnimazioneAvanzamento temporale

Possono essere migliorare se all'interno dell'ambiente Tikz

Lezione 5 16/36 V. Ferro

Page 37: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 38: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 39: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 40: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 41: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 42: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 43: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 44: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 45: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 46: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 47: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 48: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 49: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAvanzamento temporale

Un lungo elenco puntato animato

un

elenco

puntato

molto

lungo

giusto

per

provare

una

semplice

animazione

!

E' stato su�ciente inserirenanimate<2-13> all'inizio del frameLezione 5 17/36 V. Ferro

Page 50: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 51: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 52: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 53: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 54: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 55: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 56: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 57: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 58: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 59: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 60: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 61: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 62: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 63: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 64: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 65: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 66: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 67: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 68: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 69: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 70: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 71: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 72: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 73: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 74: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 75: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 76: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 77: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 78: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 79: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 80: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 81: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 82: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 83: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 84: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 85: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 86: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 87: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 88: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 89: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 90: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 91: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 92: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 93: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 94: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 95: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 96: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 97: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 98: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 99: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 100: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 101: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 102: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 103: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 104: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 105: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 106: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 107: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 108: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 109: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 110: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 111: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 112: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 113: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 114: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 115: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 116: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 117: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 118: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 119: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 120: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 121: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 122: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 123: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 124: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 125: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 126: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 127: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 128: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 129: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

Lezione 5 18/36 V. Ferro

Page 130: Corso LaTeX - Lezione Cinque: Advanced beamer

AnimazioniAnimare con e�etti

nanimatevalue<n>{e�etto}{start}{end}) Don't stop me now!!

\ newcount \opaqueness\ newdimen \offset\ newdimen \offsettwo

\ begin {frame}\animate<2-60,62-80>....\animatevalue<1-60>{\offset}{-6cm}{0cm}\animatevalue<62-81>{\opaqueness}{100}{0}\animatevalue<62-81>{\offsettwo}{0cm}{6cm}\ begin {colormixin}{\ the \opaqueness!averagebackgroundcolor}\ hspace {\offset}\ hspace {\offsettwo} $\ Rightarrow $ Don’t stop me now!!\ end {colormixin}...\ end {frame}

Codice modi�cato da Ki-Joo Kim

Lezione 5 18/36 V. Ferro

Page 131: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 19/36 V. Ferro

Page 132: Corso LaTeX - Lezione Cinque: Advanced beamer

File MultimedialiIl pacchetto media9

\ includemedia [ opzioni ]{ poster }{ percorso / file ( oppureurl )}

Proprietàrichiede il pacchetto media9

Formati accettati: avi, mpeg, �v, mp4, ...

Opzioni: width, heigh, label..

poster: quello che viene visualizzato in attesa del caricamentodel �le o prima che si attivi il contenuto

Lezione 5 20/36 V. Ferro

Page 133: Corso LaTeX - Lezione Cinque: Advanced beamer

File MultimedialiAlcuni esempi di codice

\includemedia[width=0.4\ linewidth ,height=0.3\ linewidth ,activate=pageopen,addresource=pictures/Vulvia.flv,flashvars={source=pictures/Vulvia.flv}]{}{VPlayer.swf}

\includemedia[width=146px,height=108px,activate=pageopen,addresource=pictures/Vulvia.flv,flashvars={source=pictures/Vulvia.flv}]{click!}{

StrobeMediaPlayback.swf}

Lezione 5 21/36 V. Ferro

Page 134: Corso LaTeX - Lezione Cinque: Advanced beamer

Outline1 Personalizzare i temi

ColoriElementiButtonsAppendice

2 Transizioni

3 Animazioni

4 File multimediali

5 Figure con TikzLe basiAnimazioni

Lezione 5 22/36 V. Ferro

Page 135: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZLe basi\ usepackage { tikz }

\ usetikzlibrary { lista delle librerie }...\ begin { tikzpicture }[ opzioni ]

comandi tikz\ end { tikzpicture }

Alcune librerie:arrows, matrix, mindmap, shapes.geometric, trees

\ begin {tikzpicture}\draw[red,dashed,thick] (1,0)--(0,0)--(-0.5,1.5)--cycle;

\ end {tikzpicture}

(0.5, 1.5) � (0.5cm, 1.5cm), è accettato anche(0.5cm, 1.5pt )

Un comando richiede sempre la chiusura con un punto e virgola;

Lezione 5 23/36 V. Ferro

Page 136: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZLe basi\ usepackage { tikz }

\ usetikzlibrary { lista delle librerie }...\ begin { tikzpicture }[ opzioni ]

comandi tikz\ end { tikzpicture }

Alcune librerie:arrows, matrix, mindmap, shapes.geometric, trees

\ begin {tikzpicture}\draw[red,dashed,thick] (1,0)--(0,0)--(-0.5,1.5)--cycle;

\ end {tikzpicture}

(0.5, 1.5) � (0.5cm, 1.5cm), è accettato anche(0.5cm, 1.5pt )

Un comando richiede sempre la chiusura con un punto e virgola;

Lezione 5 23/36 V. Ferro

Page 137: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZQualche esempio - Nodi

Per inserire del testo o un riferimento chepuò essere facilmente indicizzato siinseriscono inodi

AB

C

\ begin {tikzpicture}\draw[red,dashed,thick] (1,0)--(0,0)--(0.5,1.5)--cycle;\node [right] at (1,0) {$A$};\node [left] at (0,0) {$B$};\node [above] at (0.5,1.5) {$C$};

\ end {tikzpicture}

Lezione 5 24/36 V. Ferro

Page 138: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZDiagrammi

Deposizione

Cleaning

EllissometriaDeposizione

Metalli

Misure CV

Lezione 5 25/36 V. Ferro

Page 139: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZDiagrammi

\tikzstyle{main}=[thick, rectangle, draw=MyBlue, rounded corners, fill=MyBlue!70,text centered, anchor=north, text=white, text width=2cm]....

\ begin {frame}...\ begin {tikzpicture}[node distance=.9cm]

\node (Begin)[main]{Deposizione};\node (SecondStep)[main, below=of Begin]{Cleaning};\node (Split) [text width=2cm, below=of SecondStep] {};\node (MisSpessore) [second, left=of Split] {Ellissometria};\node (ThirdStep) [second, right=of Split] {Deposizione Metalli};...

\draw[myarrow] (Begin.south) -- (SecondStep.north);\draw[myarrow] (SecondStep.south) -- ++(0,-0.2) -| (MisSpessore.north);\draw[myarrow] (SecondStep.south) -- ++(0,-0.2) -| (ThirdStep.north);...

\ end {tikzpicture}

Lezione 5 26/36 V. Ferro

Page 140: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZMappe concettuali

Figure in LaTeX

Da esterno

include-graphics

pstricks

TikZ

Diagrammi

Interazionecon

beamer

Mappeconcettuali

Gra�ci

Lezione 5 27/36 V. Ferro

Page 141: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZMappe concettuali

\resizebox{.8\ textwidth }{!}{\ begin {tikzpicture}

\path[mindmap,concept color =MyGray,text=white]node[concept] {Figure in LaTeX}

% [clockwise from=0, step 180]child[grow=210,concept color =red!20!yellow] {

node[concept] {Da esterno}[clockwise from=210]child { node[concept] {include-graphics}}}

child[grow=270, concept color =MyGreen!50!yellow]{ node[concept] {pstricks}}child[grow=330, concept color =MyBlue!50!cyan] {

node[concept] {TikZ}[clockwise from=90]child { node[concept] {Diagrammi} }child { node[concept] {Interazione con beamer} }child { node[concept] {Mappe concettuali} }child { node[concept] {Grafici} }};

\ end {tikzpicture}}

Lezione 5 28/36 V. Ferro

Page 142: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZQualche esempio - funzioni

\draw [domain=<xmin>:<xmax>] plot (\x, {function});

\ begin {tikzpicture}\draw [->] (-2.2,0) -- (2.2,0);\draw [->] (0,0) -- (0,4.2);\draw [green, thick, domain=-2:2] plot (\x

, {4-\x * \x});\draw [domain=-2:2, samples=50] plot (\x,

{1+cos(pi * \x r});\ end {tikzpicture}

Alcune funzioni: sqrt, pow, exp, ln, abs, sin, cos, tan

Lezione 5 29/36 V. Ferro

Page 143: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZInterazione con gli overlay in beamer

f (x, m, s ) =1

sp

2pe� (x � m)2

2s2

Media

Deviazione Standard

Lezione 5 30/36 V. Ferro

Page 144: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZInterazione con gli overlay in beamer

f (x, m, s ) =1

sp

2pe� (x � m)2

2s2

Media

Deviazione Standard

Lezione 5 30/36 V. Ferro

Page 145: Corso LaTeX - Lezione Cinque: Advanced beamer

Disegnare con TikZInterazione con gli overlay in beamer

\ begin {equation * }f(x,\tikz[baseline]{\node[fill=blue!20,anchor=base] (t1){$\ mu$};},\tikz[baseline]{\node[fill=red!20, ellipse,anchor=base] (t2){$\ sigma $};}

) = \dfrac{1}{\ sigma \ sqrt {2\ pi }} e^{-\ frac {(x-\ mu)^2}{2\ sigma ^2}}\ end {equation * }

\ begin {itemize}[<+-| alert@+>]\ item Media

\tikz[na]\node [coordinate] (n1) {};\ item Deviazione Standard

\tikz[na]\node [coordinate] (n2) {};\ end {itemize}

\ begin {tikzpicture}[overlay]\path[->]<1-> (n1) edge [bend right] (t1);\path[->]<2-> (n2) edge [bend right] (t2);

\ end {tikzpicture}

Lezione 5 31/36 V. Ferro

Page 146: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 147: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 148: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 149: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 150: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 151: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 152: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 153: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 154: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 155: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

A B

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\animate<2-10>\foreach \pos in {0.1,0.2,...,1.0} {

\action<+>{\path (s) -- (r) node[pos=\pos,coordinate] (p) {};\draw[->] (s) -- (p);}}

\ end {tikzpicture}

Lezione 5 32/36 V. Ferro

Page 156: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZ

\ begin {animateinline}[loop]{10}\multiframe{10}{rPos=0.1+0.1}{

\ begin {tikzpicture}[every node/.style={draw}]\node (s) {A};\node (r) at (5,0) {B};\path (s) -- (r) node[pos=\rPos,coordinate] (p) {};\draw[->] (s) -- (p);\ end {tikzpicture}}

\ end {animateinline}

Lezione 5 33/36 V. Ferro

Page 157: Corso LaTeX - Lezione Cinque: Advanced beamer

Animare con TikZUn esempio complesso

Lezione 5 34/36 V. Ferro