README.md 2.76 KB
Newer Older
Alija Sabic's avatar
Alija Sabic committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# FHTW LaTeX Beamer Template

![FHTW Logo](https://es.technikum-wien.at/sabic/fhtw-latex-slides/raw/logo/.img/fhtw-latex-logo.svg)

Template supporting LaTeX beamer options.

## Help Instructions

Provided targets:

    build, view, preview, clean, distclean, log, open, help

Four environment variables are used to configure the behavior of those targets:

* `*$TARGET*` is used to specify the tex file to compile (default: `$BASENAME`).
* `*$VARIANTS*` is used to specify none, one, or multiple variants (default: `$BASEVARIANTS`).
* `*$ASPECTRATIO*` is used to specify the aspect ratio(s) (default: `$BASEARATIO`).
* `*$OPTS*` is used to pass additional options to latexmk.

---
Pass variables with `make` command

    $ make OPTS=-gg
    $ make TARGET=resources/tex/intro view
    $ make VARIANTS=handout,presentation ASPECTRATIO=43,169 build
    $ make VARIANTS=, view
---
Export variables to set them permanently

    $ TARGET=resources/tex/intro.tex
    $ VARIANTS=notes
    $ ASPECTRATIO=43
    $ make
    $ make open
    $ make preview
    $ make clean

## Features

This beamer template provides various features, viz.

* ``.latexmkrc`` configuration 
* One source file
  * three different variants
    * [*Presentation*](build/demo-presentation.pdf)
    * [*Handout*](build/demo-handout.pdf)
    * [*Notes*](build/demo-notes.pdf)
  * and different aspect ratios
    * [*Presentation (4:3)*](build/demo-presentation-43.pdf)
    * [*Presentation (16:9)*](build/demo-presentation-169.pdf)
  * supported aspect ratios: `1610`, `169`, `149`, `141`, `54`, `43`, `32`
* Modularized (and resuable) slides, figures, tables, etc. (`standalone`), e.g.,
  * [*Title Page*](build/title.pdf)
  * [*Figure*](build/control-system.pdf)
  * [*Table*](build/siunits.pdf)
* Different styles supported: 
  * `fhtw`
  * `fhtw-simple`
  * `fhtw-random`
  * `fhtw-random-simple`
  * `noir`
  * `noir-bridge`
  * `noir-bridge-color`
  * `bridge`
  * `simple`
  * `complex`
* Different color styles supported: 
  * `vivid`
  * `ocean`
  * `forest`
  * `concrete`
  * `metal`
  * `urban`
  * `lollipop`
  * `island`
* *Sidebar* with
  * Progressbar
  * Table of Content
  * Logo, Author, Title
* Title page drawn with *TikZ*
* Customizable colors: `primary`, `secondary`, `accent`, `alert`
* *Demos*
  * Acronyms (`acro`)
  * References (`natbib`)
  * Itemize, Enumerate, Description, Block
  * Formulas
  * Illustrations
  * Listings
  * Tables (`tabu`)

## Notes

### Change style of template

* Default Settings

      \usetheme[style=fhtw,vivid]{fhtw}

* Variants

      \usetheme[style=noir,metal]{fhtw}
      \usetheme[style=noir-bridge-color,lollipop]{fhtw}

### Change colors of template

* Change alert color

      \usetheme[metal,alert=orange]{fhtw}

* Read documentation on the various `LaTeX` packages

      $ texdoc <package>