-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-lecture.qmd
211 lines (163 loc) · 4.56 KB
/
template-lecture.qmd
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
---
title: "ETCXXXX: Course Name"
title-slide-attributes:
data-background-image: "_extensions/monash/images/bg-01.png"
subtitle: "Week 1 Session A"
date: 2022-02-27
date-format: medium
author:
- name: "FirstName LastName"
email: "XXX@monash.edu"
institute: "Department of Econometrics and Business Statistics"
footer: "ETCXXXX Lecture 1 | [cwd.numbat.space](cwd.numbat.space)"
format:
monash-revealjs:
multiplex: false
show-notes: true
controls: true
execute:
echo: true
---
```{r, include = FALSE}
current_file <- knitr::current_input()
basename <- gsub(".[Rq]md$", "", current_file)
knitr::opts_chunk$set(
fig.path = sprintf("images/%s/", basename),
fig.width = 6,
fig.height = 4,
fig.align = "center",
out.width = "100%",
fig.retina = 3,
echo = TRUE,
warning = FALSE,
message = FALSE,
cache = TRUE,
cache.path = "cache/"
)
```
``` md
---
pagetitle: "ETCXXXX: Course Name"
subtitle: "Subtitle"
author: "FirstName LastName"
email: "XXX@monash.edu"
date: "Week 1 Session A"
department: "Department of Econometrics and Business Statistics"
unit-url: "cwd.numbat.space"
footer: "ETCXXXX Lecture 1"
---
## <br>[`r rmarkdown::metadata$pagetitle`]{.monash-blue} {background-image="images/bg-01.png"}
### `r rmarkdown::metadata$subtitle`
Lecturer: *`rmarkdown::metadata$author`*
`r rmarkdown::metadata$department`
- `rmarkdown::metadata$author$name`
- `rmarkdown::metadata$date`
- [`rmarkdown::metadata[["unit-url"]]`](`r rmarkdown::metadata[["unit-url"]]`)
```
## Quarto Revealjs Basics
For basics go to <https://quarto.org/docs/presentations/revealjs/>
<iframe src="https://quarto.org/docs/presentations/revealjs/" width="100%" height="100%">
</iframe>
## Monash Color Palettes
::: {.flex .f3}
::: w-33
- [`.monash-blue`]{.monash-blue}
- [`.monash-black`]{.monash-black}
- [`.monash-gray80`]{.monash-gray80}
- [`.monash-gray50`]{.monash-gray50}
- [`.monash-gray10`]{.monash-gray10}
- [`.monash-bg-blue`]{.monash-bg-blue .monash-white}
- [`.monash-bg-black`]{.monash-bg-black .monash-white}
- [`.monash-bg-gray80`]{.monash-bg-gray80 .monash-white}
- [`.monash-bg-gray50`]{.monash-bg-gray50 .monash-white}
- [`.monash-bg-gray10`]{.monash-bg-gray10 .monash-white}
:::
::: w-33
- [`.monash-blue2`]{.monash-blue2}
- [`.monash-purple2`]{.monash-purple2}
- [`.monash-fuchsia2`]{.monash-fuchsia2}
- [`.monash-ruby2`]{.monash-ruby2}
- [`.monash-pink2`]{.monash-pink2}
- [`.monash-red2`]{.monash-red2}
- [`.monash-orange2`]{.monash-orange2}
- [`.monash-umber2`]{.monash-umber2}
- [`.monash-olive2`]{.monash-olive2}
- [`.monash-green2`]{.monash-green2}
:::
::: w-33
- [`.monash-bg-blue2`]{.monash-bg-blue2 .monash-white}
- [`.monash-bg-purple2`]{.monash-bg-purple2 .monash-white}
- [`.monash-fbg-uchsia2`]{.monash-bg-fuchsia2 .monash-white}
- [`.monash-bg-ruby2`]{.monash-bg-ruby2 .monash-white}
- [`.monash-bg-pink2`]{.monash-bg-pink2 .monash-white}
- [`.monash-bg-red2`]{.monash-bg-red2 .monash-white}
- [`.monash-bg-orange2`]{.monash-bg-orange2 .monash-white}
- [`.monash-bg-umber2`]{.monash-bg-umber2 .monash-white}
- [`.monash-bg-olive2`]{.monash-bg-olive2 .monash-white}
- [`.monash-bg-green2`]{.monash-bg-green2 .monash-white}
:::
:::
## Box types
::: flex
::: w-50
::: callout-note
`.callout-note`
Note: next week is midsem break.
:::
::: callout-important
`.callout-important`
Assignment 1 is **due 18th May**
:::
::: callout-caution
`.callout-caution`
Don't forget to click the submit button.
:::
:::
::: {.w-50 .pl3}
::: callout-tip
`.callout-tip`
Go [here](https://quarto.org/docs/authoring/callouts.html) to find more about callouts.
:::
::: callout-warning
`.callout-warning`
Remember the data context.
:::
::: {.callout-tip appearance="simple"}
## Customisation
Change appearance from `appearance="default"` to<Br> `"simple"` or `"minimal"`.
:::
:::
:::
# Tachyons
::: f1.measure
There are a number of CSS elements borrowed from Tachyons
http://tachyons.io/docs/
:::
::: fragment
<br>
You can find this in `assets/tacyons-addon.css`.
:::
::: fragment
<br><br>
Only a few features are shown in the next couple of slides.
:::
## Font sizes and Text decorations
[`.f-headline`]{.f-headline} or [`.f-6`]{.f-6}
[`.f-subheadline`]{.f-subheadline} or [`.f-5`]{.f-5}
[`.f1`]{.f1} [`.f2`]{.f2} [`.f3`]{.f3} [`.f4`]{.f4} [`.f5`]{.f5} [`.f6`]{.f6} [`.f7`]{.f7}
[`.underline`]{.underline}
[`.strike`]{.strike}
## Scroll boxes
`.overflow-scroll .h5`
::: {.overflow-scroll .h5}
```{r}
mtcars
```
:::
`.overflow-scroll .h-25`
::: {.overflow-scroll .h-25}
```{r}
mtcars
```
:::
`.h-XX` come in 5% increments from 25 to 100%.