Commit 5af2efc3 authored by Lennart Klebl's avatar Lennart Klebl
Browse files

bilder & tabellen

parent cdb34658
\includegraphics[width=5cm]{doge.jpg}
\begin{tabular}{r|lcc}
no & Name & Zahl & Summe \\
\hline
1 & cat & 42 & 42 \\
2 & doge & 1 & 42?!
\end{tabular}
......@@ -24,8 +24,8 @@
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},
morekeywords={center,document,flushleft,flushright,itemize,enumerate}
moretexcs={lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics},
morekeywords={center,document,flushleft,flushright,itemize,enumerate,tabular}
}
\makeatletter
......@@ -495,16 +495,46 @@
\begin{frame}{Detexify}{\url{http://detexify.kirelabs.org}}
\vspace{-18pt}
\includegraphics[width=\textwidth]{detexify.png}
\includegraphics[width=\textwidth]{figures/detexify.png}
\end{frame}
\begin{frame}{Bilder \& Tabellen}
\begin{frame}[fragile]{Bilder \& Tabellen}
\begin{itemize}
\item \highlightRed{\textbackslash%
includegraphics}\texttt{[optional]}\highlightRed{\{\}}, um Bilder
einzubinden (bspw. \texttt{width=0.9\textbackslash textwidth} als Option)
\begin{tikzpicture}
\node[matrix,column sep=4pt, row sep=6pt] {
\node[draw=blue!20!lightgray,line width=2pt]{
\begin{minipage}[t][1.0cm][c]{.4\textwidth}
\lstinputlisting[basicstyle=\tiny]{examples/includegraphics.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray,line width=2pt]{
\begin{minipage}[t][1.0cm][c]{.3\textwidth}
\centering
\includegraphics[width=1.0cm]{figures/doge.png}
\end{minipage}
}; \\
};
\end{tikzpicture}
\item \highlightBlu{tabular}-Umgebung für Tabellen:
\lstinputlisting{examples/tabular.tex} ARROW IMAGE.
\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] {
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][1.8cm][c]{.4\textwidth}
\lstinputlisting[basicstyle=\tiny]{examples/tabular.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][1.8cm][c]{.3\textwidth}
\includegraphics[width=\textwidth]{examples/tabular.pdf}
\end{minipage}
}; \\
};
\end{tikzpicture}
\end{itemize}
\end{frame}
......
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