knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.align = 'center', fig.width = 6, fig.height = 4 )
pkgs <- c("iheiddown", "magrittr", "ggplot2") lapply(pkgs, library, character.only = TRUE)
While {iheiddown}
's main aim is to assist students in writing their thesis, it
can also be used for showcasing projects or papers at conferences with its
poster template. This short article will walk you through the process of using
the IHEID-themed poster templates.
The installation process is the same than for the thesis template. You'll need the following software:
{iheiddown}
by typing the following command
install.packages("iheiddown")
in the R-Studio console. Note: typing remotes::install_github("jhollway/iheiddown")
will provide you
with the latest version from GitHub.
Creating your first poster is easy! Before we begin, we have to create a new R project by clicking on the file tab in the top of the RStudio window and following the instructions of the prompt that appears. Now that we have created an R project for our presentation, we can open a new R-Markdown file. To do this click on the "plus file" logo in the top left corner and then on "R-Markdown".
knitr::include_graphics("images/poster/0-Open_Project.png", dpi = 144)
After you have done this, a little pop-up helper will appear. The first thing we
will do is to select the {iheiddown}
template for our presentation. To do so,
click on the "From Template" option on the left and select one of the
"Poster {iheiddown}" templates. Now give your poster a name and click
on "OK".
knitr::include_graphics("images/poster/select_template.png", dpi = 144)
Congrats! You just created your first poster! Let's render it to see what it
looks like out of the box. This is done by simply clicking the "knit button"
while viewing the Poster.Rmd
pane. Et voilĂ ! You have now successfully
generated your first poster with R.
Take a moment to read through the generated poster to get acquainted
with the {R-markdown}
syntax and to get a feel of the possibilities of the
{iheiddown}
theme.
This section will focus on giving you an overview of the workflow of designing
your conference posters in R with{iheiddown}
.
The three flavors {iheiddown}
incorporates are "re-themed" versions of
the excellent {posterdown}
package. They include:
Here is the thread that started the #betterposter
style. Choose the one that fits your needs and read on to discover how to edit it!
The general options are set in the YAML header. You can define the metadata of the document such as the name of the authors, the institution they are a part of , and the title of your poster there.
You can also set bibliographic options such as the .bib
file you want to draw
your references from (packages.bib
by default) and the style of the
bibliographic entries by altering the .csl
file. Note that packages that were
used in the code chunks of your problem set have their citation information
automatically written to a second .bib
file called packages.bib
. That way
you easily give appropriate credit to the work of the creators of the packages
you use.
That's it! You're now all set to focus on the content of your poster. Again, please take a moment to read through the template once it is generated as it serves as much as a tutorial than this vignette.
Printing your posters can be done by opening the generated HTML file in any modern browser and select the "print to PDF" functionality they incorporate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.