Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
vlsi:resources:latex:slides [27/10/2013 19:31]
pacher
vlsi:resources:latex:slides [12/01/2014 12:18] (versione attuale)
panati
Linea 4: Linea 4:
 [ __[[vlsi:​resources:​latex|Back]]__ ] [ __[[vlsi:​resources:​latex|Back]]__ ]
 [ __[[vlsi:​resources:​latex:​syntax|Syntax quick references]]__ ] [ __[[vlsi:​resources:​latex:​syntax|Syntax quick references]]__ ]
- 
  
  
Linea 13: Linea 12:
 ====== Introduction ====== ====== Introduction ======
  
-Basic information about creating slides with LaTex and beamer 
  
 +//​Simplicity is the ultimate sophistication//​ \\
 + L. Da Vinci
  
 +Basic information about creating slides with LaTex and beamer
  
 ====== Documentclass ====== ====== Documentclass ======
Linea 32: Linea 33:
 </​code>​ </​code>​
  
 +or:
  
-====== ====== +<​code>​ 
-\\ +\frame{ 
-----+   \frametitle{Slide title} 
 +   ... 
 +} 
 +</​code>​
  
-Last update: [[pacher@NOSPAMto.infn.it|Luca Pacher]] - Oct 27, 2013 
-~~NOTOC~~ 
  
 +====  Preamble/​outline of contents ==== 
  
 +It is possible to add a frame with the outline/​index of the topics.
  
 +<​code>​
 +\begin{frame}
 +\frametitle{Outline}
 +\tableofcontents[part=1,​pausesections]
 +\end{frame}
 +</​code>​
  
 +or, simply
  
 +<​code>​
 +\section[Outline]{}
 +\frame{\tableofcontents}
 +</​code>​
 +
 +====  Body structure ====  ​
 +====  Timed/​highlithed lists ====
 +
 +<​code>​
 +\begin{enumerate}
 +\item<​1-| alert@1> Suppose $p$ were the largest prime number.
 +\item<​2->​ Let $q$ be the product of the first $p$ numbers.
 +\item<​3->​ Then $q+1$ is not divisible by any of them.
 +\item<​1->​ Thus $q+1$ is also prime and greater than $p$.\qedhere
 +\end{enumerate}
 +</​code>​
 +
 +====  Pictures/​Tables ====
 +It doesn'​t change anything from the other LaTeX classes.
 +So, if you want to include some pictures, use the usual packages
 +
 +<​code>​
 +\usepackage{graphicx}
 +</​code>​
 +
 +or
 +
 +<​code>​
 +\usepackage{tabular}
 +</​code>​
 +
 +and the usual code:
 +
 +<​code>​
 +\frame
 +{ \frametitle{Include a picture in your slideshow}
 +\begin{figure}
 +\centering
 +\includegraphics[width=5cm]{mypic.png}
 +\caption{Caption of the picture I want to include.}
 +\label{fig:​pictureinc}
 +\end{figure}
 +}
 +</​code>​
 +
 +and also for tables:
 +
 +<​code>​
 +\frame
 +{ \frametitle{Include a table in your slideshow}
 +\begin{table}
 +\centering
 +\begin{tabular}{|c|c|c|} \hline \hline
 +Flowers & Fruits & Trees\\ \hline \hline
 +Rose & Apple &  Pine \\
 +Daisy & Orange &  Oak\\ \hline \hline
 +\end{tabular}
 +\caption{Table example.}
 +\label{tbl:​tableexample}
 +\end{table}
 +}
 +</​code>​
 +
 +See also this [[vlsi:​resources:​latex:​syntax|section]].
 +
 +====  Codes ====  ​
 +
 +Here, there'​s no difference from the usual LaTeX classes, too.
 +
 +See also this [[vlsi:​resources:​latex:​syntax|section]].
 +
 +
 +====  Links to external files (pop-up viewing) ==== 
 +
 +You have to use the ''​hyperref''​ package in your main source preamble: ​
 +
 +<​code>​
 +\usepackage{hyperref} ​
 +</​code>​
 +
 +then 
 +
 +<​code>​
 +\href{file.jpeg}{Link to a picture}
 +</​code>​
 +or
 +
 +<​code>​
 +\href{file.pdf}{Link to a pdf file}
 +</​code>​
 +
 +====  Insert web content dynamically (javascript) ====
 +
 +  * [[http://​www.youtube.com/​watch?​v=3QLAZEohs1g|28c3 LT Day 2: LaTeX Beamer + JavaScript = office like presentations]] ← [[http://​www.eigenheimstrasse.de/​~ben/​beamernotepage/​|docs]]
 +
 +
 +====== Themes ======
 +
 +====  Default themes ====  ​
 +
 +If no theme is specified (or ''​\usetheme{default}''​ is specified), your presentation will be appear simply empty.
 +Otherwise, you can use some predefined themes, such as:
 +
 +<​code>​
 +\usetheme{Marburg}
 +\usetheme{sidebar}
 +\usetheme{Bergen}
 +\usetheme{Hannover}
 +\usetheme{Darmstadt}
 +\usetheme{Singapore}
 +\usetheme{Montpellier}
 +\usetheme{Berlin}
 +\usetheme{Boadilla}
 +\usetheme{Madrid}
 +\usetheme{Pittsburgh}
 +\usetheme{Copenhagen}
 +\usetheme{Warsaw}
 +\usetheme{Rochester} %[ works best as \usetheme[height=7mm]{Rochester} ]
 +\usetheme{Malmoe}
 +</​code>​
 +
 +====  Other themes ==== 
 +  * [[http://​www.hartwork.org/​beamer-theme-matrix/​|Beamer Theme Matrix]]
 +  * [[http://​latex.simon04.net/​|LaTeX beamer themes]]
 +  * [[http://​deic.uab.es/​~iblanes/​beamer_gallery/​|Beamer theme gallery]]
 +  * [[http://​juluribk.com/​2010/​04/​18/​beamer-themes/​|Beamer themes]]
 +
 +====  Customizing themes ====
 +
 +  * http://​www.csrdu.org/​nauman/​2011/​11/​12/​how-to-create-a-beamer-template-a-newbies-tutorial/​
 +
 +====== Links/​Tutorials======
 +  * [[http://​www.math.umbc.edu/​~rouben/​beamer/​|A beamer quickstart [EN]]]
 +  *[[http://​www.uncg.edu/​cmp/​reu/​presentations/​Charles%20Batts%20-%20Beamer%20Tutorial.pdf|A beamer tutorial (in beamer)[EN]]]
 +  * [[http://​www.scribd.com/​doc/​28011/​beamer-guide|Beamer v3.0 Guide [EN]]]
 +  * [[http://​ftp.uniroma2.it/​TeX/​macros/​latex/​contrib/​beamer/​doc/​beameruserguide.pdf|The beamer class user guide for version 3.31 of beamer [EN]]]
 +  * [[http://​www.lorenzopantieri.net/​LaTeX_files/​Presentazioni.pdf|L'​arte di fare una presentazione con beamer [IT]]]
 +  * [[http://​www.scribd.com/​doc/​35551883/​Beamer-Guida-Per-Le-Videoproiezioni|Guida per le videoproiezioni con beamer [IT]]]
 +  *[[http://​www.guitex.org/​home/​images/​doc/​GuideGuIT/​intropersbeamer.pdf|Introduzione alla personalizzazione di beamer [IT]]]
 +
 +
 +\\
 +----
 +
 +Last update: [[panati@NOSPAMto.infn.it|Serena Panati]] - Oct 27, 2013
 +~~NOTOC~~