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
86f8b560
Commit
86f8b560
authored
May 20, 2019
by
Lennart Klebl
Browse files
merged math
parent
a1e38e40
Changes
1
Hide whitespace changes
Inline
Side-by-side
workshops/latex/latex.tex
View file @
86f8b560
...
...
@@ -12,18 +12,19 @@
\usepackage
{
listings
}
\usepackage
{
calc
}
\graphicspath
{{
figures/
}{
examples/
}}
\usefonttheme
{
professionalfonts
}
\usetheme
{
OSAK
}
\lstset
{
basicstyle=
\scriptsize\ttfamily
,
language=
{
[LaTeX]TeX
}
,
texcsstyle=*
\color
{
Mahogany
}
\bfseries
,
commentstyle=
\itshape\color
{
RoyalBlue
}
,
keywordstyle=
\color
{
RoyalBlue
}
\bfseries
,
moretexcs=
{
lstset,testfont,testfont,subsubsection,paragraph,subsection ,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,HUGE,
Gargantous,ShowCharInBox
}
,
morekeywords=
{
center,document
}
basicstyle=
\scriptsize\ttfamily
,
language=
{
[LaTeX]TeX
}
,
texcsstyle=*
\color
{
Mahogany
}
\bfseries
,
commentstyle=
\itshape\color
{
RoyalBlue
}
,
keywordstyle=
\color
{
RoyalBlue
}
\bfseries
,
moretexcs=
{
lstset,testfont,testfont,subsubsection,paragraph,subsection ,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,HUGE,
Gargantous,ShowCharInBox
}
,
morekeywords=
{
center,document
}
}
\makeatletter
...
...
@@ -234,89 +235,184 @@
%TODO Mehrere von diesen structures?
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Fontstyle
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2e.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.25
\textwidth
}
\textbf
{
fett
}
\textit
{
kursiv
}
\\
\underline
{
unterstrichen
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Schriftgröße
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2f.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.25
\textwidth
}
\tiny
tiny
\small
small
\large
large
\\
\Large
Large
\,\LARGE
LARGE
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Textfarbe
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2g.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.25
\textwidth
}
\input
{
examples/2g.tex
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Überschriften (automatisch)
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2h.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.25
\textwidth
}
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Fontstyle
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2e.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.25
\textwidth
}
\textbf
{
fett
}
\textit
{
kursiv
}
\\
\underline
{
unterstrichen
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Schriftgröße
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2f.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.25
\textwidth
}
\tiny
tiny
\small
small
\large
large
\\
\Large
Large
\,\LARGE
LARGE
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Textfarbe
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2g.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.25
\textwidth
}
\input
{
examples/2g.tex
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Überschriften (automatisch)
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2h.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.25
\textwidth
}
Foto
\end{minipage}
}
;
\\
\end{minipage}
}
;
\\
}
;
\end{tikzpicture}
\end{frame}
\begin{frame}
[fragile]
{
Mathematik
}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\vec x^2 = x_1^2 + x_2^2
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle
\vec
x
^
2
=
x
_
1
^
2
+
x
_
2
^
2
$
\end{minipage}
}
;
\\
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\sum_{n=0}^\infty n = -\frac{1}{12}
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle\sum
_{
n
=
0
}^
\infty
n
=
-
\frac
{
1
}{
12
}$
\end{minipage}
}
;
\\
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\nabla\cdot\vec E = 4\pi\rho
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle\nabla\cdot\vec
E
=
4
\pi\rho
$
\end{minipage}
}
;
\\
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\sqrt{e^{i\pi}} = \pm i
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle
\sqrt
{
e
^{
i
\pi
}}
=
\pm
i
$
\end{minipage}
}
;
\\
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\sin(30^\circ)=\frac{\sqrt{3}}{2}
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle
\sin
(
30
^
\circ
)
=
\frac
{
\sqrt
{
3
}}{
2
}$
\end{minipage}
}
;
\\
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
m\approx 80\,\mathrm{kg}
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][7mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle
m
\approx
80
\,\mathrm
{
kg
}$
\end{minipage}
}
;
\\
}
;
\end{tikzpicture}
\end{frame}
\end{document}
Write
Preview
Supports
Markdown
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