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
9c88bf75
Commit
9c88bf75
authored
6 years ago
by
Valentin Bruch
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of git.fsmpi.rwth-aachen.de:osak/talks
parents
314ba048
1b2f7bd4
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
workshops/latex/examples/includegraphics.tex
+1
-1
1 addition, 1 deletion
workshops/latex/examples/includegraphics.tex
workshops/latex/handout.tex
+17
-10
17 additions, 10 deletions
workshops/latex/handout.tex
workshops/latex/latex.tex
+5
-5
5 additions, 5 deletions
workshops/latex/latex.tex
with
23 additions
and
16 deletions
workshops/latex/examples/includegraphics.tex
+
1
−
1
View file @
9c88bf75
\includegraphics
[width=5cm]
{
doge.
j
pg
}
\includegraphics
[width=5cm]
{
doge.p
n
g
}
This diff is collapsed.
Click to expand it.
workshops/latex/handout.tex
+
17
−
10
View file @
9c88bf75
...
...
@@ -47,12 +47,19 @@
\newcolumntype
{
C
}
[1]
{
>
{
\centering\let\newline\\\arraybackslash
}
m
{
#1
}}
\begin{document}
\section
{
TeX studio
}
Installation
\\
Ihr schreibt
\texttt
{
dokument.tex
}
, daraus wird
\texttt
{
dokument.pdf
}
.
\\
Pakete installieren?
\\
%
\section
{
Installation
}
\begin{itemize}
[noitemsep]
\item
LaTeX distribution installieren:
\begin{itemize}
[noitemsep]
\item
Linux:
\textbf
{
TeX Live
}
(Paketmanager
\texttt
{
texlive
}
)
\item
Windows:
\textbf
{
MiKTeX
}
herunterladen
\item
MacOS:
\textbf
{
MacTeX
}
\end{itemize}
\item
Pakete größtenteils vorinstalliert, ansonsten mit Paketmanager nachinstallieren
%hinschreiben?
\item
Praktischer Editor, z.
\,
B.
\textbf
{
TeXstudio
}
\end{itemize}
\section
{
Grundlagen
}
Idee:
\texttt
{
dokument.
\underline
{
tex
}}
schreiben
$
\implies
$
\texttt
{
dokument.
\underline
{
pdf
}}
\subsection
{
Befehle in LaTeX
}
\verb
|
\Befehl[
|
\emph
{
optionale Argumente
}
\verb
|
]{
|
\emph
{
Argumente
}
\verb
|
}
|
\\
\emph
{
optionale Argumente
}
sind mit Kommata getrennt.
\\
...
...
@@ -100,8 +107,8 @@ Pakete installieren?\\
\begin{itemize}
[noitemsep]
\item
halbes Leerzeichen:
\verb
|
z.\,B.
|
oder
\verb
|
80\,kg
|
\item
geschütztes Leerzeichen:
\verb
|
G.~Geier
|
\item
\%
:
\verb
|
\%
|
\item
\textbackslash
:
\verb
|
\textbackslash
|
\item
\%
,
\&
,
\#
,
\$
:
\texttt
{
\textbackslash\%
,
\textbackslash\&
,
\textbackslash\#
,
\textbackslash\$
}
\item
\textbackslash
,
\{
,
\}
:
\texttt
{
\textbackslash
textbackslash,
\textbackslash\{
,
\textbackslash\}
}
\end{itemize}
%
\section
{
Umgebungen
}
...
...
@@ -325,11 +332,11 @@ Sprache (\texttt{ngerman}\footnote{\texttt{ngerman} für \textbf{n}eue Rechtschr
\texttt
{
article
}
&
Standardklasse
\\
\texttt
{
scrartcl
}
&
\verb
|
article
|
mit KOMA-Skript: schönere
\footnotemark
und einfachere
\footref
{
fn:ansichtssache
}
Formatierung
\\
\texttt
{
report
}
&
für längere Dokumente mit mehreren Kapiteln (
\verb
|
\chapter{Kapitel}
|
)
\\
\texttt
{
scrreprt
}
&
KOMA-Skript für
\verb
|
report
|
\\
%
\texttt{scrreprt} & KOMA-Skript für \verb|report|\\
\texttt
{
book
}
&
für Bücher (lange Dokumente)
\\
\texttt
{
scrbook
}
&
KOMA-Skript für
\verb
|
book
|
\\
%
\texttt{scrbook} & KOMA-Skript für \verb|book|\\
\texttt
{
beamer
}
&
für Präsentationen
\\
\texttt
{
scrlettr
}
&
für Briefe
%
\texttt{scrlettr} & für Briefe
\end{tabular}
\footnotetext
{
Ansichtssache
\dots\label
{
fn:ansichtssache
}}
%
%
...
...
This diff is collapsed.
Click to expand it.
workshops/latex/latex.tex
+
5
−
5
View file @
9c88bf75
...
...
@@ -341,13 +341,13 @@
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][3
0
mm][c]
{
.3
\textwidth
}
\begin{minipage}
[t][3
4
mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/3b.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][3
0
mm][c]
{
.25
\textwidth
}
\begin{minipage}
[t][3
4
mm][c]
{
.25
\textwidth
}
\input
{
examples/3b.tex
}
\end{minipage}
}
;
...
...
@@ -382,8 +382,8 @@
\begin{frame}
[fragile]
{
Mathematik
}
\structure
{
Umgebungen:
}
\begin{itemize}
\item
\highlightBlu
{
equation
}
:
Vom Text abgesetzte Gleichung
\item
\highlightBlu
{
align
}
:
Wie
\highlightBlu
{
equation
}
, nur dass man an
\highlightRed
{
\&
}
\item
\highlightBlu
{
equation
}
{
\bfseries
:
}
Vom Text abgesetzte Gleichung
\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
nicht-nummerierte Gleichungen, also
\highlightRed
{
\textbackslash
begin
\{
}
%
...
...
@@ -660,5 +660,5 @@
\end{document}
\begin{comment}
vim:ts=2:spelllang=de:fo=want:
spell
vim:ts=2:spelllang=de:fo=want:
expandtab
\end{comment}
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