Repository navigation
Expand file tree
/
Copy pathtutorial2
More file actions
88 lines (74 loc) · 2.14 KB
/
Copy pathtutorial2
File metadata and controls
88 lines (74 loc) · 2.14 KB
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
\newfixed{bold}{
bold
}
\newfixed{highlight1}{
color : pink;
bold
}
\newfixed{highlight2}{
color : purple;
bold
}
\newfixed{highlight3}{
color : red;
bold
}
\slide{FistSlide}{Creating a slide}
\begin
\bold{\\slide\{\highlight1{Begining}{ }\}\{\highlight2{Introduction Slide}{ }\}}{
This is how you create a slide in your presentation.
The slide ID here is 'FirstSlide' and the Title 'Introduction Slide'.
}
\end
\highlight1{BeginEnd}{The code blocks' content will be the actual text displayed in the slide}
\slide{CodeBlock}{Code Blocks with 'begin' and 'end'}
\begin
\\slide\{Begining\}\{This is the first slide\}
\bold{\\begin
\BeginEnd{def main():
return
}
\\end}{You can include code blocks using the \begin and \end commands.}
\end
\slide{CreateCommand}{7 Create new styling commands}
\begin
\bold{\\newfixed\{\highlight1{\\highlight}{Here you can define the name of the command}\}\{
\highlight2{color : red;
background-color : lime;
border-color : #0000ff;
bold;
italic;
underline}{The content inserted here will be the styling of the command, you can define the color, background-color, border-color, bold, italic, underline and strikethrough}
\}}{ }
\end
\slide{GlobalVars}{4 Add global variables}
\begin
\bold{
\\highlight\{Comment\}\{This highlighted text is commented by this text\}
}{This is how you can add a global comment that can be used in the slides}
\end
\slide{ApplyGlobalVars}{5 Apply those global variables to the slide}
\begin
\end
\slide{LocalVars}{6 Add and apply local variables}
\begin
\end
\slide{ApplyCommand}{8 Apply those stylings to the slide}
\begin
\end
\slide{ChangeCommand}{9 Make slight changes to the styling command}
\begin
\end
\slide{Exercise}{10 Create Exercise command}
\begin
\end
\slide{ApplyEx}{11 Apply the exercise command to the slide}
\begin
\end
\slide{RightWrong}{12 Rigth answer to the exercise and wrong answer to the exercise}
\begin
\end
\order{EmptySlide,(SlideTitle,SlideContent,GlobalVars)|GlobalVars,
(ApplyGlobalVars,LocalVars,CreateCommand)|CreateCommand,
(ApplyCommand,ChangeCommand,Exercise)|Exercise,
ApplyEx,RightWrong}