Debian Codegraph @

texmf-dist/doc/latex/gridslides/README.md

raw
1 # gridslides: LaTeX package to create free form slides with blocks placed on a grid
2
3 This package allows to create free form slides with blocks placed on a grid.
4 The blocks can be filled with text, equations, figures etc.
5 This allows more flexible slides similar compared to LaTeX beamer.
6 Sequential unconvering of elements is supported.
7 A compiler script is provided which compiles each slide separately, avoiding long compile times this way.
8
9 ## Example
10
11 See the file `example.tex` and `example.pdf`. Each slide is compiled separately using `compile.pl example.tex`.
12
13 ## Supported commands
14
15 This package provides only a handful of commands, which
16 allow to create slides and with blocks at fixed positions.
17
18 ### Slides/Pages
19
20 ```latex
21 \begin{slide}{Slide title}
22 Slide content
23 \end{slide}
24
25 \begin{rawslide}
26 Raw slide without title and style
27 \end{rawslide}
28
29 \begin{style}
30 Define style which underlies all slides.
31 Best used together with \bg{filename}!
32 \end{style}
33
34 \begin{style}
35 \bg{figure-filename}
36 \end{style}
37 ```
38
39 ### Slide content blocks
40
41 The slide is divided in a 32x24 grid.
42
43 ```latex
44 \bg{figure-filename}
45 \txt(x,y){Text content}
46 \block(x,y,w){Arbitrary content}
47 \fig(x,y,w){figure-filename}
48 \eq(x,y){a^2 + b^2 = c^2}
49 ```
50
51 ### Sequential uncovering
52
53 Each slide can be split in multiple steps by defining blocks with `<n-m>` annotations.
54
55 ```latex
56 \txt<1->(x,y){On slide step 1 to n}
57 \block<2>(x,y,w){Only on step 2}
58 \only<2-3>{
59 \block(x,y){Block content}
60 }
61 ```
62
63 ### Metadata
64
65 ```latex
66 \author{Author} defines \theauthor
67 \title{Presentation Title} defines \thetitle
68 \date{Date} defines \thedate
69 \institute{Institute} defines \theinstitute
70 \theheadline defined by slide title
71 \theslide defined by slide number
72 ```
73
74 ## Alternatives
75
76 * beamer
77 * ffslides
78 * prosper
79 * pure tikz or pstricks
80
81 ## License
82
83 Copyright (c) 2017 Daniel Mendler. The package is dual-licensed
84 under the GNU General Public License, version 2 and
85 the LaTeX Project Public License 1.3 at your option.