Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
talks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
talks
Commits
a6f754fb
Commit
a6f754fb
authored
6 years ago
by
Lennart Klebl
Browse files
Options
Downloads
Patches
Plain Diff
presentation improved
parent
4bceff60
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
workshops/latex/examples/minimal.tex
+1
-0
1 addition, 0 deletions
workshops/latex/examples/minimal.tex
workshops/latex/latex.tex
+28
-43
28 additions, 43 deletions
workshops/latex/latex.tex
with
29 additions
and
43 deletions
workshops/latex/examples/minimal.tex
+
1
−
0
View file @
a6f754fb
\documentclass
[ngerman]
{
article
}
\documentclass
[ngerman]
{
article
}
\begin{document}
\begin{document}
Hallo Welt!
Hallo Welt!
% Kommentarzeile
\end{document}
\end{document}
This diff is collapsed.
Click to expand it.
workshops/latex/latex.tex
+
28
−
43
View file @
a6f754fb
...
@@ -34,10 +34,9 @@
...
@@ -34,10 +34,9 @@
\makeatother
\makeatother
% TODO Titel & Autoren anpassen!
% TODO Titel & Autoren anpassen!
\date
{
\today
}
\date
{
05.06.2019
}
\title
[\LaTeX-Workshop]
{
\LaTeX
ist toll!
}
\title
[Einführung in \LaTeX]
{
Einführung in
\LaTeX
}
\subtitle
{
wirklich!
}
\author
{
Valentin Bruch
}
\author
{
OSAK-Mitglied
\#
42
}
\institute
[OSAK]
{
\institute
[OSAK]
{
Open Source Arbeitskreis der
\\
Open Source Arbeitskreis der
\\
Fachschaft Mathematik/Physik/Informatik an der RWTH Aachen
\\
Fachschaft Mathematik/Physik/Informatik an der RWTH Aachen
\\
...
@@ -72,30 +71,23 @@
...
@@ -72,30 +71,23 @@
\titlepage
\titlepage
\end{frame}
\end{frame}
% TODO Blocksatz ist Standard!
\begin{frame}
{
Inhaltsverzeichnis
}
\tableofcontents
\end{frame}
\section
{
Motivation
}
\section
{
Motivation
}
\section
{
Dokumente mit
\LaTeX
}
\section
{
Dokumente mit
\LaTeX
}
\subsection
{
\TeX
{}
studio als Editor
}
\subsection
{
\TeX
{}
studio als Editor
}
\subsection
{
Aufbau eines
\LaTeX
-Dokuments
}
\subsection
{
Aufbau eines
\LaTeX
-Dokuments
}
\OSAKthemenologo
\OSAKthemenologo
\begin{frame}
{
Aufbau eines
\LaTeX
-Dokuments
}
\begin{frame}
[fragile]
{
Aufbau eines
\LaTeX
-Dokuments
}
\begin{columns}
[T]
\begin{columns}
[T]
\begin{column}
{
.35
\textwidth
}
\begin{column}
{
.45
\textwidth
}
{
\LaTeX
}
übersetzt
\\
\structure
{{
\LaTeX
}
übersetzt Text in ein PDF
}
\\
[12pt]
Text in ein PDF
\begin{itemize}
\begin{itemize}
\item
Automatische Formatierung
\item
Automatische Formatierung
\\
[12pt]
\item
Weitere Formatierung durch
\\
Befehle im Text
\item
Befehle, z.
\,
B.
\texttt
{
\textbackslash
textbf
\{\}
}
, haben Effekte
\item
Für (fast) alles gibt es Befehle
(z.
\,
B.
\textbf
{
fett
}
)
\\
[12pt]
\
setlength\itemsep
{
\fill
}
%wieso geht das nicht?
\
item
Kommentare (mit
\%
) werden ignoriert
\\
[12pt]
\end{itemize}
\end{itemize}
\end{column}
\end{column}
\begin{column}
{
.
63
\textwidth
}
\begin{column}
{
.
5
\textwidth
}
\vspace*
{
-4pt
}
%
\vspace*
{
-4pt
}
%
\centering
%
\centering
%
\begin{tikzpicture}
[even odd rule, scale=1]
\begin{tikzpicture}
[even odd rule, scale=1]
...
@@ -105,7 +97,7 @@
...
@@ -105,7 +97,7 @@
(2pt,-15pt) rectangle (
\textwidth
-2pt, -.5
\textwidth
+2pt);
(2pt,-15pt) rectangle (
\textwidth
-2pt, -.5
\textwidth
+2pt);
\node
[anchor=north west]
at (0pt, 0pt)
{
Editor: HelloWorld.tex
}
;
\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
}{
%
\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]
\end{tikzpicture}
\\
[-11pt]
\includegraphics
[angle=-90, width=.1\textwidth]
{
figures/texstudio-compile.pdf
}
\\
[2pt]
\includegraphics
[angle=-90, width=.1\textwidth]
{
figures/texstudio-compile.pdf
}
\\
[2pt]
...
@@ -127,18 +119,8 @@
...
@@ -127,18 +119,8 @@
\OSAKthemelogo
\OSAKthemelogo
\subsection
{
Beispieldokument
}
\subsection
{
Beispieldokument
}
\section
{
Präsentationen mit
\LaTeX
-Beamer
}
\section
{
Präsentationen mit
\LaTeX
-Beamer
}
\subsection
{
?
}
% Logo ausblenden
% Logo ausblenden
\OSAKthemenologo
\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)
}
\begin{frame}
{
TeXStudio (Editor)
}
\vspace
{
-8pt
}
\vspace
{
-8pt
}
...
@@ -332,7 +314,8 @@
...
@@ -332,7 +314,8 @@
\begin{frame}
[fragile]
{
Umgebungen
}
\begin{frame}
[fragile]
{
Umgebungen
}
\begin{itemize}
\begin{itemize}
\setbeamertemplate
{
itemize items
}
[square]
\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}
\end{itemize}
\begin{tikzpicture}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
[matrix, column sep=4pt, row sep=6pt]
{
...
@@ -384,14 +367,16 @@
...
@@ -384,14 +367,16 @@
\newcommand
{
\highlightBlu
}
[1]
{{
\color
{
RoyalBlue
}
\texttt
{
\bfseries
#1
}}}
\newcommand
{
\highlightBlu
}
[1]
{{
\color
{
RoyalBlue
}
\texttt
{
\bfseries
#1
}}}
\begin{frame}
[fragile]
{
Mathematik
}
\begin{frame}
[fragile]
{
Mathematik
}
\structure
{
Umgebungen:
}
\structure
{
Umgebungen:
}
\\
[10pt]
\begin{itemize}
\begin{itemize}
\item
\highlightBlu
{
equation
}{
\bfseries
:
}
Vom Text abgesetzte Gleichung
\item
\highlightBlu
{
equation
}{
\bfseries
:
}
Vom Text abgesetzte Gleichung
\\
[10pt]
\item
\highlightBlu
{
align
}{
\bfseries
:
}
Wie
\highlightBlu
{
equation
}
, nur dass man an
\highlightRed
{
\&
}
\item
\highlightBlu
{
align
}{
\bfseries
:
}
Wie
\highlightBlu
{
equation
}
, nur dass man an
\highlightRed
{
\&
}
\glqq
tabben
\grqq\
kann
\glqq
tabben
\grqq\
kann
\\
[10pt]
\item
Wie bei z.
\,
B.
\highlightRed
{
\textbackslash
section*
\{
...
\}
}
auch hier
\highlightRed
{
*
}
für
\item
Wie bei z.
\,
B.
\highlightRed
{
\textbackslash
section*
\{
...
\}
}
auch
hier
\highlightRed
{
*
}
für
nicht-nummerierte Gleichungen, also
\highlightRed
{
\textbackslash
begin
\{
}
%
nicht-nummerierte Gleichungen, also
\highlightRed
{
\textbackslash
begin
\{
}
%
\highlightBlu
{
align*
}
\highlightRed
{
\}
}
\highlightBlu
{
align*
}
\highlightRed
{
\}
}
\\
[10pt]
\end{itemize}
\end{itemize}
\structure
{
Im Textfluss
}
kann man Gleichungen mit
\highlightRed
{
\$
...
\$
}
\structure
{
Im Textfluss
}
kann man Gleichungen mit
\highlightRed
{
\$
...
\$
}
schreiben, also z.
\,
B.
schreiben, also z.
\,
B.
...
@@ -535,7 +520,7 @@
...
@@ -535,7 +520,7 @@
\end{minipage}
\end{minipage}
}
;
\\
}
;
\\
}
;
}
;
\end{tikzpicture}
\end{tikzpicture}
\\
[12pt]
\item
\highlightBlu
{
tabular
}
-Umgebung für Tabellen:
\item
\highlightBlu
{
tabular
}
-Umgebung für Tabellen:
\begin{tikzpicture}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
[matrix, column sep=4pt, row sep=6pt]
{
...
@@ -558,12 +543,12 @@
...
@@ -558,12 +543,12 @@
\begin{frame}
[fragile]
{
Floats
}
\begin{frame}
[fragile]
{
Floats
}
\begin{columns}
\begin{columns}
\begin{column}
{
0.45
\textwidth
}
\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}
\begin{itemize}
\small
\small
\item
Umgebungen
\highlightBlu
{
table
}
\&
\highlightBlu
{
figure
}
\item
Umgebungen
\highlightBlu
{
table
}
\&
\highlightBlu
{
figure
}
\\
[8pt]
\item
\highlightRed
{
\textbackslash
{}
centering
}
\item
\highlightRed
{
\textbackslash
{}
centering
}
\\
[8pt]
\item
\highlightRed
{
\textbackslash
{}
caption
}
\verb
+
{Text}
+
\item
\highlightRed
{
\textbackslash
{}
caption
}
\verb
+
{Text}
+
\\
[8pt]
\item
\highlightRed
{
\textbackslash
{}
includegraphics
}
\verb
+
{}
+
\&
\item
\highlightRed
{
\textbackslash
{}
includegraphics
}
\verb
+
{}
+
\&
\highlightBlu
{
tabular
}
zusätzlich
\\
[5pt]
\highlightBlu
{
tabular
}
zusätzlich
\\
[5pt]
\scriptsize
\scriptsize
...
@@ -579,10 +564,10 @@
...
@@ -579,10 +564,10 @@
\begin{minipage}
[t][2.1cm][c]
{
\textwidth
}
\begin{minipage}
[t][2.1cm][c]
{
\textwidth
}
\lstinputlisting
[basicstyle=\tiny]
{
examples/figure.tex
}
\lstinputlisting
[basicstyle=\tiny]
{
examples/figure.tex
}
\end{minipage}
\end{minipage}
}
;
\\
}
;
\\
[-4pt]
\node
[rotate=270]
{
\node
[rotate=270]
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}
}
;
\\
}
;
\\
[-4pt]
\node
[draw=blue!20!lightgray,line width=2pt]
{
\node
[draw=blue!20!lightgray,line width=2pt]
{
\begin{minipage}
[t][2.75cm][c]
{
\textwidth
}
\begin{minipage}
[t][2.75cm][c]
{
\textwidth
}
\centering
\centering
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment