-
Notifications
You must be signed in to change notification settings - Fork 10
/
example.tex
81 lines (60 loc) · 1.65 KB
/
example.tex
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
\environment slides
% To enable the use of sample images in ConTeXt distrubtion
\setupexternalfigures[location={local,global,default}]
\starttext
\setvariables
[metadata]
[
title={Creating slides in ConTeXt},
author={ConTeXt user},
date={Jan 13, 2013},
location={ConTeXt Interactive Tutorial},
]
\startslide[title={First Slide}]
\startitemize
\starthead {First bullet}
Avoid using too many bullets. It is better to use paragraphs.
\startitemize
\item Especially nested bullet lists
\item That make it hard to understand the main point
\stopitemize
\stophead
\starthead {Second bullet}
Nonetheless sometimes you are stuck at using bullets. In such cases, make
sure that the bullets look nice.
\stophead
\stopitemize
\stopslide
\startslide[title={Sample Slide}]
\input knuth
\stopslide
\startslide[title={Some math}]
Here is an example with display math with a long line preceeding it
\startformula
f(x) = a_i x^i
\stopformula
and a long line following the display math.
\stopslide
\startslide[title={Horizontal Image}]
\startplacefigure
\externalfigure[hacker][horizontal]
\stopplacefigure
\stopslide
\startslide[title={Horizontal Image with text}]
\input ward
\startplacefigure
\externalfigure[hacker][horizontal]
\stopplacefigure
\stopslide
\startslide[title={Vertical Image}]
\startplacefigure
\externalfigure[mill][vertical]
\stopplacefigure
\stopslide
\startslide[title={Vertical Image with text}]
\startplacefigure[location=left]
\externalfigure[mill][vertical]
\stopplacefigure
\input ward
\stopslide
\stoptext