posterdown_memoir phased to posterdown_pdf
Fully-ish customised sizing of the poster and colours :partly_sunny:
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/.Rproj.user/441ADA46/sources/per/t/27AE7CA7-contents b/.Rproj.user/441ADA46/sources/per/t/27AE7CA7-contents
new file mode 100644
index 0000000..06f5bd7
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/per/t/27AE7CA7-contents
@@ -0,0 +1,22 @@
+#' Posterdown PDF format (using 'memoir' document class)
+#'
+#' @inheritParams rmarkdown::pdf_document
+#' @param ... Additional arguments to \code{rmarkdown::pdf_document}
+#'
+#' @return R Markdown output format to pass to
+#' \code{\link[rmarkdown:render]{render}}
+#'
+#' @examples
+#'
+#' \dontrun{
+#' library(rmarkdown)
+#' draft("MyArticle.Rmd", template = "posterdown_generic", package = "posterdown")
+#' }
+#'
+#' @export
+posterdown_pdf <- function(..., keep_tex = TRUE) {
+ inherit_pdf_document(...,
+ keep_tex = keep_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"