Initial commit
diff --git a/.RData b/.RData
new file mode 100644
index 0000000..cc15262
--- /dev/null
+++ b/.RData
Binary files differ
diff --git a/.Rbuildignore b/.Rbuildignore
new file mode 100644
index 0000000..91114bf
--- /dev/null
+++ b/.Rbuildignore
@@ -0,0 +1,2 @@
+^.*\.Rproj$
+^\.Rproj\.user$
diff --git a/.Rhistory b/.Rhistory
new file mode 100644
index 0000000..4b32c87
--- /dev/null
+++ b/.Rhistory
@@ -0,0 +1,9 @@
+install.packages("roxygen2")
+?roxygen()
+library(roxygen2)
+?roxygenise
+roxygenise()
+roxygenise()
+library(roxygen2)
+roxygenise()
+roxygen2::roxygenise()
diff --git a/.Rproj.user/5271889B/console06/INDEX001 b/.Rproj.user/5271889B/console06/INDEX001
new file mode 100644
index 0000000..0637a08
--- /dev/null
+++ b/.Rproj.user/5271889B/console06/INDEX001
@@ -0,0 +1 @@
+[]
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/cpp-definition-cache b/.Rproj.user/5271889B/cpp-definition-cache
new file mode 100644
index 0000000..32960f8
--- /dev/null
+++ b/.Rproj.user/5271889B/cpp-definition-cache
@@ -0,0 +1,2 @@
+[
+]
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/pcs/files-pane.pper b/.Rproj.user/5271889B/pcs/files-pane.pper
new file mode 100644
index 0000000..7fcea6c
--- /dev/null
+++ b/.Rproj.user/5271889B/pcs/files-pane.pper
@@ -0,0 +1,13 @@
+{
+ "path" : "~/GitHub/posterdown",
+ "sortOrder" : [
+ {
+ "ascending" : true,
+ "columnIndex" : 1
+ },
+ {
+ "ascending" : true,
+ "columnIndex" : 2
+ }
+ ]
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/pcs/source-pane.pper b/.Rproj.user/5271889B/pcs/source-pane.pper
new file mode 100644
index 0000000..70829f6
--- /dev/null
+++ b/.Rproj.user/5271889B/pcs/source-pane.pper
@@ -0,0 +1,3 @@
+{
+ "activeTab" : 1
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/pcs/windowlayoutstate.pper b/.Rproj.user/5271889B/pcs/windowlayoutstate.pper
new file mode 100644
index 0000000..3165b4c
--- /dev/null
+++ b/.Rproj.user/5271889B/pcs/windowlayoutstate.pper
@@ -0,0 +1,14 @@
+{
+ "left" : {
+ "panelheight" : 778,
+ "splitterpos" : 326,
+ "topwindowstate" : "NORMAL",
+ "windowheight" : 816
+ },
+ "right" : {
+ "panelheight" : 778,
+ "splitterpos" : 606,
+ "topwindowstate" : "NORMAL",
+ "windowheight" : 816
+ }
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/pcs/workbench-pane.pper b/.Rproj.user/5271889B/pcs/workbench-pane.pper
new file mode 100644
index 0000000..0e24b84
--- /dev/null
+++ b/.Rproj.user/5271889B/pcs/workbench-pane.pper
@@ -0,0 +1,6 @@
+{
+ "TabSet1" : 0,
+ "TabSet2" : 0,
+ "TabZoom" : {
+ }
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/rmd-outputs b/.Rproj.user/5271889B/rmd-outputs
new file mode 100644
index 0000000..3f2ff2d
--- /dev/null
+++ b/.Rproj.user/5271889B/rmd-outputs
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/.Rproj.user/5271889B/saved_source_markers b/.Rproj.user/5271889B/saved_source_markers
new file mode 100644
index 0000000..2b1bef1
--- /dev/null
+++ b/.Rproj.user/5271889B/saved_source_markers
@@ -0,0 +1 @@
+{"active_set":"","sets":[]}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/per/t/128808D6 b/.Rproj.user/5271889B/sources/per/t/128808D6
new file mode 100644
index 0000000..e7cb17a
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/per/t/128808D6
@@ -0,0 +1,22 @@
+{
+ "collab_server" : "",
+ "contents" : "",
+ "created" : 1543600005256.000,
+ "dirty" : false,
+ "encoding" : "UTF-8",
+ "folds" : "",
+ "hash" : "3377968616",
+ "id" : "128808D6",
+ "lastKnownWriteTime" : 1543596974,
+ "last_content_update" : 1543596974,
+ "path" : "~/GitHub/posterdown/R/posterdown_render.R",
+ "project_path" : "R/posterdown_render.R",
+ "properties" : {
+ "cursorPosition" : "11,51",
+ "scrollLine" : "0"
+ },
+ "relative_order" : 2,
+ "source_on_save" : false,
+ "source_window" : "",
+ "type" : "r_source"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/per/t/128808D6-contents b/.Rproj.user/5271889B/sources/per/t/128808D6-contents
new file mode 100644
index 0000000..826348c
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/per/t/128808D6-contents
@@ -0,0 +1,38 @@
+#' Creates an R Markdown PDF Thesis document
+#'
+#' This is a function called in output in the YAML of the driver Rmd file
+#' to specify using the Brock University LaTeX template and cls files.
+#'
+#' @export
+#'
+#' @param toc A Boolean (TRUE or FALSE) specifying where table of contents should be created
+#' @param toc_depth A positive integer
+#' @param ... arguments to be passed to \code{rmarkdown::\link[rmarkdown]{pdf_document}}
+#'
+#' @return A modified \code{pdf_document} based on the Jacobs Landscape Poster Latex template
+#' @note The arguments highlight, keep_tex, and pandoc_args, are already set.
+#' @examples
+#' \dontrun{
+#' output: posterdown::poster_pdf
+#' }
+poster_pdf <- function(toc = TRUE, toc_depth = 3, ...){
+
+ base <- rmarkdown::pdf_document(template = "template.tex",
+ toc = toc,
+ toc_depth = toc_depth,
+ highlight = "default",
+ keep_tex = TRUE,
+ pandoc_args = "--top-level-division=default",
+ ...)
+
+ # Mostly copied from knitr::render_sweave
+ base$knitr$opts_chunk$comment <- NA
+ base$knitr$opts_chunk$fig.align <- "center"
+ base$knitr$opts_chunk$out.width <- "80%"
+ base$knitr$opts_knit$root.dir <- getwd()
+ # Not sure if needed?
+ base$knitr$knit_hooks$plot <- knitr:::hook_plot_tex
+
+ base
+
+}
diff --git a/.Rproj.user/5271889B/sources/per/t/84A3D5D7 b/.Rproj.user/5271889B/sources/per/t/84A3D5D7
new file mode 100644
index 0000000..c59cf6f
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/per/t/84A3D5D7
@@ -0,0 +1,22 @@
+{
+ "collab_server" : "",
+ "contents" : "",
+ "created" : 1543600121884.000,
+ "dirty" : false,
+ "encoding" : "UTF-8",
+ "folds" : "",
+ "hash" : "0",
+ "id" : "84A3D5D7",
+ "lastKnownWriteTime" : 1543600140,
+ "last_content_update" : 1543600140744,
+ "path" : "~/GitHub/posterdown/NAMESPACE",
+ "project_path" : "NAMESPACE",
+ "properties" : {
+ "cursorPosition" : "0,0",
+ "scrollLine" : "0"
+ },
+ "relative_order" : 3,
+ "source_on_save" : false,
+ "source_window" : "",
+ "type" : "r_namespace"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/per/t/84A3D5D7-contents b/.Rproj.user/5271889B/sources/per/t/84A3D5D7-contents
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/per/t/84A3D5D7-contents
diff --git a/.Rproj.user/5271889B/sources/per/t/B67D8F1F b/.Rproj.user/5271889B/sources/per/t/B67D8F1F
new file mode 100644
index 0000000..c1825d2
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/per/t/B67D8F1F
@@ -0,0 +1,22 @@
+{
+ "collab_server" : "",
+ "contents" : "",
+ "created" : 1543599043690.000,
+ "dirty" : false,
+ "encoding" : "UTF-8",
+ "folds" : "",
+ "hash" : "2668853932",
+ "id" : "B67D8F1F",
+ "lastKnownWriteTime" : 1543599519,
+ "last_content_update" : 1543599519255,
+ "path" : "~/GitHub/posterdown/DESCRIPTION",
+ "project_path" : "DESCRIPTION",
+ "properties" : {
+ "cursorPosition" : "10,8",
+ "scrollLine" : "0"
+ },
+ "relative_order" : 1,
+ "source_on_save" : false,
+ "source_window" : "",
+ "type" : "dcf"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/per/t/B67D8F1F-contents b/.Rproj.user/5271889B/sources/per/t/B67D8F1F-contents
new file mode 100644
index 0000000..0d6141c
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/per/t/B67D8F1F-contents
@@ -0,0 +1,18 @@
+Package: posterdown
+Title: Generates PDF/ Latex posters using R Markdown and Beamer.
+Version: 0.1.0
+Authors@R: c(person(c("Thorne","B."), email = "brent.thorne18@gmail.com", role = c("aut","cre"))
+Description: Posterdown expands on RMarkdown to generate PDF conference posters.
+Currently it on outputs via Knitr Pandoc and Latex to a PDF output.
+License: MIT + file LICENSE
+Encoding: UTF-8
+LazyData: true
+Imports: yaml
+Depends:
+ R (>= 3.3.0),
+ devtools,
+ dplyr,
+ ggplot2,
+ rmarkdown,
+ knitr
+RoxygenNotes: 6.0.1
diff --git a/.Rproj.user/5271889B/sources/prop/1893EF1D b/.Rproj.user/5271889B/sources/prop/1893EF1D
new file mode 100644
index 0000000..60be87f
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/1893EF1D
@@ -0,0 +1,5 @@
+{
+ "cursorPosition" : "13,33",
+ "scrollLine" : "0",
+ "tempName" : "Untitled1"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/486BB65D b/.Rproj.user/5271889B/sources/prop/486BB65D
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/486BB65D
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/65543ACF b/.Rproj.user/5271889B/sources/prop/65543ACF
new file mode 100644
index 0000000..645ea5a
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/65543ACF
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "10,8",
+ "scrollLine" : "0"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/8CF03DEC b/.Rproj.user/5271889B/sources/prop/8CF03DEC
new file mode 100644
index 0000000..37ec96d
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/8CF03DEC
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "269,1",
+ "scrollLine" : "251"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/98ACF786 b/.Rproj.user/5271889B/sources/prop/98ACF786
new file mode 100644
index 0000000..306b2bb
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/98ACF786
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "0,0",
+ "scrollLine" : "0"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/A3DAAE74 b/.Rproj.user/5271889B/sources/prop/A3DAAE74
new file mode 100644
index 0000000..306b2bb
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/A3DAAE74
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "0,0",
+ "scrollLine" : "0"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/B9A5C895 b/.Rproj.user/5271889B/sources/prop/B9A5C895
new file mode 100644
index 0000000..631891e
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/B9A5C895
@@ -0,0 +1,5 @@
+{
+ "cursorPosition" : "12,16",
+ "scrollLine" : "0",
+ "tempName" : "Untitled1"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/C46B25C4 b/.Rproj.user/5271889B/sources/prop/C46B25C4
new file mode 100644
index 0000000..64efab4
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/C46B25C4
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "67,26",
+ "scrollLine" : "54"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/D96D40A b/.Rproj.user/5271889B/sources/prop/D96D40A
new file mode 100644
index 0000000..b1cb5cc
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/D96D40A
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "11,51",
+ "scrollLine" : "0"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/DE8104E6 b/.Rproj.user/5271889B/sources/prop/DE8104E6
new file mode 100644
index 0000000..36ad06d
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/DE8104E6
@@ -0,0 +1,4 @@
+{
+ "cursorPosition" : "36,13",
+ "scrollLine" : "29"
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/F3211CA6 b/.Rproj.user/5271889B/sources/prop/F3211CA6
new file mode 100644
index 0000000..7a73a41
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/F3211CA6
@@ -0,0 +1,2 @@
+{
+}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/prop/INDEX b/.Rproj.user/5271889B/sources/prop/INDEX
new file mode 100644
index 0000000..f5882dc
--- /dev/null
+++ b/.Rproj.user/5271889B/sources/prop/INDEX
@@ -0,0 +1,11 @@
+~%2FGitHub%2Fposterdown%2FDESCRIPTION="65543ACF"
+~%2FGitHub%2Fposterdown%2FNAMESPACE="98ACF786"
+~%2FGitHub%2Fposterdown%2FR%2Fhello.R="486BB65D"
+~%2FGitHub%2Fposterdown%2FR%2Fposterdown.R="B9A5C895"
+~%2FGitHub%2Fposterdown%2FR%2Fposterdown_render.R="D96D40A"
+~%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2F_posterdown.yml="A3DAAE74"
+~%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Fbeamerposter.sty="DE8104E6"
+~%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Fbeamerthemeconfposter.sty="8CF03DEC"
+~%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Fposterdown.cls="F3211CA6"
+~%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Fskelton.Rmd="1893EF1D"
+~%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_generic%2Fskeleton%2Ftemplate.tex="C46B25C4"
diff --git a/.Rproj.user/shared/notebooks/1DC7A49E-skelton/1/s/chunks.json b/.Rproj.user/shared/notebooks/1DC7A49E-skelton/1/s/chunks.json
new file mode 100644
index 0000000..b7fa505
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/1DC7A49E-skelton/1/s/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[],"doc_write_time":1543596423}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/patch-chunk-names b/.Rproj.user/shared/notebooks/patch-chunk-names
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/patch-chunk-names
diff --git a/.Rproj.user/shared/notebooks/paths b/.Rproj.user/shared/notebooks/paths
new file mode 100644
index 0000000..e4f3374
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/paths
@@ -0,0 +1,9 @@
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/DESCRIPTION="CB57B81F"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/NAMESPACE="8F62A8CA"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/R/posterdown.R="24568F96"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/R/posterdown_render.R="65322AD8"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerposter.sty="B8C7F93C"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerthemeconfposter.sty="30890214"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_generic/skeleton/posterdown.cls="64869B52"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_generic/skeleton/skelton.Rmd="1DC7A49E"
+C:/Users/Brent Thorne/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_generic/skeleton/template.tex="DB0EDF82"
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..dfe0770
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
diff --git a/DESCRIPTION b/DESCRIPTION
new file mode 100644
index 0000000..0d6141c
--- /dev/null
+++ b/DESCRIPTION
@@ -0,0 +1,18 @@
+Package: posterdown
+Title: Generates PDF/ Latex posters using R Markdown and Beamer.
+Version: 0.1.0
+Authors@R: c(person(c("Thorne","B."), email = "brent.thorne18@gmail.com", role = c("aut","cre"))
+Description: Posterdown expands on RMarkdown to generate PDF conference posters.
+Currently it on outputs via Knitr Pandoc and Latex to a PDF output.
+License: MIT + file LICENSE
+Encoding: UTF-8
+LazyData: true
+Imports: yaml
+Depends:
+ R (>= 3.3.0),
+ devtools,
+ dplyr,
+ ggplot2,
+ rmarkdown,
+ knitr
+RoxygenNotes: 6.0.1
diff --git a/NAMESPACE b/NAMESPACE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NAMESPACE
diff --git a/R/iflatex.R b/R/iflatex.R
new file mode 100644
index 0000000..35b1bef
--- /dev/null
+++ b/R/iflatex.R
@@ -0,0 +1,19 @@
+#' Return latex control text if rendering latex
+#'
+#' @param txt
+#'
+#' @return a string
+#' @export
+#'
+#' @examples
+#' \dontrun{
+#' iflatex("\\vspace*{\\fill}")
+#' }
+#'
+iflatex <- function(txt){
+ if (knitr::opts_knit$get("rmarkdown.pandoc.to") == "latex"){
+ return(txt)
+ } else {
+ return("")
+ }
+}
\ No newline at end of file
diff --git a/R/posterdown.R b/R/posterdown.R
new file mode 100644
index 0000000..4799c3c
--- /dev/null
+++ b/R/posterdown.R
@@ -0,0 +1,14 @@
+#' posterdown: A package for creating Rmarkdown based PDF Latex Posters
+#'
+#' This package creates posters for conferences
+#'
+#' @section poster_pdf:
+#' Creates an R Markdown template fo a PDF poster document
+#' @docType package
+#' @name posterndown
+#' @import rmarkdown
+#' @import devtools
+#' @import dplyr
+#' @import ggplot2
+#' @import knitr
+NULL
diff --git a/R/posterdown_render.R b/R/posterdown_render.R
new file mode 100644
index 0000000..826348c
--- /dev/null
+++ b/R/posterdown_render.R
@@ -0,0 +1,38 @@
+#' Creates an R Markdown PDF Thesis document
+#'
+#' This is a function called in output in the YAML of the driver Rmd file
+#' to specify using the Brock University LaTeX template and cls files.
+#'
+#' @export
+#'
+#' @param toc A Boolean (TRUE or FALSE) specifying where table of contents should be created
+#' @param toc_depth A positive integer
+#' @param ... arguments to be passed to \code{rmarkdown::\link[rmarkdown]{pdf_document}}
+#'
+#' @return A modified \code{pdf_document} based on the Jacobs Landscape Poster Latex template
+#' @note The arguments highlight, keep_tex, and pandoc_args, are already set.
+#' @examples
+#' \dontrun{
+#' output: posterdown::poster_pdf
+#' }
+poster_pdf <- function(toc = TRUE, toc_depth = 3, ...){
+
+ base <- rmarkdown::pdf_document(template = "template.tex",
+ toc = toc,
+ toc_depth = toc_depth,
+ highlight = "default",
+ keep_tex = TRUE,
+ pandoc_args = "--top-level-division=default",
+ ...)
+
+ # Mostly copied from knitr::render_sweave
+ base$knitr$opts_chunk$comment <- NA
+ base$knitr$opts_chunk$fig.align <- "center"
+ base$knitr$opts_chunk$out.width <- "80%"
+ base$knitr$opts_knit$root.dir <- getwd()
+ # Not sure if needed?
+ base$knitr$knit_hooks$plot <- knitr:::hook_plot_tex
+
+ base
+
+}
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6066e53
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+# posterdown
diff --git a/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerposter.sty b/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerposter.sty
new file mode 100644
index 0000000..33e9239
--- /dev/null
+++ b/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerposter.sty
@@ -0,0 +1,219 @@
+% Copyright 2007 by
+% Philippe Dreuw <dreuw@cs.rwth-aachen.de> and
+% Thomas Deselaers <deselaers@cs.rwth-aachen.de>
+% Slight modifications made in August 2009 by Nathaniel Johnston (nathaniel@nathanieljohnston.com)
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+%
+% ChangeLog:
+%
+% 1.07 - bugfixed custom size handling, portrait or landscape settings are ignored now
+% 1.06 - added the type1cm package for scalable math fonts
+% 1.05 - added version check for xkeyval package
+% 1.04 - added custom size handling
+% 1.03 - improved predefined size handling
+% 1.02 - minor bugfixes
+% 1.01 - bugfixed size handling
+% 1.00 - first beamerposter release
+%
+\def\beamerposter@version{1.07}
+\def\beamerposter@date{2008/03/11}
+\def\beamerposter@msg{beamerposter: latex-beamer poster extension}
+\typeout{Package: \beamerposter@date. v.\beamerposter@version. \beamerposter@msg}
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamerposter}[\beamerposter@date. v.\beamerposter@version. \beamerposter@msg]
+\RequirePackage{xkeyval}[2006/11/18]
+\RequirePackage{type1cm} %% get it from ftp://cam.ctan.org/tex-archive/macros/latex/contrib/type1cm.zip
+
+\newif\ifportrait
+\newif\ifcustomsize
+\newif\ifdebug
+
+\DeclareOptionX{size}[a0]{
+ \typeout{beamerposter: checking size input, please wait.}
+ \XKV@cc*+[\val\nr]{#1}{a0b,a0,a1,a2,a3,a4,custom}{%
+ \typeout{beamerposter: the input \val\ \nr\ was correct, we proceed.}
+ \ifcase\nr\relax
+ %a0b
+ \setlength{\paperwidth}{119cm}
+ \setlength{\paperheight}{88cm}
+ \setlength{\textwidth}{116cm}
+ \setlength{\textheight}{88cm}
+ \or
+ %a0
+ \setlength{\paperwidth}{118.82cm}
+ \setlength{\paperheight}{83.96cm}
+ \setlength{\textwidth}{117.82cm}
+ \setlength{\textheight}{82.96cm}
+ \or
+ %a1
+ \setlength{\paperwidth}{83.96cm}
+ \setlength{\paperheight}{59.4cm}
+ \setlength{\textwidth}{82.96cm}
+ \setlength{\textheight}{58.4cm}
+ \or
+ %a2
+ \setlength{\paperwidth}{59.4cm}
+ \setlength{\paperheight}{41.98cm}
+ \setlength{\textwidth}{58.4cm}
+ \setlength{\textheight}{40.98cm}
+ \or
+ %a3
+ \setlength{\paperwidth}{41.98cm}
+ \setlength{\paperheight}{29.7cm}
+ \setlength{\textwidth}{40.98cm}
+ \setlength{\textheight}{28.7cm}
+ \or
+ %a4
+ \setlength{\paperwidth}{29.7cm}
+ \setlength{\paperheight}{21.0cm}
+ \setlength{\textwidth}{28.7cm}
+ \setlength{\textheight}{20.0cm}
+ \or
+ \customsizetrue
+ \fi
+ }{%
+ \PackageWarning{beamerposter}{the input \val\ was incorrect and was ignored.}
+ }%
+ \typeout{beamerposter: finished size input check.}
+}
+\DeclareOptionX{orientation}[portrait]{
+ \typeout{beamerposter: checking orientation input, please wait.}
+ \XKV@cc*+[\val\nr]{#1}{portrait,landscape}{%
+ \typeout{beamerposter: the input \val\ \nr\ was correct, we proceed.}
+ \ifcase\nr\relax
+ \portraittrue
+ \or
+ \portraitfalse
+ \fi
+ }{%
+ \PackageWarning{beamerposter}{the input \val\ was incorrect and was ignored.}
+ }%
+ \typeout{beamerposter: finished orientation check.}
+}
+\DeclareOptionX{scale}[1.0]{\edef\myfontscale{#1}\typeout{beamerposter: myfontscale=\myfontscale}}
+\DeclareOptionX{width}{\edef\customwidth{#1}\typeout{beamerposter: custom poster width=\customwidth}}
+\DeclareOptionX{height}{\edef\customheight{#1}\typeout{beamerposter: custom poster height=\customheight}}
+\DeclareOptionX{debug}{\typeout{beamerposter: enabled debug mode}\debugtrue}
+\DeclareOptionX*{\PackageWarning{beamerposter}{Unknown option ignored: \CurrentOption}}
+%\DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{beamer}}
+\ExecuteOptionsX{size=a0,scale=1.0}
+\ProcessOptionsX\relax
+
+\ifdebug
+ \RequirePackage[debug]{fp}
+\else
+ \RequirePackage{fp}
+\fi
+
+%% swap sizes for portrait orientation
+\ifportrait
+ \newdimen\tmp
+ \setlength{\tmp}{\paperwidth}
+ \setlength{\paperwidth}{\paperheight}
+ \setlength{\paperheight}{\tmp}
+ \setlength{\tmp}{\textwidth}
+ \setlength{\textwidth}{\textheight}
+ \setlength{\textheight}{\tmp}
+\else\relax
+\fi
+
+%% overwrite dimensions if custom size
+\ifcustomsize
+ \setlength{\paperwidth}{\customwidth cm}
+ \setlength{\paperheight}{\customheight cm}
+ \FPupn{\resulttextwidth}{1 customwidth -}
+ \FPupn{\resulttextheight}{1 customheight -}
+ \setlength{\textwidth}{\resulttextwidth cm}
+ \setlength{\textheight}{\resulttextheight cm}
+\fi
+
+%% Setting proper dimensions for a DIN A0 printer
+\setlength{\headheight}{0 cm}
+\setlength{\headsep}{0 cm}
+\setlength{\topmargin}{-12.7 mm} % -1in +1.47cm
+\setlength{\oddsidemargin}{-25.4 mm} % -1in +0.4cm
+
+%% For the page layout
+\ifdebug
+\typeout{beamerposter: paperwidth=\the\paperwidth, paperheight=\the\paperheight}
+\typeout{beamerposter: textwidth=\the\textwidth, textwidth=\the\textheight}
+\fi
+\geometry{
+ paperwidth=\the\paperwidth,
+ paperheight=\the\paperheight,
+ hmargin=1cm,%
+ vmargin=0cm,%
+ head=0.5cm, %
+ headsep=0pt,%
+ foot=0.5cm %
+}
+
+%% scalable vector fonts
+\edef\fontSizeX{14.4}\edef\fontSizeY{18}
+\FPupn{\resultscriptsizeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultscriptsizeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\tiny}{\fontsize{\resultscriptsizeX}{\resultscriptsizeY}\selectfont}
+
+\edef\fontSizeX{17.28}\edef\fontSizeY{22}
+\FPupn{\resultfootnotesizeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultfootnotesizeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\scriptsize}{\fontsize{\resultfootnotesizeX}{\resultfootnotesizeY}\selectfont}
+
+\edef\fontSizeX{20.74}\edef\fontSizeY{25}
+\FPupn{\resultsmallX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultsmallY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\footnotesize}{\fontsize{\resultsmallX}{\resultsmallY}\selectfont}
+
+\edef\fontSizeX{24.88}\edef\fontSizeY{30}
+\FPupn{\resultnormalsizeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultnormalsizeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\small}{\fontsize{\resultnormalsizeX}{\resultnormalsizeY}\selectfont}
+
+\edef\fontSizeX{29.86}\edef\fontSizeY{37}
+\FPupn{\resultlargeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultlargeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\normalsize}{\fontsize{\resultlargeX}{\resultlargeY}\selectfont}
+
+\edef\fontSizeX{35.83}\edef\fontSizeY{45}
+\FPupn{\resultLargeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultLargeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\large}{\fontsize{\resultLargeX}{\resultLargeY}\selectfont}
+
+\edef\fontSizeX{43}\edef\fontSizeY{54}
+\FPupn{\resultLARGEX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultLARGEY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\Large}{\fontsize{\resultLARGEX}{\resultLARGEY}\selectfont}
+
+\edef\fontSizeX{51.6}\edef\fontSizeY{64}
+\FPupn{\resulthugeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resulthugeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\LARGE}{\fontsize{\resulthugeX}{\resulthugeY}\selectfont}
+
+\edef\fontSizeX{61.92}\edef\fontSizeY{77}
+\FPupn{\resultHugeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultHugeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\huge}{\fontsize{\resultHugeX}{\resultHugeY}\selectfont}
+
+\edef\fontSizeX{74.3}\edef\fontSizeY{93}
+\FPupn{\resultveryHugeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultveryHugeY}{myfontscale fontSizeY * 2 round}
+\renewcommand*{\Huge}{\fontsize{\resultveryHugeX}{\resultveryHugeY}\selectfont}
+
+\edef\fontSizeX{80.3}\edef\fontSizeY{101}
+\FPupn{\resultVeryHugeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultVeryHugeY}{myfontscale fontSizeY * 2 round}
+\newcommand*{\veryHuge}{\fontsize{\resultVeryHugeX}{\resultVeryHugeY}\selectfont}
+
+\edef\fontSizeX{107}\edef\fontSizeY{134}
+\FPupn{\resultVERYHugeX}{myfontscale fontSizeX * 2 round}
+\FPupn{\resultVERYHugeY}{myfontscale fontSizeY * 2 round}
+\newcommand*{\VeryHuge}{\fontsize{\resultVERYHugeX}{\resultVERYHugeY}\selectfont}
+
+% set the normalfont (default)
+\renewcommand*{\normalfont}{\normalsize}
diff --git a/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerthemeconfposter.sty b/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerthemeconfposter.sty
new file mode 100644
index 0000000..cf19152
--- /dev/null
+++ b/inst/rmarkdown/templates/posterdown_generic/skeleton/beamerthemeconfposter.sty
@@ -0,0 +1,276 @@
+%==============================================================================
+% Beamer style for the poster template posted at
+% http://www.nathanieljohnston.com/2009/08/latex-poster-template/
+%
+% Created by the Computational Physics and Biophysics Group at Jacobs University
+% https://teamwork.jacobs-university.de:8443/confluence/display/CoPandBiG/LaTeX+Poster
+% Modified by Nathaniel Johnston (nathaniel@nathanieljohnston.com) in August 2009
+% =============================================================================
+
+\ProvidesPackage{beamerthemeconfposter}
+\RequirePackage{tikz} % for drawing the nice rounded boxes
+\usetikzlibrary{arrows,backgrounds}
+\RequirePackage[T1]{fontenc}
+\RequirePackage{lmodern}
+\usepackage{exscale}
+\RequirePackage{textcomp}
+\RequirePackage{amsmath,amssymb}
+\usefonttheme{professionalfonts}
+\newcommand{\makeruleinbox}{{\usebeamercolor[bg]{block alerted title}\centering\hspace*{-0.7cm}\rule{\inboxrule}{0.5cm}}}
+\usepackage{ragged2e}
+
+% Spacing before and inside list environments to add white space before lists and between items inside lists
+\makeatletter
+\def\@listi{\leftmargin\leftmarginii
+\topsep 1ex % Spacing before lists
+\parsep 0\p@ \@plus\p@
+\itemsep 6pt} % Spacing between items
+\makeatother
+
+\usecaptiontemplate{\small\structure{\insertcaptionname~\insertcaptionnumber: }\insertcaption} % A fix for figure numbering
+
+%-----------------------------------------------------------
+% Define a whole bunch of custom colours and fonts
+%-----------------------------------------------------------
+
+\definecolor{lgreen} {RGB}{180,210,100}
+\definecolor{dblue} {RGB}{20,66,129}
+\definecolor{ddblue} {RGB}{11,36,69}
+\definecolor{lred} {RGB}{220,0,0}
+\definecolor{nred} {RGB}{224,0,0}
+\definecolor{norange}{RGB}{230,120,20}
+\definecolor{nyellow}{RGB}{255,221,0}
+\definecolor{ngreen} {RGB}{98,158,31}
+\definecolor{dgreen} {RGB}{78,138,21}
+\definecolor{nblue} {RGB}{28,130,185}
+\definecolor{jblue} {RGB}{20,50,100}
+
+
+%----------------------------------------------------------------------------
+% More colours added due to conflict with Colordvi package
+% Addition done by Nishan Mudalige (math.mudalige@uoguelph.ca) in April 2011
+%----------------------------------------------------------------------------
+
+\definecolor{GreenYellow} {RGB}{217, 229, 6} % GreenYellow Approximate PANTONE 388
+\definecolor{Yellow} {RGB}{254, 223, 0} % Yellow Approximate PANTONE YELLOW
+\definecolor{Goldenrod} {RGB}{249, 214, 22} % Goldenrod Approximate PANTONE 109
+\definecolor{Dandelion} {RGB}{253, 200, 47} % Dandelion Approximate PANTONE 123
+\definecolor{Apricot} {RGB}{255, 170, 123} % Apricot Approximate PANTONE 1565
+\definecolor{Peach} {RGB}{255, 127, 69} % Peach Approximate PANTONE 164
+\definecolor{Melon} {RGB}{255, 129, 141} % Melon Approximate PANTONE 177
+\definecolor{YellowOrange} {RGB}{240, 171, 0} % YellowOrange Approximate PANTONE 130
+\definecolor{Orange} {RGB}{255, 88, 0} % Orange Approximate PANTONE ORANGE-021
+\definecolor{BurntOrange} {RGB}{199, 98, 43} % BurntOrange Approximate PANTONE 388
+\definecolor{Bittersweet} {RGB}{189, 79, 25} % Bittersweet Approximate PANTONE 167
+\definecolor{RedOrange} {RGB}{222, 56, 49} % RedOrange Approximate PANTONE 179
+\definecolor{Mahogany} {RGB}{152, 50, 34} % Mahogany Approximate PANTONE 484
+\definecolor{Maroon} {RGB}{152, 30, 50} % Maroon Approximate PANTONE 201
+\definecolor{BrickRed} {RGB}{170, 39, 47} % BrickRed Approximate PANTONE 1805
+\definecolor{Red} {RGB}{255, 0, 0} % Red Approx PANTONE LUMINOUS VIVID RED
+\definecolor{BrilliantRed} {RGB}{237, 41, 57} % Red VERY-Approx PANTONE RED
+\definecolor{OrangeRed} {RGB}{231, 58, 0} % OrangeRed No PANTONE match (TRIED PANTONE VIVID ORANGE RED)
+\definecolor{RubineRed} {RGB}{202, 0, 93} % RubineRed Approximate PANTONE RUBINE-RED
+\definecolor{WildStrawberry} {RGB}{203, 0, 68} % WildStrawberry Approximate PANTONE 206
+\definecolor{Salmon} {RGB}{250, 147, 171} % Salmon Approximate PANTONE 183
+\definecolor{CarnationPink} {RGB}{226, 110, 178} % CarnationPink Approximate PANTONE 218
+\definecolor{Magenta} {RGB}{255, 0, 144} % Magenta Approximate PANTONE PROCESS-MAGENTA
+\definecolor{VioletRed} {RGB}{215, 31, 133} % VioletRed Approximate PANTONE 219
+\definecolor{Rhodamine} {RGB}{224, 17, 157} % Rhodamine Approximate PANTONE RHODAMINE-RED
+\definecolor{Mulberry} {RGB}{163, 26, 126} % Mulberry Approximate PANTONE 241
+\definecolor{RedViolet} {RGB}{161, 0, 107} % RedViolet Approximate PANTONE 234
+\definecolor{Fuchsia} {RGB}{155, 24, 137} % Fuchsia Approximate PANTONE 248
+\definecolor{Lavender} {RGB}{240, 146, 205} % Lavender Approximate PANTONE 223
+\definecolor{Thistle} {RGB}{222, 129, 211} % Thistle Approximate PANTONE 245
+\definecolor{Orchid} {RGB}{201, 102, 205} % Orchid Approximate PANTONE 252
+\definecolor{DarkOrchid} {RGB}{153, 50, 204} % DarkOrchid No PANTONE match
+\definecolor{Purple} {RGB}{182, 52, 187} % Purple Approximate PANTONE PURPLE
+\definecolor{Plum} {RGB}{79, 50, 76} % Plum VERY-Approx PANTONE 518
+\definecolor{Violet} {RGB}{75, 8, 161} % Violet Approximate PANTONE VIOLET
+\definecolor{RoyalPurple} {RGB}{82, 35, 152} % RoyalPurple Approximate PANTONE 267
+\definecolor{BlueViolet} {RGB}{33, 7, 106} % BlueViolet Approximate PANTONE 2755
+\definecolor{Periwinkle} {RGB}{136, 132, 213} % Periwinkle Approximate PANTONE 2715
+\definecolor{CadetBlue} {RGB}{95, 158, 160} % CadetBlue Approximate PANTONE (534+535)/2, Could not find get on my own so used PANTONE-CADET BLUE
+\definecolor{CornflowerBlue} {RGB}{99, 177, 229} % CornflowerBlue Approximate PANTONE 292
+\definecolor{MidnightBlue} {RGB}{0, 65, 101} % MidnightBlue Approximate PANTONE 302
+\definecolor{NavyBlue} {RGB}{0, 70, 173} % NavyBlue Approximate PANTONE 293
+\definecolor{RoyalBlue} {RGB}{0, 35, 102} % RoyalBlue No PANTONE match
+\definecolor{Blue} {RGB}{0, 24, 168} % Blue Approximate PANTONE BLUE-072
+\definecolor{Cerulean} {RGB}{0, 122, 201} % Cerulean Approximate PANTONE 3005
+\definecolor{Cyan} {RGB}{0, 159, 218} % Cyan Approximate PANTONE PROCESS-CYAN
+\definecolor{ProcessBlue} {RGB}{0, 136, 206} % ProcessBlue Approximate PANTONE PROCESS-BLUE
+\definecolor{SkyBlue} {RGB}{91, 198, 232} % SkyBlue Approximate PANTONE 2985
+
+\definecolor{Turquoise} {RGB}{0, 255, 239} % Turquoise Approximate PANTONE (312+313)/2, Could not find get on my own so used PANTONE-TURQUOISE
+
+\definecolor{TealBlue} {RGB}{0, 124, 146} % TealBlue Approximate PANTONE 3145
+\definecolor{Aquamarine} {RGB}{0, 148, 179} % Aquamarine Approximate PANTONE 3135
+\definecolor{BlueGreen} {RGB}{0, 154, 166} % BlueGreen Approximate PANTONE 320
+\definecolor{Emerald} {RGB}{80, 200, 120} % Emerald No PANTONE match
+\definecolor{JungleGreen} {RGB}{0, 115, 99} % JungleGreen Approximate PANTONE 328
+\definecolor{SeaGreen} {RGB}{0, 176, 146} % SeaGreen Approximate PANTONE 3268
+\definecolor{Green} {RGB}{0, 173, 131} % Green VERY-Approx PANTONE GREEN
+\definecolor{ForestGreen} {RGB}{0, 105, 60} % ForestGreen Approximate PANTONE 349
+\definecolor{PineGreen} {RGB}{0, 98, 101} % PineGreen Approximate PANTONE 323
+\definecolor{LimeGreen} {RGB}{50, 205, 50} % LimeGreen No PANTONE match
+\definecolor{YellowGreen} {RGB}{146, 212, 0} % YellowGreen Approximate PANTONE 375
+\definecolor{SpringGreen} {RGB}{201, 221, 3} % SpringGreen Approximate PANTONE 381
+\definecolor{OliveGreen} {RGB}{135, 136, 0} % OliveGreen Approximate PANTONE 582
+\definecolor{RawSienna} {RGB}{149, 82, 20} % RawSienna Approximate PANTONE 154
+\definecolor{Sepia} {RGB}{98, 60, 27} % Sepia Approximate PANTONE 161
+\definecolor{Brown} {RGB}{134, 67, 30} % Brown Approximate PANTONE 1615
+\definecolor{Tan} {RGB}{210, 180, 140} % Tan No PANTONE match
+\definecolor{Gray} {RGB}{139, 141, 142} % Gray Approximate PANTONE COOL-GRAY-8
+
+\definecolor{Black} {RGB}{30, 30, 30} % Black Approximate PANTONE PROCESS-BLACK
+\definecolor{White} {RGB}{255, 255, 255} % White No PANTONE match
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+% set the basic colors
+\setbeamercolor{palette primary} {fg=black,bg=white}
+\setbeamercolor{palette secondary} {fg=black,bg=white}
+\setbeamercolor{palette tertiary} {bg=jblue,fg=white}
+\setbeamercolor{palette quaternary}{fg=black,bg=white}
+\setbeamercolor{structure}{fg=jblue}
+\setbeamercolor{titlelike} {bg=jblue,fg=white}
+\setbeamercolor{frametitle} {bg=jblue!10,fg=jblue}
+\setbeamercolor{cboxb}{fg=black,bg=jblue}
+\setbeamercolor{cboxr}{fg=black,bg=red}
+
+% set colors for itemize/enumerate
+\setbeamercolor{item}{fg=ngreen}
+\setbeamercolor{item projected}{fg=white,bg=ngreen}
+
+% set colors for blocks
+\setbeamercolor{block title}{fg=ngreen,bg=white}
+\setbeamercolor{block body}{fg=black,bg=white}
+
+% set colors for alerted blocks (blocks with frame)
+\setbeamercolor{block alerted title}{fg=white,bg=jblue}
+\setbeamercolor{block alerted body}{fg=black,bg=jblue!10}
+
+% set the fonts
+\setbeamerfont{section in head/foot}{series=\bfseries}
+\setbeamerfont{block title}{series=\bfseries}
+\setbeamerfont{block alerted title}{series=\bfseries}
+\setbeamerfont{frametitle}{series=\bfseries}
+\setbeamerfont{frametitle}{size=\Large}
+\setbeamerfont{block body}{series=\rmfamily}
+
+% set some beamer theme options
+\setbeamertemplate{title page}[default][colsep=-4bp,rounded=true]
+\setbeamertemplate{sections/subsections in toc}[square]
+\setbeamertemplate{items}[circle]
+\setbeamertemplate{blocks}[width=0.0]
+\beamertemplatenavigationsymbolsempty
+
+% set bibliography style
+\setbeamertemplate{bibliography item}[text]
+\setbeamercolor{bibliography item}{fg=black,bg=white}
+\setbeamercolor{bibliography entry author}{fg=black,bg=white}
+\setbeamercolor{bibliography item}{fg=black,bg=white}
+
+% define some length variables that are used by the template
+\newlength{\inboxwd}
+\newlength{\iinboxwd}
+\newlength{\inboxrule}
+\makeatletter
+\makeatother
+
+%==============================================================================
+% build the poster title
+%==============================================================================
+\setbeamertemplate{headline}{
+ \leavevmode
+ \begin{columns}
+ \begin{column}{\linewidth}
+ \vskip1cm
+ \centering
+ \usebeamercolor{title in headline}{\color{jblue}\Huge{\textbf{\inserttitle}}\\[0.5ex]}
+ \usebeamercolor{author in headline}{\color{fg}\Large{\insertauthor}\\[1ex]}
+ \usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}
+ \vskip1cm
+ \end{column}
+ \vspace{1cm}
+ \end{columns}
+ \vspace{0.5in}
+ \hspace{0.5in}\begin{beamercolorbox}[wd=47in,colsep=0.15cm]{cboxb}\end{beamercolorbox}
+ \vspace{0.1in}
+}
+
+% Block definition
+\setbeamertemplate{block begin}
+{
+ \par\vskip\medskipamount
+ \begin{beamercolorbox}[colsep*=0ex,dp={2ex},center]{block title}
+ \vskip-0.25cm
+ \usebeamerfont{block title}\large\insertblocktitle
+ \begin{flushleft}
+ \vskip-1cm
+ \begin{tikzpicture}[remember picture,overlay]
+ \shade [inner color=gray,outer color=white]
+ (0,0) rectangle (\textwidth,0.3cm);
+ \end{tikzpicture}
+ \end{flushleft}
+ \end{beamercolorbox}
+ {\parskip0pt\par}
+ \ifbeamercolorempty[bg]{block title}
+ {}
+ {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}
+ \usebeamerfont{block body}
+ \vskip-0.5cm
+ \begin{beamercolorbox}[colsep*=0ex,vmode]{block body}
+ \justifying
+}
+
+\setbeamertemplate{block end}
+{
+ \end{beamercolorbox}
+ \vskip\smallskipamount
+}
+
+% Alert block definition (with frame)
+\setbeamertemplate{block alerted begin}
+{
+ \par\vskip\medskipamount
+ \begin{beamercolorbox}[sep=0ex,rounded=true,center,dp={2ex}]{block alerted title}
+ \vskip0.01cm
+ \usebeamerfont{block title}\large\insertblocktitle
+ \end{beamercolorbox}
+ {\parskip0pt\par}
+ \usebeamerfont{block body}
+ \vskip-0.8cm
+ \begin{beamercolorbox}[sep=0.5cm, rounded=true,center]{block alerted title}
+ \setlength{\inboxwd}{\linewidth}
+ \addtolength{\inboxwd}{-1cm}
+ \begin{beamercolorbox}[rounded=true,wd={\inboxwd},center]{block alerted body}
+ \setlength{\iinboxwd}{\inboxwd}
+ \setlength{\inboxrule}{\inboxwd}
+ \addtolength{\iinboxwd}{-0.5cm}
+ \addtolength{\inboxrule}{0.5cm}
+ \begin{center}
+ \begin{minipage}{\iinboxwd}
+ \justifying
+}
+
+\setbeamertemplate{block alerted end}
+{
+ \end{minipage}
+ \end{center}
+ \end{beamercolorbox}
+ \end{beamercolorbox}
+ \vskip\smallskipamount
+}
\ No newline at end of file
diff --git a/inst/rmarkdown/templates/posterdown_generic/skeleton/posterdown.cls b/inst/rmarkdown/templates/posterdown_generic/skeleton/posterdown.cls
new file mode 100644
index 0000000..13db0e8
--- /dev/null
+++ b/inst/rmarkdown/templates/posterdown_generic/skeleton/posterdown.cls
@@ -0,0 +1,4 @@
+\newcommand{\filename}{posterdown}
+\newcommand{\fileversion}{v1.0}
+\newcommand{\filedate}{2018/11/30}
+
diff --git a/inst/rmarkdown/templates/posterdown_generic/skeleton/skelton.Rmd b/inst/rmarkdown/templates/posterdown_generic/skeleton/skelton.Rmd
new file mode 100644
index 0000000..179d3db
--- /dev/null
+++ b/inst/rmarkdown/templates/posterdown_generic/skeleton/skelton.Rmd
@@ -0,0 +1,15 @@
+---
+#
+# Required information -------------------
+#
+title: 'My Wonderfull title'
+author: 'John Doe Jr.'
+date: 'November 30 2018'
+
+# Optional -------------------------------
+
+# Rendering Options
+knitr: "rmarkdown::pdf_document"
+output:
+ posterdown::poster_pdf: default
+---
diff --git a/inst/rmarkdown/templates/posterdown_generic/skeleton/template.tex b/inst/rmarkdown/templates/posterdown_generic/skeleton/template.tex
new file mode 100644
index 0000000..faf4c07
--- /dev/null
+++ b/inst/rmarkdown/templates/posterdown_generic/skeleton/template.tex
@@ -0,0 +1,356 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Jacobs Landscape Poster
+% LaTeX Template
+% Version 1.1 (14/06/14)
+%
+% Created by:
+% Computational Physics and Biophysics Group, Jacobs University
+% https://teamwork.jacobs-university.de:8443/confluence/display/CoPandBiG/LaTeX+Poster
+%
+% Further modified by:
+% Nathaniel Johnston (nathaniel@njohnston.ca)
+%
+% This template has been downloaded from:
+% http://www.LaTeXTemplates.com
+%
+% License:
+% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%----------------------------------------------------------------------------------------
+% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
+%----------------------------------------------------------------------------------------
+
+\documentclass[$title$, final]{beamer}
+
+\usepackage[scale=1.24]{beamerposter} % Use the beamerposter package for laying out the poster
+
+\usetheme{confposter} % Use the confposter theme supplied with this template
+
+\setbeamercolor{block title}{fg=ngreen,bg=white} % Colors of the block titles
+\setbeamercolor{block body}{fg=black,bg=white} % Colors of the body of blocks
+\setbeamercolor{block alerted title}{fg=white,bg=dblue!70} % Colors of the highlighted block titles
+\setbeamercolor{block alerted body}{fg=black,bg=dblue!10} % Colors of the body of highlighted blocks
+% Many more colors are available for use in beamerthemeconfposter.sty
+
+%-----------------------------------------------------------
+% Define the column widths and overall poster size
+% To set effective sepwid, onecolwid and twocolwid values, first choose how many columns you want and how much separation you want between columns
+% In this template, the separation width chosen is 0.024 of the paper width and a 4-column layout
+% onecolwid should therefore be (1-(# of columns+1)*sepwid)/# of columns e.g. (1-(4+1)*0.024)/4 = 0.22
+% Set twocolwid to be (2*onecolwid)+sepwid = 0.464
+% Set threecolwid to be (3*onecolwid)+2*sepwid = 0.708
+
+\newlength{\sepwid}
+\newlength{\onecolwid}
+\newlength{\twocolwid}
+\newlength{\threecolwid}
+\setlength{\paperwidth}{48in} % A0 width: 46.8in
+\setlength{\paperheight}{36in} % A0 height: 33.1in
+\setlength{\sepwid}{0.024\paperwidth} % Separation width (white space) between columns
+\setlength{\onecolwid}{0.22\paperwidth} % Width of one column
+\setlength{\twocolwid}{0.464\paperwidth} % Width of two columns
+\setlength{\threecolwid}{0.708\paperwidth} % Width of three columns
+\setlength{\topmargin}{-0.5in} % Reduce the top margin size
+%-----------------------------------------------------------
+
+\usepackage{graphicx} % Required for including images
+
+\usepackage{booktabs} % Top and bottom rules for tables
+
+%----------------------------------------------------------------------------------------
+% TITLE SECTION
+%----------------------------------------------------------------------------------------
+
+\title{$title$} % Poster title
+
+\author{Brent} % Author(s)
+
+\institute{Department and University Name} % Institution(s)
+
+%----------------------------------------------------------------------------------------
+
+\begin{document}
+
+\addtobeamertemplate{block end}{}{\vspace*{2ex}} % White space under blocks
+\addtobeamertemplate{block alerted end}{}{\vspace*{2ex}} % White space under highlighted (alert) blocks
+
+\setlength{\belowcaptionskip}{2ex} % White space under figures
+\setlength\belowdisplayshortskip{2ex} % White space under equations
+
+\begin{frame}[t] % The whole poster is enclosed in one beamer frame
+
+\begin{columns}[t] % The whole poster consists of three major columns, the second of which is split into two columns twice - the [t] option aligns each column's content to the top
+
+\begin{column}{\sepwid}\end{column} % Empty spacer column
+
+\begin{column}{\onecolwid} % The first column
+
+%----------------------------------------------------------------------------------------
+% OBJECTIVES
+%----------------------------------------------------------------------------------------
+
+\begin{alertblock}{Objectives}
+
+Lorem ipsum dolor sit amet, consectetur, nunc tellus pulvinar tortor, commodo eleifend risus arcu sed odio:
+\begin{itemize}
+\item Mollis dignissim, magna augue tincidunt dolor, interdum vestibulum urna
+\item Sed aliquet luctus lectus, eget aliquet leo ullamcorper consequat. Vivamus eros sem, iaculis ut euismod non, sollicitudin vel orci.
+\item Nascetur ridiculus mus.
+\item Euismod non erat. Nam ultricies pellentesque nunc, ultrices volutpat nisl ultrices a.
+\end{itemize}
+
+\end{alertblock}
+
+%----------------------------------------------------------------------------------------
+% INTRODUCTION
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Introduction}
+
+Lorem ipsum dolor \textbf{sit amet}, consectetur adipiscing elit. Sed commodo molestie porta. Sed ultrices scelerisque sapien ac commodo. Donec ut volutpat elit. Sed laoreet accumsan mattis. Integer sapien tellus, auctor ac blandit eget, sollicitudin vitae lorem. Praesent dictum tempor pulvinar. Suspendisse potenti. Sed tincidunt varius ipsum, et porta nulla suscipit et. Etiam congue bibendum felis, ac dictum augue cursus a. \textbf{Donec} magna eros, iaculis sit amet placerat quis, laoreet id est. In ut orci purus, interdum ornare nibh. Pellentesque pulvinar, nibh ac malesuada accumsan, urna nunc convallis tortor, ac vehicula nulla tellus eget nulla. Nullam lectus tortor, \textit{consequat tempor hendrerit} quis, vestibulum in diam. Maecenas sed diam augue.
+
+This statement requires citation \cite{Smith:2012qr}.
+
+\end{block}
+
+%------------------------------------------------
+
+\begin{figure}
+\includegraphics[width=0.8\linewidth]{placeholder.jpg}
+\caption{Figure caption}
+\end{figure}
+
+%----------------------------------------------------------------------------------------
+
+\end{column} % End of the first column
+
+\begin{column}{\sepwid}\end{column} % Empty spacer column
+
+\begin{column}{\twocolwid} % Begin a column which is two columns wide (column 2)
+
+\begin{columns}[t,totalwidth=\twocolwid] % Split up the two columns wide column
+
+\begin{column}{\onecolwid}\vspace{-.6in} % The first column within column 2 (column 2.1)
+
+%----------------------------------------------------------------------------------------
+% MATERIALS
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Materials}
+
+The following materials were required to complete the research:
+
+\begin{itemize}
+\item Curabitur pellentesque dignissim
+\item Eu facilisis est tempus quis
+\item Duis porta consequat lorem
+\item Eu facilisis est tempus quis
+\end{itemize}
+
+The materials were prepared according to the steps outlined below:
+
+\begin{enumerate}
+\item Curabitur pellentesque dignissim
+\item Eu facilisis est tempus quis
+\item Duis porta consequat lorem
+\item Curabitur pellentesque dignissim
+\end{enumerate}
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+
+\end{column} % End of column 2.1
+
+\begin{column}{\onecolwid}\vspace{-.6in} % The second column within column 2 (column 2.2)
+
+%----------------------------------------------------------------------------------------
+% METHODS
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Methods}
+
+Lorem ipsum dolor \textbf{sit amet}, consectetur adipiscing elit. Sed laoreet accumsan mattis. Integer sapien tellus, auctor ac blandit eget, sollicitudin vitae lorem. Praesent dictum tempor pulvinar. Suspendisse potenti. Sed tincidunt varius ipsum, et porta nulla suscipit et. Etiam congue bibendum felis, ac dictum augue cursus a. \textbf{Donec} magna eros, iaculis sit amet placerat quis, laoreet id est. In ut orci purus, interdum ornare nibh. Pellentesque pulvinar, nibh ac malesuada accumsan, urna nunc convallis tortor, ac vehicula nulla tellus eget nulla. Nullam lectus tortor, \textit{consequat tempor hendrerit} quis, vestibulum in diam. Maecenas sed diam augue.
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+
+\end{column} % End of column 2.2
+
+\end{columns} % End of the split of column 2 - any content after this will now take up 2 columns width
+
+%----------------------------------------------------------------------------------------
+% IMPORTANT RESULT
+%----------------------------------------------------------------------------------------
+
+\begin{alertblock}{Important Result}
+
+Lorem ipsum dolor \textbf{sit amet}, consectetur adipiscing elit. Sed commodo molestie porta. Sed ultrices scelerisque sapien ac commodo. Donec ut volutpat elit.
+
+\end{alertblock}
+
+%----------------------------------------------------------------------------------------
+
+\begin{columns}[t,totalwidth=\twocolwid] % Split up the two columns wide column again
+
+\begin{column}{\onecolwid} % The first column within column 2 (column 2.1)
+
+%----------------------------------------------------------------------------------------
+% MATHEMATICAL SECTION
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Mathematical Section}
+
+Nam quis odio enim, in molestie libero. Vivamus cursus mi at nulla elementum sollicitudin. Nam quis odio enim, in molestie libero. Vivamus cursus mi at nulla elementum sollicitudin.
+
+\begin{equation}
+E = mc^{2}
+\label{eqn:Einstein}
+\end{equation}
+
+Nam quis odio enim, in molestie libero. Vivamus cursus mi at nulla elementum sollicitudin. Nam quis odio enim, in molestie libero. Vivamus cursus mi at nulla elementum sollicitudin.
+
+\begin{equation}
+\cos^3 \theta =\frac{1}{4}\cos\theta+\frac{3}{4}\cos 3\theta
+\label{eq:refname}
+\end{equation}
+
+Nam quis odio enim, in molestie libero. Vivamus cursus mi at nulla elementum sollicitudin. Nam quis odio enim, in molestie libero. Vivamus cursus mi at nulla elementum sollicitudin.
+
+\begin{equation}
+\kappa =\frac{\xi}{E_{\mathrm{max}}} %\mathbb{ZNR}
+\end{equation}
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+
+\end{column} % End of column 2.1
+
+\begin{column}{\onecolwid} % The second column within column 2 (column 2.2)
+
+%----------------------------------------------------------------------------------------
+% RESULTS
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Results}
+
+\begin{figure}
+\includegraphics[width=0.8\linewidth]{placeholder.jpg}
+\caption{Figure caption}
+\end{figure}
+
+Nunc tempus venenatis facilisis. Curabitur suscipit consequat eros non porttitor. Sed a massa dolor, id ornare enim:
+
+\begin{table}
+\vspace{2ex}
+\begin{tabular}{l l l}
+\toprule
+\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\\
+\midrule
+Treatment 1 & 0.0003262 & 0.562 \\
+Treatment 2 & 0.0015681 & 0.910 \\
+Treatment 3 & 0.0009271 & 0.296 \\
+\bottomrule
+\end{tabular}
+\caption{Table caption}
+\end{table}
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+
+\end{column} % End of column 2.2
+
+\end{columns} % End of the split of column 2
+
+\end{column} % End of the second column
+
+\begin{column}{\sepwid}\end{column} % Empty spacer column
+
+\begin{column}{\onecolwid} % The third column
+
+%----------------------------------------------------------------------------------------
+% CONCLUSION
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Conclusion}
+
+Nunc tempus venenatis facilisis. \textbf{Curabitur suscipit} consequat eros non porttitor. Sed a massa dolor, id ornare enim. Fusce quis massa dictum tortor \textbf{tincidunt mattis}. Donec quam est, lobortis quis pretium at, laoreet scelerisque lacus. Nam quis odio enim, in molestie libero. Vivamus cursus mi at \textit{nulla elementum sollicitudin}.
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+% ADDITIONAL INFORMATION
+%----------------------------------------------------------------------------------------
+
+\begin{block}{Additional Information}
+
+Maecenas ultricies feugiat velit non mattis. Fusce tempus arcu id ligula varius dictum.
+\begin{itemize}
+\item Curabitur pellentesque dignissim
+\item Eu facilisis est tempus quis
+\item Duis porta consequat lorem
+\end{itemize}
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+% REFERENCES
+%----------------------------------------------------------------------------------------
+
+\begin{block}{References}
+
+\nocite{*} % Insert publications even if they are not cited in the poster
+\small{\bibliographystyle{unsrt}
+\bibliography{sample}\vspace{0.75in}}
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+% ACKNOWLEDGEMENTS
+%----------------------------------------------------------------------------------------
+
+\setbeamercolor{block title}{fg=red,bg=white} % Change the block title color
+
+\begin{block}{Acknowledgements}
+
+\small{\rmfamily{Nam mollis tristique neque eu luctus. Suspendisse rutrum congue nisi sed convallis. Aenean id neque dolor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.}} \\
+
+\end{block}
+
+%----------------------------------------------------------------------------------------
+% CONTACT INFORMATION
+%----------------------------------------------------------------------------------------
+
+\setbeamercolor{block alerted title}{fg=black,bg=norange} % Change the alert block title colors
+\setbeamercolor{block alerted body}{fg=black,bg=white} % Change the alert block body colors
+
+\begin{alertblock}{Contact Information}
+
+\begin{itemize}
+\item Web: \href{http://www.university.edu/smithlab}{http://www.university.edu/smithlab}
+\item Email: \href{mailto:john@smith.com}{john@smith.com}
+\item Phone: +1 (000) 111 1111
+\end{itemize}
+
+\end{alertblock}
+
+\begin{center}
+\begin{tabular}{ccc}
+\includegraphics[width=0.4\linewidth]{logo.png} & \hfill & \includegraphics[width=0.4\linewidth]{logo.png}
+\end{tabular}
+\end{center}
+
+%----------------------------------------------------------------------------------------
+
+\end{column} % End of the third column
+
+\end{columns} % End of all the columns in the poster
+
+\end{frame} % End of the enclosing frame
+
+\end{document}
diff --git a/posterdown.Rproj b/posterdown.Rproj
new file mode 100644
index 0000000..497f8bf
--- /dev/null
+++ b/posterdown.Rproj
@@ -0,0 +1,20 @@
+Version: 1.0
+
+RestoreWorkspace: Default
+SaveWorkspace: Default
+AlwaysSaveHistory: Default
+
+EnableCodeIndexing: Yes
+UseSpacesForTab: Yes
+NumSpacesForTab: 2
+Encoding: UTF-8
+
+RnwWeave: Sweave
+LaTeX: pdfLaTeX
+
+AutoAppendNewline: Yes
+StripTrailingWhitespace: Yes
+
+BuildType: Package
+PackageUseDevtools: Yes
+PackageInstallArgs: --no-multiarch --with-keep.source