Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
LaTeX-templates
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
18
Issues
18
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
Packages & Registries
Packages & Registries
Container Registry
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
Adrian C. Hinrichs
LaTeX-templates
Commits
0bebacd0
Commit
0bebacd0
authored
May 01, 2019
by
Adrian C. Hinrichs
☕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix listing-incompatibility, I think
parent
a9da0124
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
10 deletions
+61
-10
polynom/beamerouterthemepolynom.sty
polynom/beamerouterthemepolynom.sty
+10
-5
polynom/docu_polynom.pdf
polynom/docu_polynom.pdf
+0
-0
polynom/docu_polynom.tex
polynom/docu_polynom.tex
+19
-5
polynom/test_lst.pdf
polynom/test_lst.pdf
+0
-0
polynom/test_lst.tex
polynom/test_lst.tex
+32
-0
No files found.
polynom/beamerouterthemepolynom.sty
View file @
0bebacd0
...
...
@@ -2,6 +2,7 @@
\RequirePackage
{
calc
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
ifthen
}
%%% TODO implement footer
\defbeamertemplate*
{
footertext
}{
polynom
}{}
...
...
@@ -36,14 +37,18 @@
%%%
% Frame title
%%%
\newlength\vertlinebase
%
\newlength
{
\polyVertlinebase
}
\defbeamertemplate*
{
frametitle
}{
polynom
}
{
%
\if\insertframesubtitle\empty\setlength
{
\vertlinebase
}{
0.75ex
}
\else\empty\setlength
{
\vertlinebase
}{
0pt
}
\fi
%
\usebeamercolor
{
palette primary
}
%
\ifthenelse
{
\equal
{
\insertframesubtitle
}{}}{
\setlength
{
\polyVertlinebase
}{
.75ex
}
}{
\setlength
{
\polyVertlinebase
}{
.0ex
}
}
%\if\insertframesubtitle\empty\def\polyVertlinebase{1ex}\else\def\polyVertlinebase{0pt}\fi%
\usebeamercolor
{
palette primary
}
%
\vskip
1.5
\titleheight
%
\hspace
{
-1em
}
\tikz
[baseline=\
v
ertlinebase]
{
\draw
[line width=2pt,color=bg]
(0,0)--(0,1.75
\titleheight
);
}
%
\hspace
{
-1em
}
\tikz
[baseline=\
polyV
ertlinebase]
{
\draw
[line width=2pt,color=bg]
(0,0)--(0,1.75
\titleheight
);
}
%
\hbox
{
\hspace
{
24pt
}
\vbox
{
\fontsize
{
36pt
}{
0pt
}
\selectfont\if\insertframesubtitle\empty\empty\else\insertframesubtitle\\\fi
\fontsize
{
50pt
}{
40pt
}
\selectfont\insertframetitle
}}
%
}
...
...
polynom/docu_polynom.pdf
View file @
0bebacd0
No preview for this file type
polynom/docu_polynom.tex
View file @
0bebacd0
\documentclass
[fragile
=singleslide
]
{
beamer
}
\documentclass
[fragile]
{
beamer
}
\usetheme
{
polynom
}
\usefonttheme
[onlymath]
{
serif
}
\boldmath
{}
\usepackage
{
listings
}
\lstset
{
basicstyle=
\ttfamily
}
\usepackage
{
tgadventor
}
\title
{
Polynom
}
...
...
@@ -18,7 +21,7 @@
\titlepage
\end{frame}
\begin{frame}
{
Table of Contents
}
\begin{frame}
[fragile]
{
Table of Contents
}
\tableofcontents
\end{frame}
...
...
@@ -42,13 +45,14 @@
\end{frame}
\section
{
Features
}
\begin{frame}
[fragile
=singleslide
]
\begin{frame}
[fragile]
\framesubtitle
{
Clean and pleasing:
}
\frametitle
{
Framedesign
}
To use stacked headlines, you have to specify
\begin{itemize}
\item
the upper line with
\verb
|
\framesubtitle{...}
|
\item
the lowe (main) line with
\verb
|
\frametitle{...}
|
\item
a
\item
the upper line with
\lstinline
|
\framesubtitle
{
...
}
|
\item
the lowe (main) line with
\lstinline
|
\frametitle
{
...
}
|
\end{itemize}
\end{frame}
...
...
@@ -208,6 +212,16 @@
\bannerpageinvert
{
inverted banner page!
}
\section
{
Sourcecode-Listings
}
\begin{frame}
[fragile]
{
Lisitngs
}
\begin{lstlisting}
[language=Python]
def speed(swallow):
if swallow is african:
return 42
if swalllow is european:
return 24
\end{lstlisting}
\end{frame}
\section
{
Postamble
}
\begin{frame}
{
Development
}
...
...
polynom/test_lst.pdf
0 → 100644
View file @
0bebacd0
File added
polynom/test_lst.tex
0 → 100644
View file @
0bebacd0
\documentclass
[fragile=singleslide]
{
beamer
}
\usepackage
{
fontspec
}
\setromanfont
{
Latin Modern Roman
}
%\setmainfont{Product Sans}
%\setsansfont{Product Sans}
\setsansfont
{
TeX Gyre Adventor
}
\setmonofont
{
Fira Mono
}
\usetheme
{
polynom
}
\usecolortheme
{
polynomsecondgrade
}
\usefonttheme
[onlymath]
{
serif
}
\boldmath
{}
\usepackage
{
listings
}
\lstset
{
basicstyle=
\ttfamily
}
\usepackage
{
tgadventor
}
\title
{
Polynom
}
\subtitle
{
A modern, clean 16:9 beamer template
}
\author
{
Alexander Bartolomey, Adrian C. Hinrichs
}
\date
{
\today
}
\begin{document}
\begin{frame}
[fragile]
\texttt
{
Test
}
\begin{lstlisting}
Test
\end{lstlisting}
\end{frame}
\end{document}
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