-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.txt.format
More file actions
122 lines (87 loc) · 3.11 KB
/
local.txt.format
File metadata and controls
122 lines (87 loc) · 3.11 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
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
## There is too much stuff in the local file; how much can be moved up?
######################################################################
## Adaptive content (time control)
## 2024 Jan 21 (Sun) I guess I'm doing short versions for now
## Need to fix up some commands now, and some will need to be fixed later
## It's hard to combine adaptive stuff in headings
## e.g., if we use DEFHEAD we get it wrong if there's another command
## if we don't we get it wrong if there's not
## Don't use SLIDE when there's another command!
## Still not simple, because we need SLIDE to null the slide!!
SHORTCOMMENT ^OFFSLIDE %%
SHORTSLIDE ^OFFSLIDE %%
SHORT ^OFFLINE %%
REGSLIDE ^ONSLIDE %%
REGULAR ^ON %%
REGCOMMENT ^CSLIDE %%
LONGCOMMENT ^OFFSLIDE %%
LONGSLIDE ^OFFSLIDE %%
LONG ^OFFLINE %%
## April Fools!
APRIL ^NULLSLIDE
## Midterm notes cutoff should be leaveable and ignored unless .cut notes are called for
CUTOFF NULLSLIDE
######################################################################
## Titles
INTRO \section*{Bio 3SS %%}
draft final: NOFRAME \title{%%}
CHAPTER \section*{Bio 3SS Unit %%}
draft final: NOFRAME \title{%%}
######################################################################
## Polls
## For the notes, we want to just get rid of link text
## No obvious mechanism in current dmu
## Even-year poll question (current)
## POLL Poll: \href{https://www.polleverywhere.com/%}{\color{pollcolor}%|}%!
## handouts complete: Poll: \href{https://www.polleverywhere.com/%}{%|}%!
## outline: %!
POLL Poll: %| %!
draft: {\color{pollcolor} %|} %!
outline: %!
POLL %| %!
draft: {\color{pollcolor} %|} %!
outline: %!
## Polls added for virtual class; revisit whether to make them hand-raisy
## Note that csv does not go through lecture.pl!
## Meaning: if we mess with these we need to check the csv-side code as well
VPOLL ^POLL %%
## Show poll question in notes before it's made. Flag in draft
NEWPOLL Poll: %| %!
draft: {\color{pollcolor}Unlinked poll!:} %| %!
outline: %!
## Useful syntax? Not used.
POLLTEXT %? %| %!
# Comments are shown in class, but not in the notes
OLDCOMMENT %!
complete: {\em\underline{Comment}: }%%
draft final: {\color{oldshortcolor}\sl %%}
######################################################################
### Special reference
MATREF ^HREF https://bio3ss.github.io/materials/% %%
ADD %!
draft: Aadd %%
######################################################################
## Old formatting stuff. Merge into main file some day?
CLASS %!
draft final: ^%%
# Answer slide for class only (and complete notes)
ASLIDE %!
handouts: NULLSLIDE
draft final: ^DEFHEAD {\sl \underline{%%}}
complete: ^DEFHEAD {\underline{Answer slide}: \sl %%}
# Comment slide (like an answer slide, but less important)
CSLIDE %!
handouts: NULLSLIDE
draft final: ^DEFHEAD {\sl %%}
complete: ^DEFHEAD {\underline{Comment slide}: \sl %%}
# Question slide for class and _incomplete_ notes
QSLIDE ^DEFHEAD %%
complete: NULLSLIDE
# Continue a slide with the same heading
CONT %!
draft final: ^DEFHEAD {\sl %%}
## A heading just for the slide
SLIDEHEAD %!
draft final: ^DEFHEAD %%
# Fit a highfig that doesn't fit in frame
FIGHFIG ^HFIG 0.9 %%