posterdown_memoir phased to posterdown_pdf
Fully-ish customised sizing of the poster and colours :partly_sunny:
diff --git a/.Rhistory b/.Rhistory
index 42d1eef..1973fdb 100644
--- a/.Rhistory
+++ b/.Rhistory
@@ -1,16 +1,3 @@
-theme_pander() +
-NULL
-library(ggplot2)
-library(ggspatial)
-library(ggthemes)
-library(sf)
-canada <- read_sf("data/Canada.geojson")
-ggplot() +
-ggspatial::layer_spatial(canada, fill = "grey") +
-coord_sf() +
-theme_dark() +
-NULL
-library(ggplot2)
library(ggspatial)
library(ggthemes)
library(sf)
@@ -510,3 +497,16 @@
library(posterdown)
library(posterdown)
library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
+roxygen2::roxygenise()
+library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
+library(posterdown)
diff --git a/.Rproj.user/441ADA46/pcs/files-pane.pper b/.Rproj.user/441ADA46/pcs/files-pane.pper
index f64994e..de6e98a 100644
--- a/.Rproj.user/441ADA46/pcs/files-pane.pper
+++ b/.Rproj.user/441ADA46/pcs/files-pane.pper
@@ -1,11 +1,15 @@
{
- "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton",
+ "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton",
"sortOrder" : [
{
"ascending" : false,
"columnIndex" : 1
},
{
+ "ascending" : false,
+ "columnIndex" : 3
+ },
+ {
"ascending" : true,
"columnIndex" : 2
}
diff --git a/.Rproj.user/441ADA46/pcs/source-pane.pper b/.Rproj.user/441ADA46/pcs/source-pane.pper
index 70829f6..3249574 100644
--- a/.Rproj.user/441ADA46/pcs/source-pane.pper
+++ b/.Rproj.user/441ADA46/pcs/source-pane.pper
@@ -1,3 +1,3 @@
{
- "activeTab" : 1
+ "activeTab" : 2
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/persistent-state b/.Rproj.user/441ADA46/persistent-state
index ed65d27..431a782 100644
--- a/.Rproj.user/441ADA46/persistent-state
+++ b/.Rproj.user/441ADA46/persistent-state
@@ -1,6 +1,6 @@
build-last-errors="[]"
build-last-errors-base-dir="~/Documents/GitHub/posterdown/"
-build-last-outputs="[{\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source posterdown\\n\\n\",\"type\":0},{\"output\":\"* installing to library ‘/home/thornux/R/x86_64-pc-linux-gnu-library/3.5’\\n\",\"type\":1},{\"output\":\"* installing *source* package ‘posterdown’ ...\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** R\\n\",\"type\":1},{\"output\":\"** inst\\n\",\"type\":1},{\"output\":\"** byte-compile and prepare package for lazy loading\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** help\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"** building package indices\\n\",\"type\":1},{\"output\":\"** testing if installed package can be loaded\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* DONE (posterdown)\\n\",\"type\":1},{\"output\":\"\",\"type\":1}]"
+build-last-outputs="[{\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source posterdown\\n\\n\",\"type\":0},{\"output\":\"* installing to library ‘/home/thornux/R/x86_64-pc-linux-gnu-library/3.5’\\n\",\"type\":1},{\"output\":\"* installing *source* package ‘posterdown’ ...\\n\",\"type\":1},{\"output\":\"** R\\n\",\"type\":1},{\"output\":\"** inst\\n\",\"type\":1},{\"output\":\"** byte-compile and prepare package for lazy loading\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** help\\n\",\"type\":1},{\"output\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"** building package indices\\n\",\"type\":1},{\"output\":\"** testing if installed package can be loaded\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* DONE (posterdown)\\n\",\"type\":1},{\"output\":\"\",\"type\":1}]"
compile_pdf_state="{\"errors\":[],\"output\":\"\",\"running\":false,\"tab_visible\":false,\"target_file\":\"\"}"
files.monitored-path=""
find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":true,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOff\":[],\"matchOn\":[]},\"running\":false}"
diff --git a/.Rproj.user/441ADA46/rmd-outputs b/.Rproj.user/441ADA46/rmd-outputs
index 13d6ff5..6f7cac4 100644
--- a/.Rproj.user/441ADA46/rmd-outputs
+++ b/.Rproj.user/441ADA46/rmd-outputs
@@ -1,7 +1,6 @@
-~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf
-~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf
-~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf
-~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf
+~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.pdf
+~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.pdf
+~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.pdf
diff --git a/.Rproj.user/441ADA46/sources/per/t/17EB0B2C b/.Rproj.user/441ADA46/sources/per/t/17EB0B2C
deleted file mode 100644
index 78297c3..0000000
--- a/.Rproj.user/441ADA46/sources/per/t/17EB0B2C
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "collab_server" : "",
- "contents" : "",
- "created" : 1546655069603.000,
- "dirty" : false,
- "encoding" : "UTF-8",
- "folds" : "",
- "hash" : "1250255014",
- "id" : "17EB0B2C",
- "lastKnownWriteTime" : 1546662558,
- "last_content_update" : 1546662558199,
- "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/resources/template.tex",
- "project_path" : "inst/rmarkdown/templates/posterdown_memoir/resources/template.tex",
- "properties" : {
- "cursorPosition" : "177,11",
- "scrollLine" : "161"
- },
- "relative_order" : 1,
- "source_on_save" : false,
- "source_window" : "",
- "type" : "tex"
-}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/per/t/27AE7CA7 b/.Rproj.user/441ADA46/sources/per/t/27AE7CA7
new file mode 100644
index 0000000..3f4b3a0
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/per/t/27AE7CA7
@@ -0,0 +1,22 @@
+{
+ "collab_server" : "",
+ "contents" : "",
+ "created" : 1546701554859.000,
+ "dirty" : false,
+ "encoding" : "UTF-8",
+ "folds" : "",
+ "hash" : "4238849555",
+ "id" : "27AE7CA7",
+ "lastKnownWriteTime" : 1546700391,
+ "last_content_update" : 1546700391,
+ "path" : "~/Documents/GitHub/posterdown/R/posterdown_pdf.R",
+ "project_path" : "R/posterdown_pdf.R",
+ "properties" : {
+ "cursorPosition" : "0,23",
+ "scrollLine" : "0"
+ },
+ "relative_order" : 2,
+ "source_on_save" : false,
+ "source_window" : "",
+ "type" : "r_source"
+}
\ No newline at end of file
diff --git a/R/posterdown_memoir.R b/.Rproj.user/441ADA46/sources/per/t/27AE7CA7-contents
similarity index 78%
copy from R/posterdown_memoir.R
copy to .Rproj.user/441ADA46/sources/per/t/27AE7CA7-contents
index 6b3d781..06f5bd7 100644
--- a/R/posterdown_memoir.R
+++ b/.Rproj.user/441ADA46/sources/per/t/27AE7CA7-contents
@@ -14,9 +14,9 @@
#' }
#'
#' @export
-posterdown_memoir <- function(..., keep_tex = TRUE) {
+posterdown_pdf <- function(..., keep_tex = TRUE) {
inherit_pdf_document(...,
keep_tex = keep_tex,
- template = find_resource("posterdown_memoir", "template.tex"),
+ template = find_resource("posterdown_pdf", "template.tex"),
citation_package = "biblatex")
}
diff --git a/.Rproj.user/441ADA46/sources/per/t/5101BFD8 b/.Rproj.user/441ADA46/sources/per/t/5101BFD8
new file mode 100644
index 0000000..f506e4f
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/per/t/5101BFD8
@@ -0,0 +1,22 @@
+{
+ "collab_server" : "",
+ "contents" : "",
+ "created" : 1546701584380.000,
+ "dirty" : false,
+ "encoding" : "UTF-8",
+ "folds" : "",
+ "hash" : "163849752",
+ "id" : "5101BFD8",
+ "lastKnownWriteTime" : 1546702482,
+ "last_content_update" : 1546702482555,
+ "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
+ "project_path" : "inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
+ "properties" : {
+ "cursorPosition" : "37,9",
+ "scrollLine" : "26"
+ },
+ "relative_order" : 3,
+ "source_on_save" : false,
+ "source_window" : "",
+ "type" : "r_markdown"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/per/t/8D52C53E-contents b/.Rproj.user/441ADA46/sources/per/t/5101BFD8-contents
similarity index 76%
rename from .Rproj.user/441ADA46/sources/per/t/8D52C53E-contents
rename to .Rproj.user/441ADA46/sources/per/t/5101BFD8-contents
index 8477a82..60b14f7 100644
--- a/.Rproj.user/441ADA46/sources/per/t/8D52C53E-contents
+++ b/.Rproj.user/441ADA46/sources/per/t/5101BFD8-contents
@@ -1,32 +1,43 @@
---
-#-YAML FRONTMATTER-#
+#----ESSENTIALS----#
+title: 'Using `posterdown` to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > Latex > PDF workflow'
+author: "Author One^1^ Author Two^2^"
+department: "^1^Department of Poster Layouts, University of Markdown; ^2^Deparment of Another Institution, Institution University"
-#ESSENTIALS
-title: 'Using \color{Red} `posterdown` \color{White} to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > Latex > PDF workflow as well as long titles...'
-author: "Brent Thorne^1^ Will Jones^2^"
-department: "^1^Department of Earth Science, Brock University; ^2^Deparment of Another Institution, Institution University"
+#----FONT STYLE----#
+font_size: "30pt" #sets '\normalsize' (sizes of the title and sections headings will adjust based on it)
+font_family: "courier" # choose from typical latex fonts (example: "palatino")
-#COLOURS
-font_size: "30pt" # choose from the folowing options)
-title_bgcol: "000000" #Hex colour for background of poster title section (default is blue)
-poster_bgcol: "000000" #colour of the poster main background
+#----COLOURS----#
+title_bgcol: "000000" #Hex colour for background of poster title section (default is blue)
+poster_bgcol: "white" #colour of the poster main background
+title_textcol: "red" #colour of title text
header_textcol: "red" #colour of the poster header titles
+cite_col: "green" #colour of ciation elements
+url_col: "cyan" #colour of url links
+link_col: "cyan" #colour of other links within the poster
+columnline_col: "blue" #colour
-
-#FORMATTING
+#----POSTER SIZE & COLUMN NUMBERS----#
poster_height: "38in" # height in inches of poster
poster_width: "45in" # width in inches of poster
column_numbers: 3 # Number of columns that the poster has
-#OTHER
+#----OTHER----#
bibliography: MyLibrary # name of the .bib file used for referencing
-output: posterdown::posterdown_memoir
+output: posterdown::posterdown_pdf
---
```{r, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, results = 'asis',fig.height = 3.5, fig.width = 4.5, out.width = "100%", warning = FALSE, fig.align = 'center', message = FALSE, dev='cairo_pdf')
```
+<!--
+Bellow you will find typical RMarkdown syntax which should fill in the columns for the poster from top to bottom left to right. The more information you have the more will be filled. Please let me know if you have feedback at brentthorne18@gmail.com or at github.com/brentthorne/posterdown
+
+ENJOY! XD
+-->
+
# Introduction
Welcome to `posterdown` ! This is my attempt to provide a semi-smooth workflow for those who wish to take their `RMarkdown` skills to the conference world. Many creature comforts from `RMarkdown` are available in this package such as `Markdown` section notation, figure captioning, and even citations like this one [@holden_identifying_2012] The rest of this example poster will show how you can insert typical conference poster features into your own document.
@@ -137,10 +148,11 @@
There is still **A LOT** of work to do on this package which include (but are note limited to):
-- Better softcoding for front end user options in YAML such as `posterwidth: 45in`.
+- Better softcoding for front end user options in YAML
- Images in the title section for logo placement which is a common attribut to posters as far as I have come to know.
- Figure out compatiability with `natbib` which wasn't working during the initial set up.
- MUCH BETTER PACKAGE DOCUMENTATION. For example, there is nothing in the README...
- Include References section only if initiated by the user like in RMarkdown.
+<!--- Here you can set the size of the citation text -->
\small
diff --git a/.Rproj.user/441ADA46/sources/per/t/8D52C53E b/.Rproj.user/441ADA46/sources/per/t/8D52C53E
deleted file mode 100644
index 43291b3..0000000
--- a/.Rproj.user/441ADA46/sources/per/t/8D52C53E
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "collab_server" : "",
- "contents" : "",
- "created" : 1546655126360.000,
- "dirty" : false,
- "encoding" : "UTF-8",
- "folds" : "25|21|27|0|\n37|137|53|0|\n",
- "hash" : "2863314759",
- "id" : "8D52C53E",
- "lastKnownWriteTime" : 1546662714,
- "last_content_update" : 1546662714805,
- "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.Rmd",
- "project_path" : "inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.Rmd",
- "properties" : {
- "cursorPosition" : "22,37",
- "scrollLine" : "9"
- },
- "relative_order" : 2,
- "source_on_save" : false,
- "source_window" : "",
- "type" : "r_markdown"
-}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/per/t/FA0F97ED b/.Rproj.user/441ADA46/sources/per/t/FA0F97ED
new file mode 100644
index 0000000..d67c991
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/per/t/FA0F97ED
@@ -0,0 +1,22 @@
+{
+ "collab_server" : "",
+ "contents" : "",
+ "created" : 1546701469011.000,
+ "dirty" : false,
+ "encoding" : "UTF-8",
+ "folds" : "",
+ "hash" : "2844328823",
+ "id" : "FA0F97ED",
+ "lastKnownWriteTime" : 1546701744,
+ "last_content_update" : 1546701744901,
+ "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
+ "project_path" : "inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
+ "properties" : {
+ "cursorPosition" : "146,28",
+ "scrollLine" : "139"
+ },
+ "relative_order" : 1,
+ "source_on_save" : false,
+ "source_window" : "",
+ "type" : "tex"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/per/t/17EB0B2C-contents b/.Rproj.user/441ADA46/sources/per/t/FA0F97ED-contents
similarity index 89%
rename from .Rproj.user/441ADA46/sources/per/t/17EB0B2C-contents
rename to .Rproj.user/441ADA46/sources/per/t/FA0F97ED-contents
index 635b13c..87ae68e 100644
--- a/.Rproj.user/441ADA46/sources/per/t/17EB0B2C-contents
+++ b/.Rproj.user/441ADA46/sources/per/t/FA0F97ED-contents
@@ -23,6 +23,7 @@
\usepackage{float}
\usepackage{colortbl}
\usepackage{pdflscape}
+\usepackage{pagecolor}
\usepackage{tabu}
\usepackage{threeparttable}
\usepackage{threeparttablex}
@@ -32,22 +33,18 @@
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
- linkcolor=blue,
- citecolor=red,
+ linkcolor=$link_col$,
+ citecolor=$cite_col$,
filecolor=magenta,
- urlcolor=cyan,
+ urlcolor=$url_col$,
}
-% Maybe Define a department param in the YAML??????
+%Maybe Define a department param in the YAML
\def\department#1{\gdef \@department{#1}}
-
$if(department)$
\department{$department$}
$endif$
-
-
-
%For figure and table placement
\usepackage{float}
\floatplacement{figure}{H}
@@ -61,9 +58,9 @@
%define column options
\setlength{\columnseprule}{1pt}
-\def\columnseprulecolor{\color{red}}
-\setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style
-\setsecheadstyle{\small\color{red}}
+\def\columnseprulecolor{\color{$columnline_col$}}
+\setsubsubsecheadstyle{\small\color{$header_textcol$}\textbf}% Set \section style
+\setsecheadstyle{\small\color{$header_textcol$}}
\setsecnumformat{}
\def\sectionmark#1{\markboth{#1}{#1}}
@@ -110,8 +107,6 @@
\setlength\floatsep{0.3in}
\setlength\intextsep{0.3in}
-
-
\setstocksize{$poster_height$}{$poster_width$}
\settrimmedsize{\stockheight}{\stockwidth}{*}
\settypeblocksize{$poster_height$}{$poster_width$}{*}
@@ -131,7 +126,7 @@
\mdfdefinestyle{brentsmdfstyle}{%
backgroundcolor=myframecolour,
- linecolor=Red,
+ linecolor= $columnline_col$,
topline=false,
leftline=false,
rightline=false,
@@ -147,9 +142,9 @@
$highlighting-macros$
$endif$
-\usepackage{palatino}
+\usepackage{$font_family$}
\renewcommand*\familydefault{\sfdefault}
-
+\newpagecolor{$poster_bgcol$}
%begin the document
\begin{document}
@@ -162,7 +157,7 @@
% Used instead of \maketitle for better spacing options
\begingroup
\centering
- \color{White}
+ \color{$title_textcol$}
\vspace{0.5in}
\Huge{$title$} \\[0.3in]
\color{cyan} \Large{$author$} \\[0.2in]
diff --git a/.Rproj.user/441ADA46/sources/prop/358A3C65 b/.Rproj.user/441ADA46/sources/prop/358A3C65
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/358A3C65
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/3F353B4B b/.Rproj.user/441ADA46/sources/prop/3F353B4B
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/3F353B4B
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/461F75BC b/.Rproj.user/441ADA46/sources/prop/461F75BC
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/461F75BC
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/4B35A6C8 b/.Rproj.user/441ADA46/sources/prop/4B35A6C8
index b818b7b..14fb6c5 100644
--- a/.Rproj.user/441ADA46/sources/prop/4B35A6C8
+++ b/.Rproj.user/441ADA46/sources/prop/4B35A6C8
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "22,37",
- "scrollLine" : "9"
+ "cursorPosition" : "27,34",
+ "scrollLine" : "19"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/60EAAA4E b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
new file mode 100644
index 0000000..75a68c1
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "37,9",
+ "scrollLine" : "26"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/6CC86257 b/.Rproj.user/441ADA46/sources/prop/6CC86257
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/6CC86257
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/93AF88EC b/.Rproj.user/441ADA46/sources/prop/93AF88EC
index 57ecc62..151c7ac 100644
--- a/.Rproj.user/441ADA46/sources/prop/93AF88EC
+++ b/.Rproj.user/441ADA46/sources/prop/93AF88EC
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "177,11",
- "scrollLine" : "161"
+ "cursorPosition" : "157,17",
+ "scrollLine" : "153"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/AAD9DB44 b/.Rproj.user/441ADA46/sources/prop/AAD9DB44
new file mode 100644
index 0000000..e3568cd
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/AAD9DB44
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "0,23",
+ "scrollLine" : "0"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/AE6C9F23 b/.Rproj.user/441ADA46/sources/prop/AE6C9F23
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/AE6C9F23
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/B68389EB b/.Rproj.user/441ADA46/sources/prop/B68389EB
new file mode 100644
index 0000000..09d4086
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/B68389EB
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "146,28",
+ "scrollLine" : "139"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/INDEX b/.Rproj.user/441ADA46/sources/prop/INDEX
index 35ce752..f817e8d 100644
--- a/.Rproj.user/441ADA46/sources/prop/INDEX
+++ b/.Rproj.user/441ADA46/sources/prop/INDEX
@@ -1,12 +1,20 @@
~%2FDocuments%2FGitHub%2FThesis%2FCarbon%2FCarbon.Rmd="50D2217A"
~%2FDocuments%2FGitHub%2Fposterdown%2F.travis.yml="F60D855F"
+~%2FDocuments%2FGitHub%2Fposterdown%2FDESCRIPTION="AE6C9F23"
~%2FDocuments%2FGitHub%2Fposterdown%2FNAMESPACE="FB6BF66"
+~%2FDocuments%2FGitHub%2Fposterdown%2FR%2Fposterdown.R="6CC86257"
~%2FDocuments%2FGitHub%2Fposterdown%2FR%2Fposterdown_memoir.R="B888931F"
+~%2FDocuments%2FGitHub%2Fposterdown%2FR%2Fposterdown_pdf.R="AAD9DB44"
+~%2FDocuments%2FGitHub%2Fposterdown%2FR%2Futils.R="461F75BC"
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fresources%2Ftemplate.tex="69C6113C"
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Fskeleton.Rmd="7449E372"
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Fskeleton.tex="98408570"
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_memoir%2Fresources%2Ftemplate.tex="93AF88EC"
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_memoir%2Fskeleton%2Fskeleton.Rmd="4B35A6C8"
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_memoir%2Ftemplate.yaml="C0564A5B"
+~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_pdf%2Fresources%2Ftemplate.tex="B68389EB"
+~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_pdf%2Fskeleton%2Fskeleton.Rmd="60EAAA4E"
+~%2FDocuments%2FGitHub%2Fposterdown%2Fman%2Fposterdown.Rd="3F353B4B"
+~%2FDocuments%2FGitHub%2Fposterdown%2Fman%2Fposterdown_pdf.Rd="358A3C65"
~%2FTemplates%2FUntitled%2FUntitled.Rmd="5A12846A"
~%2FUntitled%2FUntitled.Rmd="D3D80052"
diff --git a/.Rproj.user/shared/notebooks/3308F0A6-skeleton/1/441ADA46AB746D43/chunks.json b/.Rproj.user/shared/notebooks/3308F0A6-skeleton/1/441ADA46AB746D43/chunks.json
deleted file mode 100644
index c296a9f..0000000
--- a/.Rproj.user/shared/notebooks/3308F0A6-skeleton/1/441ADA46AB746D43/chunks.json
+++ /dev/null
@@ -1 +0,0 @@
-{"chunk_definitions":[],"doc_write_time":1546655131}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/3308F0A6-skeleton/1/s/chunks.json b/.Rproj.user/shared/notebooks/3308F0A6-skeleton/1/s/chunks.json
deleted file mode 100644
index c296a9f..0000000
--- a/.Rproj.user/shared/notebooks/3308F0A6-skeleton/1/s/chunks.json
+++ /dev/null
@@ -1 +0,0 @@
-{"chunk_definitions":[],"doc_write_time":1546655131}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/441ADA4645FFFECF/chunks.json b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/441ADA4645FFFECF/chunks.json
new file mode 100644
index 0000000..1034f5c
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/441ADA4645FFFECF/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[],"doc_write_time":1546701775}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json
new file mode 100644
index 0000000..1034f5c
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[],"doc_write_time":1546701775}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/paths b/.Rproj.user/shared/notebooks/paths
index 284832a..fc44ab3 100644
--- a/.Rproj.user/shared/notebooks/paths
+++ b/.Rproj.user/shared/notebooks/paths
@@ -1,4 +1,9 @@
/home/thornux/Documents/GitHub/posterdown/.travis.yml="AC207F74"
+/home/thornux/Documents/GitHub/posterdown/DESCRIPTION="5126C3DC"
/home/thornux/Documents/GitHub/posterdown/NAMESPACE="52C9A54"
-/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/resources/template.tex="8EE571C"
-/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.Rmd="3308F0A6"
+/home/thornux/Documents/GitHub/posterdown/R/posterdown.R="500497F6"
+/home/thornux/Documents/GitHub/posterdown/R/posterdown_pdf.R="A4294514"
+/home/thornux/Documents/GitHub/posterdown/R/utils.R="FF95E6E6"
+/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd="A381DD33"
+/home/thornux/Documents/GitHub/posterdown/man/posterdown.Rd="3FC573D3"
+/home/thornux/Documents/GitHub/posterdown/man/posterdown_pdf.Rd="852322F4"
diff --git a/NAMESPACE b/NAMESPACE
index 462c2e1..448b9ce 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -1,6 +1,6 @@
# Generated by roxygen2: do not edit by hand
-export(posterdown_memoir)
+export(posterdown_pdf)
import(devtools)
import(dplyr)
import(ggplot2)
diff --git a/R/posterdown_memoir.R b/R/posterdown_pdf.R
similarity index 79%
rename from R/posterdown_memoir.R
rename to R/posterdown_pdf.R
index 6b3d781..06f5bd7 100644
--- a/R/posterdown_memoir.R
+++ b/R/posterdown_pdf.R
@@ -14,9 +14,9 @@
#' }
#'
#' @export
-posterdown_memoir <- function(..., keep_tex = TRUE) {
+posterdown_pdf <- function(..., keep_tex = TRUE) {
inherit_pdf_document(...,
keep_tex = keep_tex,
- template = find_resource("posterdown_memoir", "template.tex"),
+ template = find_resource("posterdown_pdf", "template.tex"),
citation_package = "biblatex")
}
diff --git a/inst/rmarkdown/templates/posterdown_memoir/resources/template.tex b/inst/rmarkdown/templates/posterdown_memoir/resources/template.tex
deleted file mode 100644
index 635b13c..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/resources/template.tex
+++ /dev/null
@@ -1,185 +0,0 @@
-%brent's poster layout :)
-
-\documentclass[article,$font_size$,extrafontsizes]{memoir}
-
-%utf-8 seems to be important
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
-\usepackage{multicol}
-\usepackage{graphicx}
-\usepackage{blindtext}
-\usepackage[svgnames,table]{xcolor}
-\usepackage[framemethod=tikz]{mdframed}
-\usepackage{color}
-\usepackage{geometry}
-\usepackage{adjmulticol}
-
-%For kable extra package :)
-\usepackage{booktabs}
-\usepackage{longtable}
-\usepackage{array}
-\usepackage{multirow}
-\usepackage{wrapfig}
-\usepackage{float}
-\usepackage{colortbl}
-\usepackage{pdflscape}
-\usepackage{tabu}
-\usepackage{threeparttable}
-\usepackage{threeparttablex}
-\usepackage[normalem]{ulem}
-\usepackage{makecell}
-
-\usepackage{hyperref}
-\hypersetup{
- colorlinks=true,
- linkcolor=blue,
- citecolor=red,
- filecolor=magenta,
- urlcolor=cyan,
-}
-
-% Maybe Define a department param in the YAML??????
-\def\department#1{\gdef \@department{#1}}
-
-$if(department)$
-\department{$department$}
-$endif$
-
-
-
-
-%For figure and table placement
-\usepackage{float}
-\floatplacement{figure}{H}
-\floatplacement{table}{H}
-
-%spacing between figure/ table and caption
-\setlength{\abovecaptionskip}{0.4in}
-\setlength{\belowcaptionskip}{0.2in}
-\captionnamefont{\footnotesize\sffamily\bfseries}
-\captiontitlefont{\footnotesize\sffamily}
-
-%define column options
-\setlength{\columnseprule}{1pt}
-\def\columnseprulecolor{\color{red}}
-\setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style
-\setsecheadstyle{\small\color{red}}
-\setsecnumformat{}
-\def\sectionmark#1{\markboth{#1}{#1}}
-
-%-----------------------------------------------------
-
-\thispagestyle{empty}
-\definecolor{light-gray}{gray}{0.9}
-
-%biblatex options
-\usepackage[sorting=none,backend=biber]{biblatex}
-\renewcommand*{\bibfont}{\tiny}
-\bibliography{$bibliography$}
-\defbibheading{bibliography}[\bibname]{%
-\section*{#1}%
-\markboth{#1}{#1}}
-\AtBeginDocument{%
- \renewcommand{\bibname}{References}
-}
-
-%bring in the users information
-\author{$author$}
-\title{$title$}
-\counterwithout{section}{chapter}
-\makechapterstyle{mydefault}{
-\addtocounter{secnumdepth}{2}
-\setsecheadstyle{\Large\color{$header_textcol$}\textbf}
-\setsubsecheadstyle{\itshape}
-\setsubsubsecheadstyle{\itshape}
-}
-
-\chapterstyle{mydefault}
-
-%define column spacing
-\setlength\columnsep{1in}
-
-\setlength\parindent{1em}
-\setlength\parskip{1em}
-\setlength\hangparas{0}
-
-%spacing after section head title
-\setaftersecskip{0.3in}
-\setbeforesecskip{1in}
-\setlength\textfloatsep{0.3in}
-\setlength\floatsep{0.3in}
-\setlength\intextsep{0.3in}
-
-
-
-\setstocksize{$poster_height$}{$poster_width$}
-\settrimmedsize{\stockheight}{\stockwidth}{*}
-\settypeblocksize{$poster_height$}{$poster_width$}{*}
-\setlrmargins{*}{*}{1}
-\setulmarginsandblock{2.5cm}{*}{*}
-\setmarginnotes{0em}{0cm}{0cm}
-\setlength{\footskip}{0cm}
-\setlength{\footnotesep}{0cm}
-\setlength{\headheight}{0pt}
-\setlength{\headsep}{0pt}
-\setlength{\trimtop}{0pt}
-\setlength{\trimedge}{0pt}
-\setlength{\uppermargin}{0pt}
-\checkandfixthelayout
-
-\definecolor{myframecolour}{HTML}{$title_bgcol$}
-
-\mdfdefinestyle{brentsmdfstyle}{%
- backgroundcolor=myframecolour,
- linecolor=Red,
- topline=false,
- leftline=false,
- rightline=false,
- linewidth=2mm,
- settings={\definecolor{linkcolor}{RGB}{255,255,255}}}
-
-%Footnote to white
-\usepackage{footmisc}
-\def\footnotelayout{\centering\color{white}}
-
-% see https://stackoverflow.com/a/47122900
-$if(highlighting-macros)$
-$highlighting-macros$
-$endif$
-
-\usepackage{palatino}
-\renewcommand*\familydefault{\sfdefault}
-
-%begin the document
-\begin{document}
-
-\begin{mdframed}[style=brentsmdfstyle]
-%sets footnote to be white hopefully
-\renewcommand\footnoterule{}
-\renewcommand{\thempfootnote}{\footnotesize\color{red}{\arabic{mpfootnote}}}
-
-% group which adds title author and other infor
-% Used instead of \maketitle for better spacing options
-\begingroup
- \centering
- \color{White}
-\vspace{0.5in}
- \Huge{$title$} \\[0.3in]
- \color{cyan} \Large{$author$} \\[0.2in]
- \color{white} \large{$department$} \par
- \vspace{0.2in}
-
-% end title section -------------------
- \endgroup
-\end{mdframed}
-
-% Brgin body of poster
-\begin{adjmulticols*}{$column_numbers$}{10mm}{10mm}
-\normalsize{
-\color{black}
-$body$
-\printbibliography
-}
-\end{adjmulticols*}
-%end the poster
-\end{document}
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf
deleted file mode 100644
index 460deed..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.pdf
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.tex b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.tex
deleted file mode 100644
index ddce1a0..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.tex
+++ /dev/null
@@ -1,393 +0,0 @@
-%brent's poster layout :)
-
-\documentclass[article,30pt,extrafontsizes]{memoir}
-
-%utf-8 seems to be important
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
-\usepackage{multicol}
-\usepackage{graphicx}
-\usepackage{blindtext}
-\usepackage[svgnames,table]{xcolor}
-\usepackage[framemethod=tikz]{mdframed}
-\usepackage{color}
-\usepackage{geometry}
-\usepackage{adjmulticol}
-
-%For kable extra package :)
-\usepackage{booktabs}
-\usepackage{longtable}
-\usepackage{array}
-\usepackage{multirow}
-\usepackage{wrapfig}
-\usepackage{float}
-\usepackage{colortbl}
-\usepackage{pdflscape}
-\usepackage{tabu}
-\usepackage{threeparttable}
-\usepackage{threeparttablex}
-\usepackage[normalem]{ulem}
-\usepackage{makecell}
-
-\usepackage{hyperref}
-\hypersetup{
- colorlinks=true,
- linkcolor=blue,
- citecolor=red,
- filecolor=magenta,
- urlcolor=cyan,
-}
-
-% Maybe Define a department param in the YAML??????
-\def\department#1{\gdef \@department{#1}}
-
-\department{\textsuperscript{1}Department of Earth Science, Brock University;
-\textsuperscript{2}Deparment of Another Institution, Institution
-University}
-
-
-
-
-%For figure and table placement
-\usepackage{float}
-\floatplacement{figure}{H}
-\floatplacement{table}{H}
-
-%spacing between figure/ table and caption
-\setlength{\abovecaptionskip}{0.4in}
-\setlength{\belowcaptionskip}{0.2in}
-\captionnamefont{\footnotesize\sffamily\bfseries}
-\captiontitlefont{\footnotesize\sffamily}
-
-%define column options
-\setlength{\columnseprule}{1pt}
-\def\columnseprulecolor{\color{red}}
-\setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style
-\setsecheadstyle{\small\color{red}}
-\setsecnumformat{}
-\def\sectionmark#1{\markboth{#1}{#1}}
-
-%-----------------------------------------------------
-
-\thispagestyle{empty}
-\definecolor{light-gray}{gray}{0.9}
-
-%biblatex options
-\usepackage[sorting=none,backend=biber]{biblatex}
-\renewcommand*{\bibfont}{\tiny}
-\bibliography{MyLibrary}
-\defbibheading{bibliography}[\bibname]{%
-\section*{#1}%
-\markboth{#1}{#1}}
-\AtBeginDocument{%
- \renewcommand{\bibname}{References}
-}
-
-%bring in the users information
-\author{Brent Thorne\textsuperscript{1} Will Jones\textsuperscript{2}}
-\title{Using \color{Red} \texttt{posterdown} \color{White} to generate
-reproducible conference posters via RMarkdown \textgreater{} Knitr
-\textgreater{} Markdown \textgreater{} Pandoc \textgreater{} Latex
-\textgreater{} PDF workflow as well as long titles\ldots{}}
-\counterwithout{section}{chapter}
-\makechapterstyle{mydefault}{
-\addtocounter{secnumdepth}{2}
-\setsecheadstyle{\Large\color{red}\textbf}
-\setsubsecheadstyle{\itshape}
-\setsubsubsecheadstyle{\itshape}
-}
-
-\chapterstyle{mydefault}
-
-%define column spacing
-\setlength\columnsep{1in}
-
-\setlength\parindent{1em}
-\setlength\parskip{1em}
-\setlength\hangparas{0}
-
-%spacing after section head title
-\setaftersecskip{0.3in}
-\setbeforesecskip{1in}
-\setlength\textfloatsep{0.3in}
-\setlength\floatsep{0.3in}
-\setlength\intextsep{0.3in}
-
-
-
-\setstocksize{38in}{45in}
-\settrimmedsize{\stockheight}{\stockwidth}{*}
-\settypeblocksize{38in}{45in}{*}
-\setlrmargins{*}{*}{1}
-\setulmarginsandblock{2.5cm}{*}{*}
-\setmarginnotes{0em}{0cm}{0cm}
-\setlength{\footskip}{0cm}
-\setlength{\footnotesep}{0cm}
-\setlength{\headheight}{0pt}
-\setlength{\headsep}{0pt}
-\setlength{\trimtop}{0pt}
-\setlength{\trimedge}{0pt}
-\setlength{\uppermargin}{0pt}
-\checkandfixthelayout
-
-\definecolor{myframecolour}{HTML}{000000}
-
-\mdfdefinestyle{brentsmdfstyle}{%
- backgroundcolor=myframecolour,
- linecolor=Red,
- topline=false,
- leftline=false,
- rightline=false,
- linewidth=2mm,
- settings={\definecolor{linkcolor}{RGB}{255,255,255}}}
-
-%Footnote to white
-\usepackage{footmisc}
-\def\footnotelayout{\centering\color{white}}
-
-% see https://stackoverflow.com/a/47122900
-\usepackage{color}
-\usepackage{fancyvrb}
-\newcommand{\VerbBar}{|}
-\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
-\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
-% Add ',fontsize=\small' for more characters per line
-\usepackage{framed}
-\definecolor{shadecolor}{RGB}{248,248,248}
-\newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}}
-\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{#1}}}
-\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{#1}}
-\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}}
-\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}}
-\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}}
-\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
-\newcommand{\CharTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
-\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
-\newcommand{\StringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
-\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
-\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
-\newcommand{\ImportTok}[1]{#1}
-\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{#1}}}
-\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
-\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
-\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
-\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{#1}}
-\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
-\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
-\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{#1}}}
-\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.81,0.36,0.00}{\textbf{#1}}}
-\newcommand{\BuiltInTok}[1]{#1}
-\newcommand{\ExtensionTok}[1]{#1}
-\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{#1}}}
-\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.77,0.63,0.00}{#1}}
-\newcommand{\RegionMarkerTok}[1]{#1}
-\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
-\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
-\newcommand{\AlertTok}[1]{\textcolor[rgb]{0.94,0.16,0.16}{#1}}
-\newcommand{\ErrorTok}[1]{\textcolor[rgb]{0.64,0.00,0.00}{\textbf{#1}}}
-\newcommand{\NormalTok}[1]{#1}
-
-\usepackage{palatino}
-\renewcommand*\familydefault{\sfdefault}
-
-%begin the document
-\begin{document}
-
-\begin{mdframed}[style=brentsmdfstyle]
-%sets footnote to be white hopefully
-\renewcommand\footnoterule{}
-\renewcommand{\thempfootnote}{\footnotesize\color{red}{\arabic{mpfootnote}}}
-
-% group which adds title author and other infor
-% Used instead of \maketitle for better spacing options
-\begingroup
- \centering
- \color{White}
-\vspace{0.5in}
- \Huge{Using \color{Red} \texttt{posterdown} \color{White} to generate
-reproducible conference posters via RMarkdown \textgreater{} Knitr
-\textgreater{} Markdown \textgreater{} Pandoc \textgreater{} Latex
-\textgreater{} PDF workflow as well as long titles\ldots{}} \\[0.3in]
- \color{cyan} \Large{Brent Thorne\textsuperscript{1} Will Jones\textsuperscript{2}} \\[0.2in]
- \color{white} \large{\textsuperscript{1}Department of Earth Science, Brock University;
-\textsuperscript{2}Deparment of Another Institution, Institution
-University} \par
- \vspace{0.2in}
-
-% end title section -------------------
- \endgroup
-\end{mdframed}
-
-% Brgin body of poster
-\begin{adjmulticols*}{3}{10mm}{10mm}
-\normalsize{
-\color{black}
-\section{Introduction}\label{introduction}
-
-Welcome to \texttt{posterdown} ! This is my attempt to provide a
-semi-smooth workflow for those who wish to take their \texttt{RMarkdown}
-skills to the conference world. Many creature comforts from
-\texttt{RMarkdown} are available in this package such as
-\texttt{Markdown} section notation, figure captioning, and even
-citations like this one \autocite{holden_identifying_2012} The rest of
-this example poster will show how you can insert typical conference
-poster features into your own document.
-
-\section{Study Site}\label{study-site}
-
-Here is a map made to show the study site using \texttt{ggplot2},
-\texttt{ggspatial}, and \texttt{sf}. Lorem ipsum dolor sit amet,
-\autocite{middleton_geological_nodate} consectetur adipiscing elit, sed
-do eiusmod tempor incididunt ut labore et dolore magna aliqua. Phasellus
-vestibulum lorem sed risus ultricies tristique nulla. Mauris vitae
-ultricies leo integer malesuada nunc vel risus commodo. Suspendisse
-potenti nullam ac tortor vitae. Enim nunc faucibus a pellentesque sit
-amet porttitor eget. \vspace{15mm}
-
-\begin{figure}
-
-{\centering \includegraphics[width=0.8\linewidth]{skeleton_files/figure-latex/unnamed-chunk-2-1}
-
-}
-
-\caption{This is a map of Canada, the ggspatial package is great for GIS folks in R!}\label{fig:unnamed-chunk-2}
-\end{figure}
-
-\section{Objectives}\label{objectives}
-
-\large
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\tightlist
-\item
- Easy to use reproducible poster design.
-\item
- Integration with \texttt{RMarkdown}.
-\item
- Easy transition from \texttt{posterdown} to \texttt{thesisdown} or
- \texttt{rticles}
-\end{enumerate}
-
-\small
-
-\section{Methods}\label{methods}
-
-This package uses the same workflow approach as the \texttt{RMarkdown}
-you know and love. Basically it goes from RMarkdown \textgreater{} Knitr
-\textgreater{} Markdown \textgreater{} Pandoc \textgreater{} Latex
-\textgreater{} PDF
-
-\section{Results}\label{results}
-
-Usually you want to have a nice table displaying some important results
-that you have calcualated. In posterdown this is as easy as using the
-\texttt{kable} table formatting you are probably use to as per typical
-\texttt{RMarkdown} formatting. I suggesting checking out the
-\texttt{kableExtra} package and its in depth documentation on
-customizing these tables found
-\href{https://haozhu233.github.io/kableExtra/awesome_table_in_pdf.pdf}{here}.
-
-\rowcolors{2}{gray!6}{white}
-
-\begin{table}
-
-\caption{\label{tab:unnamed-chunk-3}Tables are a breeze with Kable and Kable extra package!}
-\centering
-\fontsize{25}{27}\selectfont
-\begin{tabu} to \linewidth {>{\centering}X>{\centering}X>{\centering}X>{\centering}X>{\centering}X}
-\hiderowcolors
-\toprule
-Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
-\midrule
-\showrowcolors
-5.1 & 3.5 & 1.4 & 0.2 & setosa\\
-4.9 & 3.0 & 1.4 & 0.2 & setosa\\
-4.7 & 3.2 & 1.3 & 0.2 & setosa\\
-4.6 & 3.1 & 1.5 & 0.2 & setosa\\
-\bottomrule
-\end{tabu}
-\end{table}
-
-\rowcolors{2}{white}{white}
-
-\vspace{1in}
-
-\begin{figure}
-
-{\centering \includegraphics[width=0.75\linewidth]{skeleton_files/figure-latex/unnamed-chunk-4-1}
-
-}
-
-\caption{A typical plot using ggplot using the classic iris dataset.}\label{fig:unnamed-chunk-4}
-\end{figure}
-
-\vspace{1in}
-
-\begin{figure}
-
-{\centering \includegraphics[width=0.85\linewidth]{skeleton_files/figure-latex/unnamed-chunk-5-1}
-
-}
-
-\caption{Another typical plot using ggplot, this time with a different theme and r code chunk options for fig.width and fig.height.}\label{fig:unnamed-chunk-5}
-\end{figure}
-
-\vspace{1in}
-
-\begin{Shaded}
-\begin{Highlighting}[]
-\CommentTok{# Here is some code for people}
-\CommentTok{# to look at and be in awe of!!!!}
-\KeywordTok{library}\NormalTok{(ggplot2)}
-\KeywordTok{library}\NormalTok{(ggthemes)}
-
-\KeywordTok{ggplot}\NormalTok{(}\DataTypeTok{data=}\NormalTok{iris,}
- \KeywordTok{aes}\NormalTok{(}\DataTypeTok{x =}\NormalTok{ Sepal.Width,}
- \DataTypeTok{y =}\NormalTok{ Sepal.Length,}
- \DataTypeTok{colour =}\NormalTok{ Species)) }\OperatorTok{+}
-\StringTok{ }\KeywordTok{geom_point}\NormalTok{() }\OperatorTok{+}
-\StringTok{ }\KeywordTok{theme_stata}\NormalTok{() }\OperatorTok{+}
-\StringTok{ }\OtherTok{NULL}
-\end{Highlighting}
-\end{Shaded}
-
-\begin{figure}
-
-{\centering \includegraphics[width=0.8\linewidth]{skeleton_files/figure-latex/unnamed-chunk-6-1}
-
-}
-
-\caption{Another figure showing how base R plots might look on this poster!}\label{fig:unnamed-chunk-6}
-\end{figure}
-
-\section{Next Steps}\label{next-steps}
-
-There is still \textbf{A LOT} of work to do on this package which
-include (but are note limited to):
-
-\begin{itemize}
-\tightlist
-\item
- Better softcoding for front end user options in YAML such as
- \texttt{posterwidth:\ 45in}.
-\item
- Images in the title section for logo placement which is a common
- attribut to posters as far as I have come to know.
-\item
- Figure out compatiability with \texttt{natbib} which wasn't working
- during the initial set up.
-\item
- MUCH BETTER PACKAGE DOCUMENTATION. For example, there is nothing in
- the README\ldots{}
-\item
- Include References section only if initiated by the user like in
- RMarkdown.
-\end{itemize}
-
-\small
-\printbibliography
-}
-\end{adjmulticols*}
-%end the poster
-\end{document}
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/__packages b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/__packages
deleted file mode 100644
index 663d793..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/__packages
+++ /dev/null
@@ -1,11 +0,0 @@
-base
-methods
-datasets
-utils
-grDevices
-graphics
-stats
-ggplot2
-ggspatial
-ggthemes
-sf
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.RData b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.RData
deleted file mode 100644
index 71f0126..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.RData
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.rdb b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.rdb
deleted file mode 100644
index 0ba91fd..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.rdb
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.rdx b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.rdx
deleted file mode 100644
index 025c0d3..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_cache/latex/unnamed-chunk-2_3301430026f0abb3845c8ac8a11926c1.rdx
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-2-1.pdf b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-2-1.pdf
deleted file mode 100644
index 97fe439..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-2-1.pdf
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-4-1.pdf b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-4-1.pdf
deleted file mode 100644
index 314b5b2..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-4-1.pdf
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-5-1.pdf b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-5-1.pdf
deleted file mode 100644
index d9a89ff..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-5-1.pdf
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-6-1.pdf b/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-6-1.pdf
deleted file mode 100644
index 7fa65a4..0000000
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton_files/figure-latex/unnamed-chunk-6-1.pdf
+++ /dev/null
Binary files differ
diff --git a/.Rproj.user/441ADA46/sources/per/t/17EB0B2C-contents b/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
similarity index 89%
copy from .Rproj.user/441ADA46/sources/per/t/17EB0B2C-contents
copy to inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
index 635b13c..87ae68e 100644
--- a/.Rproj.user/441ADA46/sources/per/t/17EB0B2C-contents
+++ b/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
@@ -23,6 +23,7 @@
\usepackage{float}
\usepackage{colortbl}
\usepackage{pdflscape}
+\usepackage{pagecolor}
\usepackage{tabu}
\usepackage{threeparttable}
\usepackage{threeparttablex}
@@ -32,22 +33,18 @@
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
- linkcolor=blue,
- citecolor=red,
+ linkcolor=$link_col$,
+ citecolor=$cite_col$,
filecolor=magenta,
- urlcolor=cyan,
+ urlcolor=$url_col$,
}
-% Maybe Define a department param in the YAML??????
+%Maybe Define a department param in the YAML
\def\department#1{\gdef \@department{#1}}
-
$if(department)$
\department{$department$}
$endif$
-
-
-
%For figure and table placement
\usepackage{float}
\floatplacement{figure}{H}
@@ -61,9 +58,9 @@
%define column options
\setlength{\columnseprule}{1pt}
-\def\columnseprulecolor{\color{red}}
-\setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style
-\setsecheadstyle{\small\color{red}}
+\def\columnseprulecolor{\color{$columnline_col$}}
+\setsubsubsecheadstyle{\small\color{$header_textcol$}\textbf}% Set \section style
+\setsecheadstyle{\small\color{$header_textcol$}}
\setsecnumformat{}
\def\sectionmark#1{\markboth{#1}{#1}}
@@ -110,8 +107,6 @@
\setlength\floatsep{0.3in}
\setlength\intextsep{0.3in}
-
-
\setstocksize{$poster_height$}{$poster_width$}
\settrimmedsize{\stockheight}{\stockwidth}{*}
\settypeblocksize{$poster_height$}{$poster_width$}{*}
@@ -131,7 +126,7 @@
\mdfdefinestyle{brentsmdfstyle}{%
backgroundcolor=myframecolour,
- linecolor=Red,
+ linecolor= $columnline_col$,
topline=false,
leftline=false,
rightline=false,
@@ -147,9 +142,9 @@
$highlighting-macros$
$endif$
-\usepackage{palatino}
+\usepackage{$font_family$}
\renewcommand*\familydefault{\sfdefault}
-
+\newpagecolor{$poster_bgcol$}
%begin the document
\begin{document}
@@ -162,7 +157,7 @@
% Used instead of \maketitle for better spacing options
\begingroup
\centering
- \color{White}
+ \color{$title_textcol$}
\vspace{0.5in}
\Huge{$title$} \\[0.3in]
\color{cyan} \Large{$author$} \\[0.2in]
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/Figures/figure1_map.pdf b/inst/rmarkdown/templates/posterdown_pdf/skeleton/Figures/figure1_map.pdf
similarity index 100%
rename from inst/rmarkdown/templates/posterdown_memoir/skeleton/Figures/figure1_map.pdf
rename to inst/rmarkdown/templates/posterdown_pdf/skeleton/Figures/figure1_map.pdf
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/Figures/figure2.pdf b/inst/rmarkdown/templates/posterdown_pdf/skeleton/Figures/figure2.pdf
similarity index 100%
rename from inst/rmarkdown/templates/posterdown_memoir/skeleton/Figures/figure2.pdf
rename to inst/rmarkdown/templates/posterdown_pdf/skeleton/Figures/figure2.pdf
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/MyLibrary.bib b/inst/rmarkdown/templates/posterdown_pdf/skeleton/MyLibrary.bib
similarity index 100%
rename from inst/rmarkdown/templates/posterdown_memoir/skeleton/MyLibrary.bib
rename to inst/rmarkdown/templates/posterdown_pdf/skeleton/MyLibrary.bib
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/data/Canada.geojson b/inst/rmarkdown/templates/posterdown_pdf/skeleton/data/Canada.geojson
similarity index 100%
rename from inst/rmarkdown/templates/posterdown_memoir/skeleton/data/Canada.geojson
rename to inst/rmarkdown/templates/posterdown_pdf/skeleton/data/Canada.geojson
diff --git a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
similarity index 76%
rename from inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.Rmd
rename to inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
index 8477a82..60b14f7 100644
--- a/inst/rmarkdown/templates/posterdown_memoir/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
@@ -1,32 +1,43 @@
---
-#-YAML FRONTMATTER-#
+#----ESSENTIALS----#
+title: 'Using `posterdown` to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > Latex > PDF workflow'
+author: "Author One^1^ Author Two^2^"
+department: "^1^Department of Poster Layouts, University of Markdown; ^2^Deparment of Another Institution, Institution University"
-#ESSENTIALS
-title: 'Using \color{Red} `posterdown` \color{White} to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > Latex > PDF workflow as well as long titles...'
-author: "Brent Thorne^1^ Will Jones^2^"
-department: "^1^Department of Earth Science, Brock University; ^2^Deparment of Another Institution, Institution University"
+#----FONT STYLE----#
+font_size: "30pt" #sets '\normalsize' (sizes of the title and sections headings will adjust based on it)
+font_family: "courier" # choose from typical latex fonts (example: "palatino")
-#COLOURS
-font_size: "30pt" # choose from the folowing options)
-title_bgcol: "000000" #Hex colour for background of poster title section (default is blue)
-poster_bgcol: "000000" #colour of the poster main background
+#----COLOURS----#
+title_bgcol: "000000" #Hex colour for background of poster title section (default is blue)
+poster_bgcol: "white" #colour of the poster main background
+title_textcol: "red" #colour of title text
header_textcol: "red" #colour of the poster header titles
+cite_col: "green" #colour of ciation elements
+url_col: "cyan" #colour of url links
+link_col: "cyan" #colour of other links within the poster
+columnline_col: "blue" #colour
-
-#FORMATTING
+#----POSTER SIZE & COLUMN NUMBERS----#
poster_height: "38in" # height in inches of poster
poster_width: "45in" # width in inches of poster
column_numbers: 3 # Number of columns that the poster has
-#OTHER
+#----OTHER----#
bibliography: MyLibrary # name of the .bib file used for referencing
-output: posterdown::posterdown_memoir
+output: posterdown::posterdown_pdf
---
```{r, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, results = 'asis',fig.height = 3.5, fig.width = 4.5, out.width = "100%", warning = FALSE, fig.align = 'center', message = FALSE, dev='cairo_pdf')
```
+<!--
+Bellow you will find typical RMarkdown syntax which should fill in the columns for the poster from top to bottom left to right. The more information you have the more will be filled. Please let me know if you have feedback at brentthorne18@gmail.com or at github.com/brentthorne/posterdown
+
+ENJOY! XD
+-->
+
# Introduction
Welcome to `posterdown` ! This is my attempt to provide a semi-smooth workflow for those who wish to take their `RMarkdown` skills to the conference world. Many creature comforts from `RMarkdown` are available in this package such as `Markdown` section notation, figure captioning, and even citations like this one [@holden_identifying_2012] The rest of this example poster will show how you can insert typical conference poster features into your own document.
@@ -137,10 +148,11 @@
There is still **A LOT** of work to do on this package which include (but are note limited to):
-- Better softcoding for front end user options in YAML such as `posterwidth: 45in`.
+- Better softcoding for front end user options in YAML
- Images in the title section for logo placement which is a common attribut to posters as far as I have come to know.
- Figure out compatiability with `natbib` which wasn't working during the initial set up.
- MUCH BETTER PACKAGE DOCUMENTATION. For example, there is nothing in the README...
- Include References section only if initiated by the user like in RMarkdown.
+<!--- Here you can set the size of the citation text -->
\small
diff --git a/inst/rmarkdown/templates/posterdown_memoir/template.yaml b/inst/rmarkdown/templates/posterdown_pdf/template.yaml
similarity index 100%
rename from inst/rmarkdown/templates/posterdown_memoir/template.yaml
rename to inst/rmarkdown/templates/posterdown_pdf/template.yaml
diff --git a/man/posterdown_memoir.Rd b/man/posterdown_pdf.Rd
similarity index 79%
rename from man/posterdown_memoir.Rd
rename to man/posterdown_pdf.Rd
index f903bca..add1004 100644
--- a/man/posterdown_memoir.Rd
+++ b/man/posterdown_pdf.Rd
@@ -1,10 +1,10 @@
% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/posterdown_memoir.R
-\name{posterdown_memoir}
-\alias{posterdown_memoir}
+% Please edit documentation in R/posterdown_pdf.R
+\name{posterdown_pdf}
+\alias{posterdown_pdf}
\title{Posterdown PDF format (using 'memoir' document class)}
\usage{
-posterdown_memoir(..., keep_tex = TRUE)
+posterdown_pdf(..., keep_tex = TRUE)
}
\arguments{
\item{...}{Additional arguments to \code{rmarkdown::pdf_document}}