Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
osak
talks
Commits
c6bdbb4d
Commit
c6bdbb4d
authored
Jun 02, 2019
by
Valentin Bruch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
presentation: more vspaces; changed language of example 4c to German
parent
9de80002
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
87 additions
and
71 deletions
+87
-71
workshops/latex/examples/4a.tex
workshops/latex/examples/4a.tex
+2
-2
workshops/latex/examples/4c.tex
workshops/latex/examples/4c.tex
+2
-2
workshops/latex/latex.tex
workshops/latex/latex.tex
+68
-65
workshops/latex/makefile
workshops/latex/makefile
+15
-2
No files found.
workshops/latex/examples/4a.tex
View file @
c6bdbb4d
\begin{equation}
a
^
2
+b
^
2=
c
^
2
a
^
2
+ b
^
2 =
c
^
2
\label
{
pythagoras
}
\end{equation}
As shown in equation
Beachte in Gleichung
\ref
{
pythagoras
}
...
workshops/latex/examples/4c.tex
View file @
c6bdbb4d
egestas vel odio. Dieser Beweis ist
richtig.
\footnote
{
außer wenn
$
x>
0
$}
\ No newline at end of file
dignissim rutrum. Dieser Beweis ist
richtig.
\footnote
{
außer wenn
$
x>
0
$}
workshops/latex/latex.tex
View file @
c6bdbb4d
...
...
@@ -599,50 +599,50 @@
\begin{frame}
[fragile]
{
Labels, Referenzen und Links
}
\structure
{
Referenzen
}
markieren mit
\texttt
{
\bfseries\color
{
Mahogany
}
\textbackslash
label
}
,
verweisen mit
\texttt
{
\bfseries\color
{
Mahogany
}
\textbackslash
ref
}
:
\begin{tikzpicture}
\node
[matrix, column sep=
4
pt, row sep=
6
pt]
{
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Gleichungen, Sections, Figures und vieles mehr!
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
30
mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/4a.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
30
mm][c]
{
.25
\textwidth
}
\input
{
examples/4a.tex
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
\highlightRed
{
\bsl
ref
}
darf auch vor vor dem
\highlightRed
{
\bsl
label
}
stehen
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
30
mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/4b.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
30
mm][c]
{
.25
\textwidth
}
\includegraphics
[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]
{
examples/4b
_
fake.png
}
\end{minipage}
}
;
\\
}
;
\end{tikzpicture}
verweisen mit
\texttt
{
\bfseries\color
{
Mahogany
}
\textbackslash
ref
}
:
\\
[2pt]
\hspace*
{
-6pt
}
\begin{tikzpicture}
\node
[matrix, column sep=
3
pt, row sep=
8
pt]
{
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Gleichungen, Sections, Figures und vieles mehr!
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
26
mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/4a.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
26
mm][c]
{
.25
\textwidth
}
\input
{
examples/4a.tex
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
\highlightRed
{
\bsl
ref
}
darf auch vor vor dem
\highlightRed
{
\bsl
label
}
stehen
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
26
mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/4b.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
26
mm][c]
{
.25
\textwidth
}
\includegraphics
[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]
{
examples/4b
_
fake.png
}
\end{minipage}
}
;
\\
}
;
\end{tikzpicture}
\end{frame}
\begin{frame}
[fragile]
{
Verschiedenes
}
...
...
@@ -652,26 +652,27 @@
irgendwo:
\end{itemize}
\begin{center}
\vspace
{
-6pt
}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][30mm][c]
{
.5
\textwidth
}
\lstinputlisting
{
examples/4c.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][30mm][c]
{
.3
\textwidth
}
\includegraphics
[width=1\textwidth,trim=0cm 0cm 0cm 0cm, clip]
{
examples/4c
_
fake.png
}
\end{minipage}
\vspace
{
-8pt
}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=0pt]
{
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][24mm][c]
{
.5
\textwidth
}
\lstinputlisting
{
examples/4c.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][24mm][c]
{
.3
\textwidth
}
\includegraphics
[width=1\textwidth,trim=0cm 0cm 0cm 0cm, clip]
{
examples/4c
_
fake.png
}
\end{minipage}
}
;
\\
}
;
\\
}
;
\end{tikzpicture}
\vspace
{
-6pt
}
\end{tikzpicture}
\vspace
{
-8pt
}
\end{center}
\structure
{
URLs:
}
\highlightRed
{
\textbackslash
url
}
\verb
+
{http://fsmpi.eu/latex}
+
\\
\structure
{
URLs:
}
\highlightRed
{
\textbackslash
url
}
\verb
+
{http://fsmpi.eu/latex}
+
\\
[2pt]
\structure
{
Besondere Zeichen
}
\begin{itemize}
\item
{
\bfseries\color
{
MidnightBlue
}
\%
, "
{}}
:
\texttt
{
\textbackslash\%
}
,
\verb
+
"{}
+
...
...
@@ -687,7 +688,7 @@
\begin{frame}
[fragile]
{
Präambel
}
\begin{columns}
\begin{column}
{
0.4
\textwidth
}
\begin{column}
{
0.4
5
\textwidth
}
\structure
{
Die
\glqq
{
Präambel
}
\grqq
}
wird benutzt für
\\
[3pt]
\begin{itemize}
\item
Dokumententyp:
\\
...
...
@@ -699,14 +700,16 @@
\item
\highlightRed
{
\textbackslash
{}
begin
}
\verb
+
{document}
+
\\
\highlightRed
{
\textbackslash
{}
end
}
\verb
+
{document}
+
\end{itemize}
\vspace
{
12pt
}
\end{column}
\hspace
{
10pt
}
\begin{column}
{
0.05
\textwidth
}
{
\only
<1>
{
\color
{
RoyalBlue
}}
\only
<2>
{
\color
{
Green
}}
\rule
{
0.5pt
}{
0.8
\textheight
}}
\end{column}
\begin{column}
{
0.55
\textwidth
}
\begin{column}
{
0.45
\textwidth
}
\vspace*
{
-20pt
}
\only
<1>
{
\lstinputlisting
[basicstyle=\tiny\ttfamily]
{
examples/preamble.tex
}}
\only
<2>
{
\
vspace
{
-.5em
}
\
includegraphics
[width=
0.8
\textwidth]
{
examples/preamble.pdf
}}
\only
<2>
{
\includegraphics
[width=\textwidth]
{
examples/preamble.pdf
}
\vspace
{
-10pt
}
}
\end{column}
\hspace
{
-10pt
}
\end{columns}
...
...
workshops/latex/makefile
View file @
c6bdbb4d
#!/bin/make -f
EXAMPLES
=
examples/2h_fake.pdf examples/tabular.pdf examples/figure.pdf examples/preamble.pdf
EXAMPLE_INPUTS
=
$(
wildcard
examples/
*
.tex
)
latex.pdf
:
latex.tex $(EXAMPLES)
latex.pdf
:
latex.tex $(EXAMPLES)
$(EXAMPLE_INPUTS)
latexmk
-lualatex
latex.tex
notes.pdf
:
latex.tex $(EXAMPLES)
notes.pdf
:
latex.tex $(EXAMPLES)
$(EXAMPLE_INPUTS)
latexmk
-lualatex
notes.tex
examples/2h_fake.pdf
:
examples/2h_fake.tex
cd
examples
;
latexmk
--lualatex
2h_fake.tex
#
#examples/tabular.pdf: examples/tabular.tex
# cd examples; latexmk --lualatex tabular.tex
#
#examples/figure.pdf: examples/figure.tex
# cd examples; latexmk --lualatex figure.tex
#
#examples/preamble.pdf: examples/preamble.tex
# cd examples; latexmk --lualatex preamble.tex
Write
Preview
Markdown
is supported
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