Commit 6d73ca96 authored by Valentin Bruch's avatar Valentin Bruch
Browse files

presentation: notes for presentation

parent 1688d658
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
\usefonttheme{professionalfonts} \usefonttheme{professionalfonts}
\newcommand{\bsl}{\textbackslash} \newcommand{\bsl}{\textbackslash}
\renewcommand\note[2][]{\ifshownotes#1{\color[rgb]{0,.5,0}#2}\fi} \definecolor{darkgreen}{rgb}{0,0.5,0}
\renewcommand\note[2][]{\ifshownotes#1{\color{darkgreen}#2}\fi}
\newcommand\colorifnote{\ifshownotes\color{darkgreen}\fi}
\hypersetup{unicode=true} \hypersetup{unicode=true}
...@@ -36,7 +38,8 @@ ...@@ -36,7 +38,8 @@
commentstyle=\itshape\color{RoyalBlue}, commentstyle=\itshape\color{RoyalBlue},
keywordstyle=\color{RoyalBlue}\bfseries, keywordstyle=\color{RoyalBlue}\bfseries,
moretexcs={lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength}, moretexcs={lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength},
morekeywords={center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,figure,babel,mathtools,equation,align} morekeywords={center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,figure,babel,mathtools,equation,align},
deletetexcs={vec}
} }
\makeatletter \makeatletter
...@@ -463,14 +466,15 @@ ...@@ -463,14 +466,15 @@
\begin{minipage}[t][10mm][c]{.4\textwidth} \begin{minipage}[t][10mm][c]{.4\textwidth}
\centering \centering
\scriptsize \ttfamily \verb|\sum_{n=0}^\infty n =| \scriptsize \ttfamily \verb|\sum_{n=0}^\infty n =|
\verb|-\frac{1}{12}| \colorifnote\verb|-\frac{1}{12}|
\end{minipage} \end{minipage}
}; & }; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & \node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.4\textwidth} \begin{minipage}[t][10mm][c]{.4\textwidth}
\centering \centering
$\displaystyle\sum_{n=0}^\infty n = -\frac{1}{12}$ $\displaystyle\sum_{n=0}^\infty n =
-\colorifnote\frac{1}{12}$
\end{minipage} \end{minipage}
}; };
\\ \\
...@@ -478,7 +482,7 @@ ...@@ -478,7 +482,7 @@
\begin{minipage}[t][6mm][c]{.4\textwidth} \begin{minipage}[t][6mm][c]{.4\textwidth}
\centering \centering
\scriptsize \ttfamily \scriptsize \ttfamily
\verb|\nabla\cdot\vec{E} = 4\pi\rho| \verb|\nabla\cdot\vec{E} = 4|\colorifnote\verb|\pi\rho|
\end{minipage} \end{minipage}
}; & }; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & \node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
...@@ -492,8 +496,8 @@ ...@@ -492,8 +496,8 @@
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][6mm][c]{.4\textwidth} \begin{minipage}[t][6mm][c]{.4\textwidth}
\centering \centering
\scriptsize \ttfamily \scriptsize\ttfamily
\verb|\sqrt{e^{i\pi}} = \pm i| {\colorifnote\verb|\sqrt|}\verb|{e^{i\pi}} = \pm i|
\end{minipage} \end{minipage}
}; & }; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & \node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment