sthlm beamer theme

70
S B T 2.0.0 & T MarkOson.SE Updated: // Made in Sweden File: --rs.B-sthlmBeamerTemplate

Upload: mark-hendry-olson

Post on 14-Feb-2017

1.739 views

Category:

Education


11 download

TRANSCRIPT

Page 1: STHLM Beamer Theme

STOCKHOLM BEAMER THEMESTHLM V2.0.0 IS BASED ON HSRM & MTHEME

MarkOlson.SE

Updated: 2016/12/13

Made in SwedenFile: 20150731-081156-rs2.2B-sthlmBeamerTemplate

Page 2: STHLM Beamer Theme

Please use Metropolis Theme Instead

Thank you for wanting to use sthlm.

However, you really should consider using the Metropolis(mTheme) theme developed by Matthias Vogelgesang and theLaTeX community instead as it is very well maintained anddocumented.

https://goo.gl/r683yn

1

Page 3: STHLM Beamer Theme

Overview

1. General Information

2. Colors

3. Blocks

4. Fonts

5. Features

2

Page 4: STHLM Beamer Theme

GENERAL INFORMATION

Page 5: STHLM Beamer Theme

sthlm Theme Information

sthlm theme was originally designed to bring pdflatex supportand color to the unique beamer hsrm theme designed byBenjamin Weiss. Thank You Ben!

https://goo.gl/NRseuc

Since then, sthlm has borrowed heavily from mThemedeveloped by Matthias Vogelgesang.

4

Page 6: STHLM Beamer Theme

sthlm Theme Information

sthlm continues to be a theme that can easily be modifiedthrough the style files. If you are looking for a packaged theme,then I highly recommend mTheme.

I use a custom version of sthlm for daily decks and make avanilla version of the theme available for others to use andmodify. - Enjoy!

5

Page 7: STHLM Beamer Theme

sthml Build Information

sthlm theme has been designed and tested to work within theSageMathCloud (Linux) environment.

Warning of Build IssuesI cannot guarantee that the code used to create the sthlmtheme is error free, optimized, well written nor if it will work inyour production environment.

6

Page 8: STHLM Beamer Theme

Have Fun!

If you have read this far, then you are probably interested inusing / modifying this theme for your own project.

Everything you need is in the

# style files:◦ beamerthemesthlm.sty,◦ beamerfontthemesthlm.sty,◦ beamercolorthemesthlm.sty.

7

Page 9: STHLM Beamer Theme

Get it on GitHub

This theme and all the documentation is hosted on GitHub

Download, Fork, Contribute

https://goo.gl/0Wg6xt

Figure: Hosted on GitHub

8

Page 10: STHLM Beamer Theme

Thank You Overleaf

Special thank you to Overleaf - especially Dr. Lian Tze Lim forsupporting those using the theme on Overleaf. Awesome work!

You can view and download the theme from Overleaf.

https://goo.gl/Z5zrsF

Figure: Thank You Overleaf

9

Page 11: STHLM Beamer Theme

Theme Package Requirements

This theme requires that the following packages are installed:

# beamer# backgrounds# booktabs# calc

# datetime# ragged2e# tikz# wasysym

There is always the option of simplifying the theme to reducethe number of required packages.

10

Page 12: STHLM Beamer Theme

Replace the Logo With Your Own

The Sigtunaskolan Humanistiska Läroverket logo, logo.png,should be replaced with your own. I teach within theMathematics Institution at SSHL.

Figure: SSHL Logo11

Page 13: STHLM Beamer Theme

Theme Options

Option Description

newPxFont newpxtext and newpxtext fonts will beused (pdfLaTeX)

progressbar Frame Title progress barsectionpages Section pagesfullfooter Footers with logonumfoooter Footers with page number onlygreybg Frame background default is set to greycblock Blocks with colored backgroundprotectFrameTitle Protect the frame title (if needed)valigncolumns Vertically align columns

12

Page 14: STHLM Beamer Theme

COLORS

Page 15: STHLM Beamer Theme

Color Style File

The sthlm theme style file beamerthemesthlm.sty references thebeamercolorthemesthlm.sty file for the theme colorsautomatically.

If you wish to bring your own color theme, then you will haveto either change the reference in the beamerthemesthlm.sty fileor rename your style file to beamercolorthemesthlm.sty.

14

Page 16: STHLM Beamer Theme

Primary Presentation Colors

Grey

Grey

Blue

Blue

Red

Red

Green

Green

Purple

Purple

Orange

Orange

15

Page 17: STHLM Beamer Theme

Colored Text

Table: Colored Text

Red LightRed RedBlue LightBlue BlueGreen LightGreen GreenPurple LightPurple PurpleOrange LightOrange OrangeGrey Grey DarkGrey

16

Page 18: STHLM Beamer Theme

Frame Colored Backgrounds

Green Background

17

Page 19: STHLM Beamer Theme

Frame Colored Backgrounds

Light Green Background

18

Page 20: STHLM Beamer Theme

Colored Title Block

Great for examples

Page 21: STHLM Beamer Theme

Frame Colored Backgrounds

Blue Background

20

Page 22: STHLM Beamer Theme

Frame Colored Backgrounds

Blue Background

21

Page 23: STHLM Beamer Theme

Colored Title Block

Great for definitions

Page 24: STHLM Beamer Theme

Frame Colored Backgrounds

Red Background

23

Page 25: STHLM Beamer Theme

Frame Colored Backgrounds

Red Background

24

Page 26: STHLM Beamer Theme

Colored Title Block

Great for alerts

Page 27: STHLM Beamer Theme

Frame Colored Backgrounds

Purple Background

26

Page 28: STHLM Beamer Theme

Frame Colored Backgrounds

Light Purple Background

27

Page 29: STHLM Beamer Theme

Colored Title Block

Great for Proofs

Page 30: STHLM Beamer Theme

Simple Frames

Keeping it Simple

29

Page 31: STHLM Beamer Theme

Plain Frame

Page 32: STHLM Beamer Theme

Plain Frame

Page 33: STHLM Beamer Theme

BLOCKS

Page 34: STHLM Beamer Theme

Blocks

Block Title HereGreat for definitions

Alert Title HereGreat for definitions

Example Title HereGreat for examples

33

Page 35: STHLM Beamer Theme

Blocks

Block Title Here

# point 1# point 2

Blue Colored BlocksProduced by using the cblock theme option

34

Page 36: STHLM Beamer Theme

Additional Blocks

Alert BlockHighlight important information.

Red Colored BlocksProduced by using the cblock theme option

35

Page 37: STHLM Beamer Theme

Additional Blocks

Example BlockExamples can be good.

Green Colored BlocksProduced by using the cblock theme option

36

Page 38: STHLM Beamer Theme

Custom Blocks

Purple customizationUsing the theme colors to generate colored blocks.

37

Page 39: STHLM Beamer Theme

FONTS

Page 40: STHLM Beamer Theme

No Special Fonts Required

This theme was originally made to work with pdflatex and thedefault latex fonts.

sthlm does comes with a pdflatex font option, newPxFont,which loads the following fonts:

# newpxtext for text# cabin for sans-serif# inconsolata for sans-serif monospaced# newpxmath for math

Please refer to the beamerfontthememsthlm.sty for the packagerequirements.

39

Page 41: STHLM Beamer Theme

FEATURES

Page 42: STHLM Beamer Theme

Tables

Table: Selection of window function and their properties

Window First side lobe 3dB bandwidth Roll-off

Rectangular 13.2 dB 0.886Hz/bin 6dB/octTriangular 26.4 dB 1.276Hz/bin 12 dB/octHann 31.0 dB 1.442Hz/bin 18 dB/octHamming 41.0 dB 1.300Hz/bin 6dB/oct

41

Page 43: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 44: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 45: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 46: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 47: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 48: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 49: STHLM Beamer Theme

Mathematics Step by Step

Show [xn]′ � nxn−1 by using first principles.

f ′(x) � lim∆x→0

f (x + ∆x) − f (x)∆x

� lim∆x→0

(x + ∆x)n − (x)n∆x

� lim∆x→0

(n0)xn∆x0 +

(n1)xn−1∆x1 + · · · +

(nn

)x0∆xn − xn

∆x

� lim∆x→0

1xn(1) + nxn−1∆x1 + · · · + 1(1)∆xn − xn

∆x

� lim∆x→0

xn + nxn−1∆x + · · · + ∆xn − xn

∆x

� lim∆x→0

��∆x(nxn−1 + · · · + ∆xn−1)��∆x

� nxn−1

42

Page 50: STHLM Beamer Theme

Functions

Gaussian Probability Distribution Function

f(x | µ, σ2)

�1

√2σ2π

e−(x − µ)2

2σ2

43

Page 51: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �

f (x + ∆x) − f (x)x + ∆x − x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 52: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x)

− f (x)x + ∆x − x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 53: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) −

f (x)x + ∆x − x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 54: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x − x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 55: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x

− x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 56: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x −

x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 57: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x − x

m �

f (x + ∆x) − f (x)∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 58: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x − x

m �f (x + ∆x) − f (x)

∆x

︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 59: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x − x

m �f (x + ∆x) − f (x)

∆x︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸

difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 60: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x − x

m �f (x + ∆x) − f (x)

∆x︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸difference quotient

The slope of the secant line

# can be found using the difference quotient

# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 61: STHLM Beamer Theme

More Mathematics

x x + ∆x

f (x)

f (x + ∆x)

m �∆y∆x

m �f (x + ∆x) − f (x)

x + ∆x − x

m �f (x + ∆x) − f (x)

∆x︸¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︷︷¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈ ¨̈︸difference quotient

The slope of the secant line

# can be found using the difference quotient# represents a function’s average slope on the interval[x , x + ∆x]

44

Page 62: STHLM Beamer Theme

Fragile Frames Not a Problem

x

y

45

Page 63: STHLM Beamer Theme

Fragile Frames Not a Problem

x

y

45

Page 64: STHLM Beamer Theme

Fragile Frames Not a Problem

x

y

45

Page 65: STHLM Beamer Theme

Fragile Frames Not a Problem

x

y

45

Page 66: STHLM Beamer Theme

PGFPlots Example

A B C D E F DNF

0

10

20

30

40

%stud

ents

20122013

Figure: Consistent improvement over the last year

46

Page 67: STHLM Beamer Theme

Multiple Columns

Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod temporincididunt ut labore et doloremagna aliqua. Ut enim adminim veniam.

# Point 1◦ Sub point a◦ Sub point b

# Point 2

47

Page 68: STHLM Beamer Theme

References

Alan V. OppenheimDiscrete - Time Signal ProcessingPrentice Hall Press, 2009

European Broadcasting UnionSpecification of the Broadcast Wave Format (BWF)2011

48

Page 69: STHLM Beamer Theme

About

This sthlm beamer theme is free software: you can redistributeit and/or modify it under the terms of the GNU General PublicLicense as published by the Free Software Foundation, eitherversion 3 of the License, or (at your option) any later version.

If you have any questions or comments

# Website: markolson.se# Twitter: @markolsonse# Instagram: @markolson.se

49

Page 70: STHLM Beamer Theme

THEEND