Debian Codegraph @

texmf-dist/doc/latex/beamer2thesis/beamer2thesis.tex

raw
1 \documentclass{beamer}
2 \usetheme[titlepagelogo=logopolito,% Logo for the first page
3 language=english
4 ]{TorinoTh}
5
6 \usepackage[beamer,customcolors]{hf-tikz}
7 \hfsetfillcolor{alerted text.fg!10}
8 \hfsetbordercolor{alerted text.fg}
9
10 \author{Claudio Fiandrino}
11 \rel{Mario Rossi}
12 \title{Beamer2Thesis 2.2, thesis theme for Beamer}
13 \ateneo{Politecnico di Torino}
14 \date{\today}
15
16 \begin{document}
17 \input{content_initial.tex}
18
19 \begin{frame}[t,fragile]{Configuration}
20 \begin{itemize}
21 \item The configuration of the standard theme is:
22 \begin{itemize}
23 \item \verb!language=english!
24 \item \verb!coding=utf8x!
25 \item \verb!titlepagelogo=name-of-the-logo!
26 \item \verb!bullet=circle!
27 \item \verb!pageofpages=of!
28 \item \verb!titleline=true!
29 \item \verb!color=blue!
30 \item \verb!secondcandidate=false!
31 \item \verb!secondlogo=false!
32 \end{itemize}
33 \item Most of them, actually everyone except the \highlight{titlepagelogo}, can be omitted if there are no modifications
34 \end{itemize}
35 \end{frame}
36
37 \begin{frame}[fragile]{Behavior of alerts}
38 Each color theme requires different colors to highlight words. To insert alerts by using the \emph{itemize} environment, you can exploit:
39 \begin{verbatim}
40 \begin{itemize}
41 \item<+-| alert@+> Apple
42 \item<+-| alert@+> Peach
43 \end{itemize}
44 \end{verbatim}
45 For example:
46 \begin{itemize}
47 \item<+-| alert@+> Apple
48 \item<+-| alert@+> Peach
49 \end{itemize}
50 \end{frame}
51
52 \begin{frame}[fragile]{Another way to highlight words}
53 If you want to highlight your text out of the enviroment \emph{itemize}, Beamer2Thesis offers you the following possibilities:
54 \begin{itemize}
55 \item the standard command \verb!\alert{text}!: it simply highlights your \alert{text}
56 \item the command \verb!\highlight{text}!: it highlights your \highlight{text} setting it in italic
57 \item the command \verb!\highlightbf{text}!: it highlights your \highlightbf{text} setting it in bold
58 \end{itemize}
59 Of course, the color used, is set accordingly to your choice in the configuration phase.
60 \end{frame}
61
62 \begin{frame}[fragile]{Highlighting formulas}
63 \begin{itemize}
64 \item The package \href{http://www.ctan.org/pkg/hf-tikz}{hf-tikz} allows to highlight formulas and formula parts in Beamer with overlay specifications
65 \item The adaptation of colors to the theme could be done in this way:
66 \begin{verbatim}
67 \usepackage[beamer,customcolors]{hf-tikz}
68 \hfsetfillcolor{alerted text.fg!10}
69 \hfsetbordercolor{alerted text.fg}
70 \end{verbatim}
71 \item \highlight{Two compilation runs} are required to get the right result!
72 \item Read the package documentation to find more options; an example will be provided in the next frame.
73 \end{itemize}
74 \end{frame}
75
76 \begin{frame}[fragile]{Highlighting formulas (II)}
77 \begin{itemize}
78 \item Example:
79 \[\tikzmarkin<2->{a}x+\tikzmarkin<1>{b}y\tikzmarkend{b}=10\tikzmarkend{a}\]
80 \item<2-> Code:
81 \begin{verbatim}
82 \[\tikzmarkin<2->{a}x+
83 \tikzmarkin<1>{b}y\tikzmarkend{b}
84 =10\tikzmarkend{a}\]
85 \end{verbatim}
86 \end{itemize}
87 \end{frame}
88
89 \input{content_end}
90 \end{document}