forked from wgryglas/za_beamer_presentation_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Wojciech Gryglas
committed
Sep 25, 2017
0 parents
commit 50e6446
Showing
13 changed files
with
1,191 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# ZA beamer template | ||
|
||
This theme is based on the Metropolis packge ([Metropolis repository](https://github.com/matze/mtheme)). I have changed few colors and included MEiL and PW logos. To use it just place all files in proper directory and edit (e. g. change the name) the template_example.tex file. This file contains few examples of using beamer with this theme. | ||
|
||
Below 2 Metropolis usefull links | ||
[demo slides]: http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/metropolis/demo/demo.pdf | ||
[manual]: http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/metropolis/doc/metropolistheme.pdf | ||
|
||
|
||
## Metorpolis Usage | ||
|
||
The following code shows a minimal example of a Beamer presentation using | ||
Metropolis. | ||
|
||
```latex | ||
\documentclass{beamer} | ||
\usetheme{metropolis} % Use metropolis theme | ||
\title{A minimal example} | ||
\date{\today} | ||
\author{Matthias Vogelgesang} | ||
\institute{Centre for Modern Beamer Themes} | ||
\begin{document} | ||
\maketitle | ||
\section{First Section} | ||
\begin{frame}{First Frame} | ||
Hello, world! | ||
\end{frame} | ||
\end{document} | ||
``` | ||
|
||
## License | ||
|
||
The theme itself is licensed under a [Creative Commons Attribution-ShareAlike | ||
4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). This | ||
means that if you change the theme and re-distribute it, you *must* retain the | ||
copyright notice header and license it under the same CC-BY-SA license. This | ||
does not affect the presentation that you create with the theme. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
%% | ||
%% This is file `beamercolorthememetropolis.sty', | ||
%% generated with the docstrip utility. | ||
%% | ||
%% The original source files were: | ||
%% | ||
%% beamercolorthememetropolis.dtx (with options: `package') | ||
%% --------------------------------------------------------------------------- | ||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of | ||
%% contributors can be found at | ||
%% | ||
%% https://github.com/matze/mtheme/graphs/contributors | ||
%% | ||
%% and the original template was based on the HSRM theme by Benjamin Weiss. | ||
%% | ||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 | ||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/). | ||
%% --------------------------------------------------------------------------- | ||
\NeedsTeXFormat{LaTeX2e} | ||
\ProvidesPackage{beamercolorthememetropolis}[2016/03/14 Metropolis color theme] | ||
\RequirePackage{pgfopts} | ||
\pgfkeys{ | ||
/metropolis/color/block/.cd, | ||
.is choice, | ||
transparent/.code=\metropolis@block@transparent, | ||
fill/.code=\metropolis@block@fill, | ||
} | ||
\pgfkeys{ | ||
/metropolis/color/background/.cd, | ||
.is choice, | ||
dark/.code=\metropolis@colors@dark, | ||
light/.code=\metropolis@colors@light, | ||
} | ||
\newcommand{\metropolis@color@setdefaults}{ | ||
\pgfkeys{/metropolis/color/.cd, | ||
background=light, | ||
block=transparent, | ||
} | ||
} | ||
\definecolor{mDarkBrown}{HTML}{604c38} | ||
\definecolor{mDarkTeal}{HTML}{001a66}%{23373b} | ||
\definecolor{mLightBrown}{HTML}{EB811B} | ||
\definecolor{mLightGreen}{HTML}{2B5FFC}% {3366ff}{14B03D} | ||
\definecolor{mText}{HTML}{00061a} | ||
\newcommand{\metropolis@colors@dark}{ | ||
\setbeamercolor{normal text}{% | ||
fg=black!2, | ||
bg=mDarkTeal | ||
} | ||
} | ||
\newcommand{\metropolis@colors@light}{ | ||
\setbeamercolor{normal text}{% | ||
fg=mDarkTeal, | ||
bg=black!2 | ||
} | ||
} | ||
\setbeamercolor{alerted text}{% | ||
fg=mLightBrown | ||
} | ||
\setbeamercolor{example text}{% | ||
fg=mLightGreen | ||
} | ||
\setbeamercolor{titlelike}{use=normal text, parent=normal text} | ||
\setbeamercolor{author}{use=normal text, parent=normal text} | ||
\setbeamercolor{date}{use=normal text, parent=normal text} | ||
\setbeamercolor{institute}{use=normal text, parent=normal text} | ||
\setbeamercolor{structure}{use=normal text, fg=normal text.fg} | ||
\setbeamercolor{palette primary}{% | ||
use=normal text, | ||
fg=normal text.bg, | ||
bg=normal text.fg | ||
} | ||
\setbeamercolor{frametitle}{% | ||
use=palette primary, | ||
parent=palette primary | ||
} | ||
\setbeamercolor{progress bar}{% | ||
use=alerted text, | ||
fg=alerted text.fg, | ||
bg=alerted text.fg!50!black!30 | ||
} | ||
\setbeamercolor{title separator}{ | ||
use=progress bar, | ||
parent=progress bar | ||
} | ||
\setbeamercolor{progress bar in head/foot}{% | ||
use=progress bar, | ||
parent=progress bar | ||
} | ||
\setbeamercolor{progress bar in section page}{ | ||
use=progress bar, | ||
parent=progress bar | ||
} | ||
\newcommand{\metropolis@block@transparent}{ | ||
\setbeamercolor{block title}{% | ||
use=normal text, | ||
fg=normal text.fg, | ||
bg= | ||
} | ||
\setbeamercolor{block body}{ | ||
bg= | ||
} | ||
} | ||
\newcommand{\metropolis@block@fill}{ | ||
\setbeamercolor{block title}{% | ||
use=normal text, | ||
fg=normal text.fg, | ||
bg=normal text.bg!80!fg | ||
} | ||
\setbeamercolor{block body}{ | ||
use={block title, normal text}, | ||
bg=block title.bg!50!normal text.bg | ||
} | ||
} | ||
\setbeamercolor{block title alerted}{% | ||
use={block title, alerted text}, | ||
bg=block title.bg, | ||
fg=alerted text.fg | ||
} | ||
\setbeamercolor{block title example}{% | ||
use={block title, example text}, | ||
bg=block title.bg, | ||
fg=example text.fg | ||
} | ||
\setbeamercolor{block body alerted}{use=block body, parent=block body} | ||
\setbeamercolor{block body example}{use=block body, parent=block body} | ||
\setbeamercolor{footnote}{fg=normal text.fg!90} | ||
\setbeamercolor{footnote mark}{fg=.} | ||
\metropolis@color@setdefaults | ||
\ProcessPgfPackageOptions{/metropolis/color} | ||
\mode<all> | ||
\endinput | ||
%% | ||
%% End of file `beamercolorthememetropolis.sty'. |
Oops, something went wrong.