README.adoc 1.85 KB
Newer Older
1
= image:https://es.technikum-wien.at/sabic/fhtw-latex-slides/raw/logo/.img/fhtw-latex-slides.svg[] FHTW LaTeX Beamer Template
Alija Sabic's avatar
Alija Sabic committed
2
3
4

Template for LaTeX beamer slides (FHTW).

5
== Help Instructions
Alija Sabic's avatar
Alija Sabic committed
6

7
8
9
10
11
12
Provided targets:

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

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

Alija Sabic's avatar
Alija Sabic committed
13
14
15
* `*$TARGET*` is used to specify the tex file to compile (default: `$BASENAME`).
* `*$VARIANTS*` is used to specify none, one, or multiple variants (default: `$BASEVARIANTS`).
* `*$OPTS*` is used to pass additional options to latexmk.
16
17
18
19
20
21
22
23


---

.pass variables with `make` command
====

[subs=+macros]
Alija Sabic's avatar
Alija Sabic committed
24
----
25
pass:q[
Alija Sabic's avatar
Alija Sabic committed
26
$ make *OPTS*=-gg
27
$ make *TARGET*=resources/tex/intro *view*
Alija Sabic's avatar
Alija Sabic committed
28
29
$ make *VARIANTS*=handout,presentation *build*
$ make *VARIANTS*=, *view*
30
]
Alija Sabic's avatar
Alija Sabic committed
31
----
32
====
Alija Sabic's avatar
Alija Sabic committed
33

34
---
Alija Sabic's avatar
Alija Sabic committed
35

36
37
38
.`export` variables to set them permanently
====
[subs=+macros]
Alija Sabic's avatar
Alija Sabic committed
39
----
40
pass:q[
Alija Sabic's avatar
Alija Sabic committed
41
42
$ *TARGET*=resources/tex/intro.tex
$ *VARIANTS*=notes
43
44
45
46
$ make
$ make *preview*
$ make *clean*
]
Alija Sabic's avatar
Alija Sabic committed
47
----
48
====
Alija Sabic's avatar
Alija Sabic committed
49
50
51
52
53
54
55

== Features

This beamer template provides various features, viz.

* `*.latexmkrc*` configuration 
* One source file, three different variants, i.e.,
56
57
58
59
60
61
62
** link:build/demo-presentation.pdf[*Presentation*]
** link:build/demo-handout.pdf[*Handout*]
** link:build/demo-notes.pdf[*Notes*]
* Modularized (and resuable) slides, figures, tables, etc. (`standalone`), e.g.,
** link:build/title.pdf[*Title Page*]
** link:build/control-system.pdf[*Figure*]
** link:build/siunits.pdf[*Table*]
Alija Sabic's avatar
Alija Sabic committed
63
64
65
66
67
68
69
70
71
72
* *Sidebar* with
** Progressbar
** Table of Content
** Logo, Author, Title
* Title page drawn with *TikZ*
* Customizable main colors: `primary`, `secondary`, `accent`
* *Demos*
** Acronyms (`acro`)
** References (`natbib`)
** Itemize, Enumerate, Description, Block
73
74
** Formulas
** Illustrations
Alija Sabic's avatar
Alija Sabic committed
75
76
77
78
79
** Listings
** Tables (`tabu`)

== Notes

80
81
.read documentation on the various `LaTeX` packages
====
Alija Sabic's avatar
Alija Sabic committed
82
83
----
$ texdoc <package>
84
85
----
====