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
a6f754fb
Commit
a6f754fb
authored
Jun 01, 2019
by
Lennart Klebl
Browse files
presentation improved
parent
4bceff60
Changes
2
Show whitespace changes
Inline
Side-by-side
workshops/latex/examples/minimal.tex
View file @
a6f754fb
\documentclass
[ngerman]
{
article
}
\begin{document}
Hallo Welt!
% Kommentarzeile
\end{document}
workshops/latex/latex.tex
View file @
a6f754fb
...
...
@@ -34,10 +34,9 @@
\makeatother
% TODO Titel & Autoren anpassen!
\date
{
\today
}
\title
[\LaTeX-Workshop]
{
\LaTeX
ist toll!
}
\subtitle
{
wirklich!
}
\author
{
OSAK-Mitglied
\#
42
}
\date
{
05.06.2019
}
\title
[Einführung in \LaTeX]
{
Einführung in
\LaTeX
}
\author
{
Valentin Bruch
}
\institute
[OSAK]
{
Open Source Arbeitskreis der
\\
Fachschaft Mathematik/Physik/Informatik an der RWTH Aachen
\\
...
...
@@ -72,30 +71,23 @@
\titlepage
\end{frame}
% TODO Blocksatz ist Standard!
\begin{frame}
{
Inhaltsverzeichnis
}
\tableofcontents
\end{frame}
\section
{
Motivation
}
\section
{
Dokumente mit
\LaTeX
}
\subsection
{
\TeX
{}
studio als Editor
}
\subsection
{
Aufbau eines
\LaTeX
-Dokuments
}
\OSAKthemenologo
\begin{frame}
{
Aufbau eines
\LaTeX
-Dokuments
}
\begin{frame}
[fragile]
{
Aufbau eines
\LaTeX
-Dokuments
}
\begin{columns}
[T]
\begin{column}
{
.35
\textwidth
}
{
\LaTeX
}
übersetzt
\\
Text in ein PDF
\begin{column}
{
.45
\textwidth
}
\structure
{{
\LaTeX
}
übersetzt Text in ein PDF
}
\\
[12pt]
\begin{itemize}
\item
Automatische Formatierung
\item
Weitere Formatierung durch
\\
Befehle im Text
\item
Für (fast) alles gibt es Befehle
\
setlength\itemsep
{
\fill
}
%wieso geht das nicht?
\item
Automatische Formatierung
\\
[12pt]
\item
Befehle, z.
\,
B.
\texttt
{
\textbackslash
textbf
\{\}
}
, haben Effekte
(z.
\,
B.
\textbf
{
fett
}
)
\\
[12pt]
\
item
Kommentare (mit
\%
) werden ignoriert
\\
[12pt]
\end{itemize}
\end{column}
\begin{column}
{
.
63
\textwidth
}
\begin{column}
{
.
5
\textwidth
}
\vspace*
{
-4pt
}
%
\centering
%
\begin{tikzpicture}
[even odd rule, scale=1]
...
...
@@ -105,7 +97,7 @@
(2pt,-15pt) rectangle (
\textwidth
-2pt, -.5
\textwidth
+2pt);
\node
[anchor=north west]
at (0pt, 0pt)
{
Editor: HelloWorld.tex
}
;
\node
[anchor=north west]
at (4pt, -12pt)
{
\parbox
[t][.5\textwidth-27pt][t]
{
\textwidth
-12pt
}{
%
\lstinputlisting
[basicstyle=\s
mall
\ttfamily]
{
examples/minimal.tex
}
\lstinputlisting
[basicstyle=\s
criptsize
\ttfamily]
{
examples/minimal.tex
}
}}
;
\end{tikzpicture}
\\
[-11pt]
\includegraphics
[angle=-90, width=.1\textwidth]
{
figures/texstudio-compile.pdf
}
\\
[2pt]
...
...
@@ -127,18 +119,8 @@
\OSAKthemelogo
\subsection
{
Beispieldokument
}
\section
{
Präsentationen mit
\LaTeX
-Beamer
}
\subsection
{
?
}
% Logo ausblenden
\OSAKthemenologo
%todo beispiel 1 fehlt!
\begin{frame}
[fragile]
{
Das Prinzip
}
\structure
{
Ihr schreibt eine
\texttt
{
.tex
}
Datei:
}
\begin{itemize}
\item
Normaler Text hier wird später im PDF landen
\item
Befehle, z.
\,
B.
\texttt
{
\textbackslash
textbf
\{\}
}
, haben Effekte (z.
\,
B.
\textbf
{
fett
}
)
\item
Kommentare (mit
\%
) werden ignoriert
\end{itemize}
\end{frame}
\begin{frame}
{
TeXStudio (Editor)
}
\vspace
{
-8pt
}
...
...
@@ -332,7 +314,8 @@
\begin{frame}
[fragile]
{
Umgebungen
}
\begin{itemize}
\setbeamertemplate
{
itemize items
}
[square]
\item
Umgebungen durch
\texttt
{
begin
}
und
\texttt
{
end
}
begrenzt
\item
Umgebungen durch
\texttt
{
\color
{
Mahogany
}
\bfseries\textbackslash
begin
}
und
\texttt
{
\color
{
Mahogany
}
\bfseries\textbackslash
end
}
begrenzt
\end{itemize}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
...
...
@@ -384,14 +367,16 @@
\newcommand
{
\highlightBlu
}
[1]
{{
\color
{
RoyalBlue
}
\texttt
{
\bfseries
#1
}}}
\begin{frame}
[fragile]
{
Mathematik
}
\structure
{
Umgebungen:
}
\structure
{
Umgebungen:
}
\\
[10pt]
\begin{itemize}
\item
\highlightBlu
{
equation
}{
\bfseries
:
}
Vom Text abgesetzte Gleichung
\\
[10pt]
\item
\highlightBlu
{
align
}{
\bfseries
:
}
Wie
\highlightBlu
{
equation
}
, nur dass man an
\highlightRed
{
\&
}
\glqq
tabben
\grqq\
kann
\item
Wie bei z.
\,
B.
\highlightRed
{
\textbackslash
section*
\{
...
\}
}
auch hier
\highlightRed
{
*
}
für
\glqq
tabben
\grqq\
kann
\\
[10pt]
\item
Wie bei z.
\,
B.
\highlightRed
{
\textbackslash
section*
\{
...
\}
}
auch
hier
\highlightRed
{
*
}
für
nicht-nummerierte Gleichungen, also
\highlightRed
{
\textbackslash
begin
\{
}
%
\highlightBlu
{
align*
}
\highlightRed
{
\}
}
\highlightBlu
{
align*
}
\highlightRed
{
\}
}
\\
[10pt]
\end{itemize}
\structure
{
Im Textfluss
}
kann man Gleichungen mit
\highlightRed
{
\$
...
\$
}
schreiben, also z.
\,
B.
...
...
@@ -535,7 +520,7 @@
\end{minipage}
}
;
\\
}
;
\end{tikzpicture}
\end{tikzpicture}
\\
[12pt]
\item
\highlightBlu
{
tabular
}
-Umgebung für Tabellen:
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
...
...
@@ -558,12 +543,12 @@
\begin{frame}
[fragile]
{
Floats
}
\begin{columns}
\begin{column}
{
0.45
\textwidth
}
\structure
{
Floats
}
für Bilder, Tabellen, ...
\emph
{
im Text
}
\structure
{
Floats
}
für Bilder, Tabellen, ...
\emph
{
im Text
}
\\
[8pt]
\begin{itemize}
\small
\item
Umgebungen
\highlightBlu
{
table
}
\&
\highlightBlu
{
figure
}
\item
\highlightRed
{
\textbackslash
{}
centering
}
\item
\highlightRed
{
\textbackslash
{}
caption
}
\verb
+
{Text}
+
\item
Umgebungen
\highlightBlu
{
table
}
\&
\highlightBlu
{
figure
}
\\
[8pt]
\item
\highlightRed
{
\textbackslash
{}
centering
}
\\
[8pt]
\item
\highlightRed
{
\textbackslash
{}
caption
}
\verb
+
{Text}
+
\\
[8pt]
\item
\highlightRed
{
\textbackslash
{}
includegraphics
}
\verb
+
{}
+
\&
\highlightBlu
{
tabular
}
zusätzlich
\\
[5pt]
\scriptsize
...
...
@@ -579,10 +564,10 @@
\begin{minipage}
[t][2.1cm][c]
{
\textwidth
}
\lstinputlisting
[basicstyle=\tiny]
{
examples/figure.tex
}
\end{minipage}
}
;
\\
}
;
\\
[-4pt]
\node
[rotate=270]
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}
}
;
\\
}
;
\\
[-4pt]
\node
[draw=blue!20!lightgray,line width=2pt]
{
\begin{minipage}
[t][2.75cm][c]
{
\textwidth
}
\centering
...
...
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