summaryrefslogtreecommitdiff
path: root/obsolete/macros/context/contrib/context-taspresent/doc/context/third/taspresent/demo.tex
blob: 5f6988d7f511c00d7b53871d0a79e38cfd7aca5b (plain)
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
\usemodule[taspresent][style=rules,font=MyriadPro,size=17pt,stylecolor=red]

\setvariables [taspresent]
              [author={Groucho Marx},
               title={Marriage the Chief Cause of Divorce}]

% \usetypescriptfile[type-gtamacfonts]
% \definetypeface[MyFace][ss][sans][optima][default][encoding=ec]
% %\usetypescript[LucidaSans][ec]
% \setupbodyfont[MyFace,ss,\Normalsize]

% \usesymbols[lucidasans]
% \setupsymbolset[LucidaSans]
% \definesymbol[1][{\symbol[Check2]}]

% \showframe

% \traceexternalfigurestrue

\starttext

\Maketitle

\Slidetitle{Text}

\lecback

Thus, I came to the conclusion that the designer of a new
system must not only be the implementer and first
large||scale user; the designer should also write the first
user manual.

The separation of any of these four components would have
hurt \TeX\ significantly. If I had not participated fully in
all these activities, literally hundreds of improvements
would never have been made, because I would never have
thought of them or perceived why they were important.

But a system cannot be successful if it is too strongly
influenced by a single person. Once the initial design is
complete and fairly robust, the real test begins as people
with many different viewpoints undertake their own
experiments.

\Slidetitle{Itemization}

\startitemize[1]
\item Thus, I came to the conclusion that the designer of a new
	system  
\item must not only be the implementer and first
	large||scale user;  
\item the designer should also write the first
	user manual.
\item The separation of any of these four components would have
	hurt \TeX\ significantly. 
\stopitemize

\Slidetitle{Numbered Itemization}

\startitemize[n]
\item Thus, I came to the conclusion that the designer of a new
	system  
\item must not only be the implementer and first
	large||scale user;  
\item the designer should also write the first
	user manual.
\item The separation of any of these four components would have
	hurt \TeX\ significantly. 
\stopitemize

\Slidetitle{Picture in Horizontal Mode}

\PicHoriz[hor][height=\NormalHeight]

\page

\picback 

\PicVert[vert][width=\NormalWidth]{Picture in \\ Vertical Mode}

\page

\CircVert[scale=22,x=23,y=25][vert][width=\NormalWidth]{Circle in \\ Vertical Mode}

\page

\ArrowVert[direction=90,x=7,y=23][vert][width=\NormalWidth]{Arrow in \\ Vertical Mode}

\Slidetitle{Red Circle}

\lecback

\CircHoriz[scale=40,x=120,y=80][hor][height=\NormalHeight]

\Slidetitle{Red Arrow}

\ArrowHoriz[direction=135,x=105,y=15][hor][height=\NormalHeight]

\Slidetitle{A MetaFun graphic}

\placefigure[here]{none}{%
\startMPcode
pickup pencircle scaled 4pt ;
draw unitsquare xyscaled (5cm,5cm) withcolor red ;
\stopMPcode
}

\Slidetitle{Some Code Snippets}

To set up a horizontal picture, simply type:

\startTEX
\PicHoriz[hor][height=\Normalheight]
\stopTEX

\blank[line]

For vertical pictures:

\startTEX
\PicVert[vert][width=\NormalWidth]%
{Text placed \\ opposite picture}
\stopTEX

\Slidetitle{Math}

Since I know nothing about math, this example is copied from the wiki:

\startformula
 f(x) = \startmathcases
   \NC x, \NC if $0 \le x \le \frac12$ \NR
   \NC 1-x ,\NC if $\frac12 \le x \le 1$ \NR
\stopmathcases
\stopformula

\Slidetitle{Your Own Ideas?}

\null

\vfill

\midaligned{\tfd Go \color[red]{here!}}

\vfill

\page

\stoptext

%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: