-
Notifications
You must be signed in to change notification settings - Fork 6
/
README.qmd
51 lines (37 loc) · 1.46 KB
/
README.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
---
format: gfm
---
<!-- README.md is generated from README.qmd. Please edit that file -->
```{r}
#| include: false
# Create pdf and png version of template
library(tidyverse)
library(quarto)
library(magick)
quarto_render(input = "template.qmd")
fs::file_delete(c("AACSB.png","AMBA.png","EQUIS.png","MBSportrait.jpg","monash2.png"))
# Convert rendered PDF to PNG
image_read_pdf("template.pdf") |>
image_montage(geometry = "x2000+25+35", tile = "2x2", bg = "grey92", shadow = TRUE) |>
image_convert(format = "png") |>
image_write("examples/template.png")
# Move pdf to examples folder
fs::file_move("template.pdf", "examples/template.pdf")
```
# Monash Working Paper Format Template
This is a Quarto template that assists you in creating a working paper for the Department of Econometrics & Business Statistics, Monash University.
## Creating a new working paper
You can use this as a template to create a working paper.
To do this, use the following command:
```bash
quarto use template quarto-monash/workingpaper
```
This will install the extension and create an example qmd file that you can use as a starting place for your working paper.
## Installation for existing document
You may also use this format with an existing Quarto project or document.
From the quarto project or document directory, run the following command to install this format:
```bash
quarto install extension quarto-monash/workingpaper
```
## Example
[![](examples/template.png)](examples/template.pdf)