Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
T
talks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osak
talks
Commits
7469cab8
Commit
7469cab8
authored
Jun 03, 2019
by
Valentin Bruch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beamer: translations of titles (theorem, example, ...)
parent
674852cb
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
71 additions
and
49 deletions
+71
-49
workshops/latex/beamer/beamer.tex
workshops/latex/beamer/beamer.tex
+27
-24
workshops/latex/beamer/examples/columns2.tex
workshops/latex/beamer/examples/columns2.tex
+2
-2
workshops/latex/beamer/examples/columns3.tex
workshops/latex/beamer/examples/columns3.tex
+3
-5
workshops/latex/beamer/examples/columns4.tex
workshops/latex/beamer/examples/columns4.tex
+19
-0
workshops/latex/beamer/examples/contentpage.tex
workshops/latex/beamer/examples/contentpage.tex
+3
-2
workshops/latex/beamer/examples/euklid2.tex
workshops/latex/beamer/examples/euklid2.tex
+4
-4
workshops/latex/beamer/examples/euklid3.tex
workshops/latex/beamer/examples/euklid3.tex
+4
-4
workshops/latex/beamer/examples/euklid4.tex
workshops/latex/beamer/examples/euklid4.tex
+4
-4
workshops/latex/beamer/examples/euklid5.tex
workshops/latex/beamer/examples/euklid5.tex
+4
-4
workshops/latex/beamer/examples/titlepage.tex
workshops/latex/beamer/examples/titlepage.tex
+1
-0
No files found.
workshops/latex/beamer/beamer.tex
View file @
7469cab8
...
...
@@ -9,6 +9,7 @@
\usepackage
{
polyglossia
}
\setmainlanguage
{
german
}
\usepackage
{
csquotes
}
\usepackage
{
verbatim
}
\usepackage
{
dtk-logos
}
\usepackage
{
listings
}
...
...
@@ -21,6 +22,10 @@
%\graphicspath{{figures/}{examples/}}
\usefonttheme
{
professionalfonts
}
%\deftranslation[to=german]{Example}{Beispiel}
%\deftranslation[to=german]{Theorem}{Satz}
%\deftranslation[to=german]{Definition}{Definition}
\usepackage
[
%
style=phys,
%
backend=biber
%
...
...
@@ -89,7 +94,7 @@
commentstyle=
\itshape\color
{
RoyalBlue
}
,
keywordstyle=
\color
{
RoyalBlue
}
\bfseries
,
moretexcs=
{
lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength,institute,subtitle,alert,only,onslide,titlepage,usetheme,usecolortheme,movie
}
,
morekeywords=
{
center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,frame,example,definition,theorem,proof,block,column,columns,exampleblock,alertblock
}
,
morekeywords=
{
center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,frame,example,definition,theorem,proof,block,column,columns,exampleblock,alertblock
,Satz,Beispiel,Beweis
}
,
moredelim=**[is][
\smash
]
{
@
}{
@
}
}
...
...
@@ -153,13 +158,13 @@
\begin{definition}
[Primzahl]
Eine Primzahl hat genau zwei Teiler.
\end{definition}
\begin{
example
}
\begin{
Beispiel
}
\begin{itemize}
\item
2 ist Primzahl (Teiler: 1, 2)
\item
3 ist Primzahl (Teiler: 1, 3)
\item
4 ist keine Primzahl (Teiler: 1, 2, 4)
\end{itemize}
\end{
example
}
\end{
Beispiel
}
\end{column}
\begin{column}
{
.5
\textwidth
}
\lstinputlisting
{
examples/euklid2.tex
}
...
...
@@ -170,16 +175,16 @@
\begin{frame}
{
Was sind Primzahlen
}
\begin{columns}
[c]
\begin{column}
{
.5
\textwidth
}
\begin{
d
efinition}
[Primzahl]
\begin{
D
efinition}
[Primzahl]
Eine
\alert
{
Primzahl
}
hat genau zwei Teiler.
\end{
d
efinition}
\begin{
example
}
\end{
D
efinition}
\begin{
Beispiel
}
\begin{itemize}
\item
2 ist Primzahl (Teiler: 1, 2)
\item
3 ist Primzahl (Teiler: 1, 3)
\item
4 ist
\alert
{
keine
}
Primzahl (Teiler: 1,
\alert
{
2
}
, 4)
\end{itemize}
\end{
example
}
\end{
Beispiel
}
\end{column}
\begin{column}
{
.5
\textwidth
}
\lstinputlisting
{
examples/euklid3.tex
}
...
...
@@ -192,10 +197,10 @@
\begin{frame}
{
Keine größte Primzahl
}
\begin{columns}
[c]
\begin{column}
{
.5
\textwidth
}
\begin{
theorem
}
\begin{
Satz
}
Es gibt keine größte Primzahl.
\end{
theorem
}
\begin{
proof
}
\end{
Satz
}
\begin{
Beweis
}
\begin{enumerate}
\setlength\itemindent
{
-6pt
}
%
\item
Angenommen
$
p
$
ist die größte Primzahl.
...
...
@@ -203,7 +208,7 @@
\item
$
q
+
1
$
ist durch keine davon teilbar.
\item
Damit ist
$
q
+
1
$
Primzahl und größer als
$
p
$
.
\end{enumerate}
\end{
proof
}
\end{
Beweis
}
\end{column}
\begin{column}
{
.5
\textwidth
}
\lstinputlisting
{
examples/euklid4.tex
}
...
...
@@ -214,10 +219,10 @@
\begin{frame}
{
Keine größte Primzahl
}
\begin{columns}
[c]
\begin{column}
{
.5
\textwidth
}
\begin{
theorem
}
\begin{
Satz
}
Es gibt keine größte Primzahl.
\end{
theorem
}
\begin{
proof
}
\end{
Satz
}
\begin{
Beweis
}
\begin{enumerate}
\setlength\itemindent
{
-6pt
}
%
\item
Angenommen
$
p
$
ist die größte Primzahl.
...
...
@@ -225,7 +230,7 @@
\item
<3->
$
q
+
1
$
ist durch keine davon teilbar.
\item
<3-> Damit ist
$
q
+
1
$
Primzahl und größer als
$
p
$
.
\end{enumerate}
\end{
proof
}
\end{
Beweis
}
\end{column}
\begin{column}
{
.5
\textwidth
}
\lstinputlisting
{
examples/euklid5.tex
}
...
...
@@ -261,23 +266,21 @@
Strucktur durch Blöcke
\end{block}
\end{column}
\onslide
<1,3->
\begin{column}
{
.45
\textwidth
}
\begin{exampleblock}
{
Beispiel
}
\begin{column}
<1,3->
{
.45
\textwidth
}
\begin{exampleblock}
{
Bsp.
}
Beispielblock
\end{exampleblock}
\end{column}
\end{columns}
\onslide
<1,4->
\begin{alertblock}
{
Wichtiger Block
}
\begin{alertblock}
<1,4->
{
Wichtig
}
Dieser Block ist immer rot.
\end{alertblock}
\end{column}
\hfill
%
\onslide
<1->
\begin{column}
{
.48
\textwidth
}
\only
<1>
{
\lstinputlisting
{
examples/columns2.tex
}}
%
\only
<2->
{
\lstinputlisting
{
examples/columns3.tex
}}
%
\only
<2-4>
{
\lstinputlisting
{
examples/columns3.tex
}}
%
\only
<5->
{
\lstinputlisting
{
examples/columns4.tex
}}
%
\end{column}
\end{columns}
\end{frame}
...
...
@@ -355,11 +358,11 @@
\end{itemize}
\vspace
{
6mm
}
\end{column}
\begin{column}
{
.
4
\textwidth
}
\begin{column}
{
.
39
\textwidth
}
\includegraphics
[
width=
\textwidth
,
page=1,
trim=
{
16mm 4
0mm 16mm 20
mm
}
,
trim=
{
16mm 4
6mm 16mm 26
mm
}
,
clip
]
{
beameruserguide.pdf
}
\end{column}
...
...
workshops/latex/beamer/examples/columns2.tex
View file @
7469cab8
...
...
@@ -6,12 +6,12 @@
\end{block}
\end{column}
\begin{column}
{
.45
\textwidth
}
\begin{exampleblock}
{
B
eispiel
}
\begin{exampleblock}
{
B
sp.
}
Beispielblock
\end{exampleblock}
\end{column}
\end{columns}
\begin{alertblock}
{
Wichtig
er Block
}
\begin{alertblock}
{
Wichtig
}
Dieser Block ist immer rot.
\end{alertblock}
\end{frame}
workshops/latex/beamer/examples/columns3.tex
View file @
7469cab8
...
...
@@ -5,15 +5,13 @@
Strucktur durch Blöcke
\end{block}
\end{column}
\onslide
<2->
\begin{column}
{
.45
\textwidth
}
\begin{exampleblock}
{
Beispiel
}
\begin{column}
<2->
{
.45
\textwidth
}
\begin{exampleblock}
{
Bsp.
}
Beispielblock
\end{exampleblock}
\end{column}
\end{columns}
\onslide
<3->
\begin{alertblock}
{
Wichtiger Block
}
\begin{alertblock}
<3->
{
Wichtig
}
Dieser Block ist immer rot.
\end{alertblock}
\end{frame}
workshops/latex/beamer/examples/columns4.tex
0 → 100644
View file @
7469cab8
\begin{frame}
{
Struktur eine Folie
}
\begin{columns}
\begin{column}
{
.45
\textwidth
}
\begin{block}
{
Einfacher Block
}
Strucktur durch Blöcke
\end{block}
\end{column}
\onslide
<2->
\begin{column}
{
.45
\textwidth
}
\begin{exampleblock}
{
Bsp.
}
Beispielblock
\end{exampleblock}
\end{column}
\end{columns}
\onslide
<3->
\begin{alertblock}
{
Wichtig
}
Dieser Block ist immer rot.
\end{alertblock}
\end{frame}
workshops/latex/beamer/examples/contentpage.tex
View file @
7469cab8
...
...
@@ -5,6 +5,7 @@
\providecommand\colortheme
{
default
}
\usetheme
{
\theme
}
\usecolortheme
{
\colortheme
}
\beamertemplatenavigationsymbolsempty
\date
{
05.06.2019
}
\title
[\LaTeX-Workshop]
{
\LaTeX
-Beamer
}
\subtitle
{
Präsentationen mit
\LaTeX
}
...
...
@@ -48,9 +49,9 @@
\begin{block}
{
Block
}
Das ist ein Block.
\end{block}
\begin{
proof
}
\begin{
Beweis
}
Es gibt nichts zu beweisen.
\end{
proof
}
\end{
Beweis
}
\end{column}
\end{columns}
\begin{center}
...
...
workshops/latex/beamer/examples/euklid2.tex
View file @
7469cab8
\begin{frame}
{
Was sind Primzahlen
}
\begin{
d
efinition}
[Primzahl]
\begin{
D
efinition}
[Primzahl]
Eine Primzahl hat
genau zwei Teiler.
\end{
d
efinition}
\begin{
example
}
\end{
D
efinition}
\begin{
Beispiel
}
\begin{itemize}
\item
2 ist Primzahl (Teiler: 1, 2)
\item
3 ist Primzahl (Teiler: 1, 3)
\item
4 ist keine Primzahl
(Teiler: 1, 2, 4)
\end{itemize}
\end{
example
}
\end{
Beispiel
}
\end{frame}
workshops/latex/beamer/examples/euklid3.tex
View file @
7469cab8
\begin{frame}
{
Was sind Primzahlen
}
\begin{
d
efinition}
[Primzahl]
\begin{
D
efinition}
[Primzahl]
Eine @
\alert
{
Primzahl
}
@ hat
genau zwei Teiler.
\end{
d
efinition}
\begin{
example
}
\end{
D
efinition}
\begin{
Beispiel
}
\begin{itemize}
\item
2 ist Primzahl (Teiler: 1, 2)
\item
3 ist Primzahl (Teiler: 1, 3)
\item
4 ist @
\alert
{
keine
}
@ Primzahl
(Teiler: 1, @
\alert
{
2
}
@, 4)
\end{itemize}
\end{
example
}
\end{
Beispiel
}
\end{frame}
workshops/latex/beamer/examples/euklid4.tex
View file @
7469cab8
\begin{frame}
{
Keine größte Primzahl
}
\begin{
theorem
}
\begin{
Satz
}
Es gibt keine größte Primzahl.
\end{
theorem
}
\begin{
proof
}
\end{
Satz
}
\begin{
Beweis
}
\begin{enumerate}
\item
Angenommen
$
p
$
ist die
größte Primzahl.
...
...
@@ -13,5 +13,5 @@
\item
Damit ist
$
q
+
1
$
Primzahl
und größer als
$
p
$
.
\end{enumerate}
\end{
proof
}
\end{
Beweis
}
\end{frame}
workshops/latex/beamer/examples/euklid5.tex
View file @
7469cab8
\begin{frame}
{
Keine größte Primzahl
}
\begin{
theorem
}
\begin{
Satz
}
Es gibt keine größte Primzahl.
\end{
theorem
}
\begin{
proof
}
\end{
Satz
}
\begin{
Beweis
}
\begin{enumerate}
\item
Angenommen
$
p
$
ist die
größte Primzahl.
...
...
@@ -13,5 +13,5 @@
\item
<3-> Damit ist
$
q
+
1
$
Primzahl
und größer als
$
p
$
.
\end{enumerate}
\end{
proof
}
\end{
Beweis
}
\end{frame}
workshops/latex/beamer/examples/titlepage.tex
View file @
7469cab8
...
...
@@ -3,6 +3,7 @@
\providecommand\colortheme
{
default
}
\usetheme
{
\theme
}
\usecolortheme
{
\colortheme
}
\beamertemplatenavigationsymbolsempty
\date
{
5. Juni 2019
}
\title
[\LaTeX-Workshop]
{
\LaTeX
-Beamer
}
\subtitle
{
Präsentationen mit
\LaTeX
}
...
...
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