Commit 86f8b560 authored by Lennart Klebl's avatar Lennart Klebl
Browse files

merged math

parent a1e38e40
......@@ -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}
Supports Markdown
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