| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 1 | --- |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 2 | title: Generate Reproducible IDS-CD compliant HTML and PDF Posters |
| Marc Kupietz | a39d0cc | 2024-05-31 12:45:45 +0200 | [diff] [blame] | 3 | subtitle: Using RMarkdown and `posterdown.ids::posterdown_ids` |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 4 | author: |
| 5 | - name: Brent Thorne |
| 6 | affil: 1 |
| 7 | orcid: '0000-0002-1099-3857' |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 8 | - name: Marc Kupietz |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 9 | affil: 2 |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 10 | orcid: '0000-0001-8997-8256' |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 11 | affiliation: |
| 12 | - num: 1 |
| 13 | address: Department of Earth Science, Brock University |
| 14 | - num: 2 |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 15 | address: IDS Mannheim |
| Marc Kupietz | b9bbf20 | 2023-06-14 20:10:30 +0200 | [diff] [blame] | 16 | contact: |
| 17 | name: Marc Kupietz |
| 18 | department: Digital Linguistics |
| 19 | email: kupietz@ids-mannheim.de |
| Marc Kupietz | b07481c | 2023-06-24 10:42:37 +0200 | [diff] [blame] | 20 | website: "https://www.ids-mannheim.de/digspra/" |
| Marc Kupietz | cbe8b14 | 2023-06-24 17:48:20 +0200 | [diff] [blame] | 21 | qrlink: > |
| Marc Kupietz | a39d0cc | 2024-05-31 12:45:45 +0200 | [diff] [blame] | 22 | `r posterdown.ids::qrlink('https://korap.ids-mannheim.de/gerrit/plugins/gitiles/IDS-Mannheim/posterdown')` |
| Marc Kupietz | 095d7de | 2023-06-16 08:22:56 +0200 | [diff] [blame] | 23 | column_numbers: 2 |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 24 | # logoright_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 25 | logoleft_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png |
| 26 | output: |
| Marc Kupietz | a39d0cc | 2024-05-31 12:45:45 +0200 | [diff] [blame] | 27 | posterdown.ids::posterdown_ids: |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 28 | self_contained: false |
| Marc Kupietz | 095d7de | 2023-06-16 08:22:56 +0200 | [diff] [blame] | 29 | keep_md: true |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 30 | bibliography: packages.bib |
| Marc Kupietz | d97a8cb | 2023-06-14 20:10:30 +0200 | [diff] [blame] | 31 | csl: "https://raw.githubusercontent.com/ICLC-10/Zotero/master/styles/ICLC-10.csl" |
| Marc Kupietz | 095d7de | 2023-06-16 08:22:56 +0200 | [diff] [blame] | 32 | keep_md: true |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 33 | --- |
| 34 | |
| 35 | ```{r setup, include=FALSE} |
| Marc Kupietz | efa616e | 2023-06-24 10:42:16 +0200 | [diff] [blame] | 36 | library(qrcode) |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 37 | knitr::opts_chunk$set(dev = 'svg', echo = FALSE) |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 38 | ``` |
| 39 | |
| 40 | # Introduction |
| 41 | |
| Marc Kupietz | d97a8cb | 2023-06-14 20:10:30 +0200 | [diff] [blame] | 42 | Welcome to `posterdown::ids_poster`! This is my attempt to adapt the `posterdown` R package to the IDS Mannheim corporate design. Most features from R Markdown are available in this package such as Markdown section notation, figure captioning, and even citations like this one [@R-rmarkdown]. The rest of this example poster will show how you can insert typical conference poster features into your own document. |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 43 | |
| 44 | ## Objectives |
| 45 | |
| Marc Kupietz | 16cb8bb | 2023-06-21 11:44:57 +0200 | [diff] [blame] | 46 | 1. Easy to use reproducible poster design. [^1] |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 47 | 2. Integration with R Markdown. |
| Marc Kupietz | a39d0cc | 2024-05-31 12:45:45 +0200 | [diff] [blame] | 48 | 3. Easy transition from `posterdown` ➝ `pagedown` report or manuscript documents [@R-pagedown] and [revealjs-ids](https://gitlab.ids-mannheim.de/ids/revealjs). |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 49 | |
| Marc Kupietz | 16cb8bb | 2023-06-21 11:44:57 +0200 | [diff] [blame] | 50 | [^1]:Footnotes are possible, too. |
| 51 | |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 52 | # Methods |
| 53 | |
| 54 | This package uses the same workflow approach as the R Markdown you know and love. Basically it goes from RMarkdown > Knitr > Markdown > Pandoc > HTML/CSS > PDF. You can even use the bibliography the same way [@R-posterdown]. |
| 55 | |
| Marc Kupietz | 5625fc7 | 2023-06-18 12:12:13 +0200 | [diff] [blame] | 56 | ### Bibliography |
| 57 | |
| 58 | * for generating references and bibliography Zotero is used |
| Marc Kupietz | 59d7b14 | 2023-06-21 11:46:56 +0200 | [diff] [blame] | 59 | * in order to produce IDS citation standard compliant bibliographies, put this into your header: |
| Marc Kupietz | 5625fc7 | 2023-06-18 12:12:13 +0200 | [diff] [blame] | 60 | |
| 61 | ```yaml |
| 62 | csl: "https://raw.githubusercontent.com/ICLC-10/Zotero/master/styles/ICLC-10.csl" |
| 63 | ``` |
| 64 | |
| 65 | |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 66 | # Results |
| 67 | |
| 68 | Usually you want to have a nice table displaying some important results that you have calculated. In `posterdown` this is as easy as using the `kable` table formatting you are probably use to as per typical R Markdown formatting. |
| 69 | |
| 70 | You can reference tables like so: Table \@ref(tab:mytable). Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam placerat augue at velit tincidunt semper. Donec elementum porta posuere. Nullam interdum, odio at tincidunt feugiat, turpis nisi blandit eros, eu posuere risus felis non quam. Nam eget lorem odio. Duis et aliquet orci. Phasellus nec viverra est. |
| 71 | |
| Marc Kupietz | c372485 | 2023-06-14 14:20:36 +0200 | [diff] [blame] | 72 | ```{r mytable, out.width='60%'} |
| 73 | knitr::kable(iris[1:10, 1:3], caption = 'Table caption.',align = 'c',"html") |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 74 | ``` |
| 75 | |
| 76 | Or with figures: Figure \@ref(fig:standard-plot), or Figure \@ref(fig:morefigs). |
| 77 | |
| 78 | ```{r standard-plot, out.width='80%', fig.align='center', fig.cap='Great figure!', fig.height=5} |
| 79 | plot(mtcars[1:2]) |
| 80 | ``` |
| 81 | |
| Marc Kupietz | dcb81cf | 2023-06-15 08:58:56 +0200 | [diff] [blame] | 82 | ```{r morefigs, out.width='80%', echo=TRUE, fig.align='center', fig.cap='Amazing, right?!', fig.height=5} |
| Marc Kupietz | d2be736 | 2023-06-14 07:17:27 +0200 | [diff] [blame] | 83 | data <- iris |
| 84 | |
| 85 | plot(x = data$Sepal.Length, |
| 86 | y = data$Sepal.Width, |
| 87 | col = data$Species, |
| 88 | pch = 19, |
| 89 | xlab = "Sepal Length (cm)", |
| 90 | ylab = "Sepal Width (cm)") |
| 91 | |
| 92 | ``` |
| 93 | |
| 94 | # Next Steps |
| 95 | |
| 96 | Aliquam sed faucibus risus, quis efficitur erat. Vestibulum semper mauris quis tempus eleifend. Aliquam sagittis dictum ipsum, quis viverra ligula eleifend ut. Curabitur sagittis vitae arcu eget faucibus. In non elementum felis. Duis et aliquam nunc. Nunc pulvinar sapien nunc, vel pretium nisi efficitur in. Fusce fringilla maximus leo et maximus. Fusce at ligula laoreet, iaculis mi at, auctor odio. Praesent sed elementum justo. Aenean consectetur risus rhoncus tincidunt efficitur. Praesent dictum mauris at diam maximus maximus [@R-posterdown]. |
| 97 | |
| 98 | # Conclusion |
| 99 | |
| 100 | Try `posterdown` out! Hopefully you like it! |
| 101 | |
| 102 | ```{r, include=FALSE} |
| 103 | knitr::write_bib(c('knitr','rmarkdown','posterdown','pagedown'), 'packages.bib') |
| 104 | ``` |
| 105 | |
| 106 | # References |