Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
talks
Commits
50dc7d0a
Commit
50dc7d0a
authored
Jun 03, 2019
by
Valentin Bruch
Browse files
beamer: improved "extra slides"
parent
da933175
Changes
4
Hide whitespace changes
Inline
Side-by-side
workshops/latex/beamer/beamer.tex
View file @
50dc7d0a
...
...
@@ -88,7 +88,7 @@
texcsstyle=*
\color
{
Mahogany
}
\bfseries
,
commentstyle=
\itshape\color
{
RoyalBlue
}
,
keywordstyle=
\color
{
RoyalBlue
}
\bfseries
,
moretexcs=
{
lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength,institute,subtitle,alert,only,onslide,titlepage,usetheme,usecolortheme
}
,
moretexcs=
{
lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength,institute,subtitle,alert,only,onslide,titlepage,usetheme,usecolortheme
,movie
}
,
morekeywords=
{
center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,frame,example,definition,theorem,proof,block,column,columns,exampleblock,alertblock
}
,
moredelim=**[is][
\smash
]
{
@
}{
@
}
}
...
...
@@ -342,25 +342,45 @@
\section
{
Was beamer noch kann
}
\begin{frame}
{
Was
\LaTeX
-beamer noch kann
}
\begin{itemize}
\item
Videos- und Audiodateien einbinden
\item
Text, Formeln usw.
{
\only
<2>
{
\color
{
red
}}
teilweise
\only
<2>
{
\color
{
green
}}
farblich
}
hervorheben
\item
Schöne Fußnoten
\footnote
{
%
z.
\,
B. zum Zitieren von
\fullcite
{
beameruserguide
}}
\item
Einfaches Erstellen eigener Themen
\item
Primitive Animationen
\item
Notizen für den Vortragenden
\end{itemize}
\begin{columns}
\begin{column}
{
.6
\textwidth
}
\begin{itemize}
\item
Videos- und Audiodateien einbinden
\item
Text, Formeln usw.
{
\only
<2>
{
\color
{
red
}}
teilweise
\only
<2>
{
\color
{
green
}}
farblich
}
hervorheben
\item
Schöne Fußnoten
\footnotemark
\item
Einfaches Erstellen eigener Themen
\item
Primitive Animationen
\item
Notizen für den Vortragenden
\end{itemize}
\vspace
{
6mm
}
\end{column}
\begin{column}
{
.4
\textwidth
}
\includegraphics
[
width=
\textwidth
,
page=1,
trim=
{
16mm 40mm 16mm 20mm
}
,
clip
]
{
beameruserguide.pdf
}
\end{column}
\end{columns}
\footnotetext
{
z.
\,
B. zum Zitieren von
\fullcite
{
beameruserguide
}}
%
\end{frame}
\begin{frame}
{
Videos
}
\vspace*
{
-6mm
}
%
\begin{center}
\movie
[width=.5
\textwidth
, height=.3125
\textwidth
,
loop]
{
\includegraphics
[width=.5\textwidth]
{
image.jpg
}}{
movie.mp4
}
\\
Wellenfuntion im eindimensionalen Kastenpotential
\end{center}
\begin{columns}
\begin{column}
{
.5
\textwidth
}
\movie
[
width=
\textwidth
, height=.625
\textwidth
, loop
]
{
\includegraphics
[width=\textwidth]
{
image.jpg
}}{
movie.mp4
}
\\
Wellenfuntion im Kastenpotential
\end{column}
\begin{column}
{
.5
\textwidth
}
Videos einbetten ist einfach,
\\
\alert
{
aber oft nicht sinnvoll
}
:
\lstinputlisting
{
examples/movie.tex
}
\end{column}
\end{columns}
\end{frame}
\newcount\timecounter
...
...
@@ -382,72 +402,79 @@
\end{frame}
\begin{frame}
{
TikZ Beispiel: Graphen in Tight Binding
}
\begin{overprint}
Näherung der Bandstruktur von Graphen
\vspace*
{
-1mm
}
\begin{columns}
[T]
\begin{column}
[T]
{
0.5
\textwidth
}
\begin{block}
{
Tight Binding Model
}
\vspace*
{
-1mm
}
\begin{itemize}
\item
Honigwabengitter
\item
Nur
\red
{
Hüpfen
}
zu
\green
{
nächsten Nachbarn
}
\end{itemize}
\vspace*
{
-2mm
}
\begin{align*}
\mathcal
{
H
}
&
=-
\red
{
t
}
\sum
_{
\green
{
\left
<i,j
\right
>
}}
a
_
\green
{
i
}^
\dagger
a
_
\green
{
j
}
\\
&
=-
\sum
_{
\mathbf
{
m
}
,
\mathbf
{
n
}
,
\alpha
,
\beta
}
\red
{
t
}
\green
{_{
\alpha\beta
}
(
\mathbf
{
m
}
)
}
a
_{
\alpha\,
(n+m)
}^
\dagger
a
_{
\beta\,
n
}
\end{align*}
\vspace*
{
-1mm
}
\end{block}
\end{column}
\begin{column}
[T]
{
0.5
\textwidth
}
\vspace*
{
-4.5mm
}
\tikzsetnextfilename
{
graphene3d
}
\hspace*
{
3mm
}
%
\begin{tikzpicture}
[scale=1]
\begin{axis}
[
view/h=33,
axis lines=none,
width=8.3cm,
height=8.5cm,
xmin=-4.4, xmax=4.4,
ymin=-4.4, ymax=4.4,
zmin=-3.1, zmax=3.1,
]
\addplot
3[
mesh,
%surf,
%shader=interp,
samples=50,
domain=-4.3:4.3,
y domain=-4.3:4.3,
]
{
-sqrt(1+4*cos(
\y
/2 r)
^
2+4*cos(
\y
/2 r)*cos(sqrt(3)*
\x
/2 r))
}
;
\addplot
3[
mesh,
%surf,
%shader=interp,
samples=50,
domain=-4.3:4.3,
y domain=-4.3:4.3,
]
{
sqrt(1+4*cos(
\y
/2 r)
^
2+4*cos(
\y
/2 r)*cos(sqrt(3)*
\x
/2 r))
}
;
\end{axis}
\end{tikzpicture}
\vspace*
{
-12mm
}
\end{column}
\end{columns}
\vspace*
{
1.5mm
}
$
\implies
$
Energieeigenzustände:
$
\quad\displaystyle
E
(
\mathbf
{
k
}
)
=
\pm
\red
{
t
}
%
\Underbrace
{
%
\sqrt
{
1
+
4
\cos
^
2
\Big
(
\frac
a
2
k
_
y
\Big
)+
4
\cos\Big
(
\frac
a
2
k
_
y
\Big
)
\cos\Big
(
\sqrt
3
\frac
a
2
k
_
x
\Big
)
}
%
}{
\left
|
1
+
e
^{
-
i
\mathbf
{
k
}
\cdot\mathbf
{
a
_
2
}}
+
e
^{
-
i
\mathbf
{
k
}
\cdot
(
\mathbf
{
a
_
1
}
+
\mathbf
{
a
_
2
}
)
}
\right
|
}
%
$
\end{overprint}
Näherung der Bandstruktur von Graphen
\vspace*
{
-2mm
}
\begin{columns}
[T]
\begin{column}
{
.5
\textwidth
}
\begin{block}
{
Tight Binding Model
}
\vspace*
{
-1mm
}
\begin{itemize}
\item
Honigwabengitter
\item
Nur
\red
{
Hüpfen
}
zu
\green
{
nächsten Nachbarn
}
\end{itemize}
\vspace*
{
-2mm
}
\begin{align*}
\mathcal
{
H
}
&
=-
\red
{
t
}
\sum
_{
\green
{
\left
<i,j
\right
>
}}
a
_
\green
{
i
}^
\dagger
a
_
\green
{
j
}
\\
&
=-
\sum
_{
\mathbf
{
m
}
,
\mathbf
{
n
}
,
\alpha
,
\beta
}
\red
{
t
}
\green
{_{
\alpha\beta
}
(
\mathbf
{
m
}
)
}
a
_{
\alpha\,
(n+m)
}^
\dagger
a
_{
\beta\,
n
}
\end{align*}
\vspace*
{
-1mm
}
\end{block}
\end{column}
\begin{column}
{
.5
\textwidth
}
\vspace*
{
-4.5mm
}
\tikzsetnextfilename
{
graphene3d
}
\hspace*
{
3mm
}
%
\begin{tikzpicture}
[scale=1]
\begin{axis}
[
view/h=33,
axis lines=none,
width=8.3cm,
height=8.5cm,
xmin=-4.4, xmax=4.4,
ymin=-4.4, ymax=4.4,
zmin=-3.1, zmax=3.1,
]
\addplot
3[
mesh,
%surf,
%shader=interp,
samples=50,
domain=-4.3:4.3,
y domain=-4.3:4.3,
]
{
-sqrt(1+4*cos(
\y
/2 r)
^
2+4*cos(
\y
/2 r)*cos(sqrt(3)*
\x
/2 r))
}
;
\addplot
3[
mesh,
%surf,
%shader=interp,
samples=50,
domain=-4.3:4.3,
y domain=-4.3:4.3,
]
{
sqrt(1+4*cos(
\y
/2 r)
^
2+4*cos(
\y
/2 r)*cos(sqrt(3)*
\x
/2 r))
}
;
\end{axis}
\end{tikzpicture}
\vspace*
{
-12mm
}
\end{column}
\end{columns}
\vspace*
{
1.5mm
}
$
\implies
$
Energieeigenzustände:
$
\quad\displaystyle
E
(
\mathbf
{
k
}
)
=
\pm
\red
{
t
}
%
\Underbrace
{
%
\sqrt
{
1
+
4
\cos
^
2
\Big
(
\frac
a
2
k
_
y
\Big
)+
4
\cos\Big
(
\frac
a
2
k
_
y
\Big
)
\cos\Big
(
\sqrt
3
\frac
a
2
k
_
x
\Big
)
}
%
}{
\left
|
1
+
e
^{
-
i
\mathbf
{
k
}
\cdot\mathbf
{
a
_
2
}}
+
e
^{
-
i
\mathbf
{
k
}
\cdot
(
\mathbf
{
a
_
1
}
+
\mathbf
{
a
_
2
}
)
}
\right
|
}
%
$
\end{frame}
\begin{frame}
\null\hfill
%
\begin{beamercolorbox}
[sep=8pt,wd=.6
\paperwidth
,rounded=true,shadow=true,center]
{
title
}
\usebeamerfont
{
title
}
\LARGE\slshape
Noch Fragen?
\end{beamercolorbox}
%
\hfill\null
%
\end{frame}
\end{document}
...
...
workshops/latex/beamer/beameruserguide.pdf
0 → 100644
View file @
50dc7d0a
File added
workshops/latex/beamer/examples/movie.tex
0 → 100644
View file @
50dc7d0a
\movie
[width=8cm, height=6cm, loop]
{
\includegraphics
[width=8cm]
{
image.jpg
}
}{
movie.mp4
}
workshops/latex/handout.tex
View file @
50dc7d0a
...
...
@@ -498,7 +498,7 @@ Titelfolie: \verb|\begin{frame} \titlepage \end{frame}|
%
\subsection
{
Strukturierung
}
\begin{minipage}
[t]
{
.65
\linewidth
}
\verb
|
\begin{columns}[
|
\emph
{
Position:
}
t/b/c
\texttt
{
]
}
\\
\verb
|
\begin{columns}[
|
\emph
{
Position:
}
t/b/c
/T
\texttt
{
]
}
\\
\verb
|
%
|
\emph
{
Position:
}
\textbf
{
t
}
op,
\textbf
{
c
}
enter,
\textbf
{
b
}
ottom
\\
\verb
|
\begin{column}{0.5\textwidth}
|
\\
\verb
|
Spalten bringen Struktur!
|
\\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment