README.md 1.31 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
# 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

Alija Sabic's avatar
Alija Sabic committed
40
This template provides several features.
Alija Sabic's avatar
Alija Sabic committed
41
42

* ``.latexmkrc`` configuration 
Alija Sabic's avatar
Alija Sabic committed
43
44
45
46
47
48
49
* different variants
  * Presentation
  * Handout
  * Notes
* different aspect ratios
  * 4:3
  * 16:9
Alija Sabic's avatar
Alija Sabic committed
50
51
52

## Notes

Alija Sabic's avatar
Alija Sabic committed
53
Read documentation on the various `LaTeX` packages
Alija Sabic's avatar
Alija Sabic committed
54

Alija Sabic's avatar
Alija Sabic committed
55
    $ texdoc <package>