Issue #5 possible fix
Had to switch the order of the xcolor and tikz package inside the .tex file. Also had to change \usepackage to \RequirePackage
diff --git a/.Rproj.user/441ADA46/persistent-state b/.Rproj.user/441ADA46/persistent-state
index 431a782..f0a00bc 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\":\"** 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}]"
+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\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"\",\"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 cbe9550..4ef23e4 100644
--- a/.Rproj.user/441ADA46/rmd-outputs
+++ b/.Rproj.user/441ADA46/rmd-outputs
@@ -1,9 +1,8 @@
~/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
+
~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.pdf
-
-
diff --git a/.Rproj.user/441ADA46/sources/per/t/12A15D18 b/.Rproj.user/441ADA46/sources/per/t/12A15D18
deleted file mode 100644
index 40be70d..0000000
--- a/.Rproj.user/441ADA46/sources/per/t/12A15D18
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "collab_server" : "",
- "contents" : "",
- "created" : 1546910268699.000,
- "dirty" : false,
- "encoding" : "UTF-8",
- "folds" : "",
- "hash" : "3374608670",
- "id" : "12A15D18",
- "lastKnownWriteTime" : 1546912355,
- "last_content_update" : 1546912355541,
- "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
- "project_path" : "inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
- "properties" : {
- "cursorPosition" : "83,65",
- "scrollLine" : "76"
- },
- "relative_order" : 2,
- "source_on_save" : false,
- "source_window" : "",
- "type" : "tex"
-}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/per/t/12A15D18-contents b/.Rproj.user/441ADA46/sources/per/t/12A15D18-contents
deleted file mode 100644
index 811d8dc..0000000
--- a/.Rproj.user/441ADA46/sources/per/t/12A15D18-contents
+++ /dev/null
@@ -1,176 +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{pagecolor}
-\usepackage{tabu}
-\usepackage{threeparttable}
-\usepackage{threeparttablex}
-\usepackage[normalem]{ulem}
-\usepackage{makecell}
-
-\usepackage{hyperref}
-\hypersetup{
- colorlinks=true,
- linkcolor=$link_col$,
- citecolor=$cite_col$,
- filecolor=magenta,
- urlcolor=$url_col$,
-}
-
-
-%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{$columnline_col$}}
-\setsubsubsecheadstyle{\small\color{$header_textcol$}\textbf}% Set \section style
-\setsecheadstyle{\small\color{$header_textcol$}}
-\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{\centering\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= $columnline_col$,
- 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$
-
-% choose font family
-\usepackage{$font_family$}
-\renewcommand*\familydefault{\sfdefault}
-\newpagecolor{$poster_bgcol$}
-%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{$title_textcol$}
-\vspace{0.5in}
- \Huge{$title$} \\[0.3in]
- \color{cyan} \Large{$author$} \\[0.2in]
- \color{white} \large{$affiliation$} \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/.Rproj.user/441ADA46/sources/per/t/25D73910 b/.Rproj.user/441ADA46/sources/per/t/25D73910
index d690598..0b2c21b 100644
--- a/.Rproj.user/441ADA46/sources/per/t/25D73910
+++ b/.Rproj.user/441ADA46/sources/per/t/25D73910
@@ -5,15 +5,15 @@
"dirty" : false,
"encoding" : "UTF-8",
"folds" : "",
- "hash" : "4025009362",
+ "hash" : "1024572153",
"id" : "25D73910",
- "lastKnownWriteTime" : 1546912566,
- "last_content_update" : 1546912566249,
+ "lastKnownWriteTime" : 1546958791,
+ "last_content_update" : 1546958791517,
"path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"project_path" : "inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"properties" : {
- "cursorPosition" : "32,0",
- "scrollLine" : "26"
+ "cursorPosition" : "28,3",
+ "scrollLine" : "22"
},
"relative_order" : 1,
"source_on_save" : false,
diff --git a/.Rproj.user/441ADA46/sources/per/t/25D73910-contents b/.Rproj.user/441ADA46/sources/per/t/25D73910-contents
index 4f27cd8..bd506d7 100644
--- a/.Rproj.user/441ADA46/sources/per/t/25D73910-contents
+++ b/.Rproj.user/441ADA46/sources/per/t/25D73910-contents
@@ -46,21 +46,9 @@
Here is a map made to show the study site using `ggplot2`, `ggspatial`, and `sf`. Lorem ipsum dolor sit amet, [@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}
-```{r, fig.width=4.5, out.width="80%", fig.cap='This is a map of Canada, the ggspatial package is great for GIS folks in R!', cache=TRUE}
-library(ggplot2)
-library(ggspatial)
-library(ggthemes)
-library(sf)
+```{r, fig.width=4.5, out.width="100%", fig.cap='Here is an example of a firgure using the iris dataset and ggplot2', cache=TRUE}
-canada <- read_sf("data/Canada.geojson")
-
-
-ggplot() +
- ggspatial::layer_spatial(canada, fill = "grey") +
- ggspatial::annotation_north_arrow(location = "br", which_north = "true", style = north_arrow_nautical()) +
- coord_sf() +
- theme_solarized() +
- NULL
+plot(iris$Sepal.Length,iris$Sepal.Width, pch = 19)
```
diff --git a/.Rproj.user/441ADA46/sources/prop/60EAAA4E b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
index c8a6372..c60513c 100644
--- a/.Rproj.user/441ADA46/sources/prop/60EAAA4E
+++ b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "32,0",
- "scrollLine" : "26"
+ "cursorPosition" : "28,3",
+ "scrollLine" : "22"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/AE6C9F23 b/.Rproj.user/441ADA46/sources/prop/AE6C9F23
index 7d1ed6b..716ca65 100644
--- a/.Rproj.user/441ADA46/sources/prop/AE6C9F23
+++ b/.Rproj.user/441ADA46/sources/prop/AE6C9F23
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "15,14",
- "scrollLine" : "0"
+ "cursorPosition" : "14,17",
+ "scrollLine" : "4"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/B68389EB b/.Rproj.user/441ADA46/sources/prop/B68389EB
index 1c34024..c14f033 100644
--- a/.Rproj.user/441ADA46/sources/prop/B68389EB
+++ b/.Rproj.user/441ADA46/sources/prop/B68389EB
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "83,65",
- "scrollLine" : "76"
+ "cursorPosition" : "18,20",
+ "scrollLine" : "8"
}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/441ADA46D225C28B/chunks.json b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/441ADA46D225C28B/chunks.json
new file mode 100644
index 0000000..d40080d
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/441ADA46D225C28B/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[{"chunk_id":"c7w8u24vujzhr","chunk_label":"unnamed-chunk-2","document_id":"25D73910","expansion_state":0,"options":{"cache":true,"engine":"r","fig.cap":"Here is an example of a firgure using the iris dataset and ggplot2","fig.width":4.500000000000000,"label":"unnamed-chunk-4","out.width":"100%"},"row":52,"row_count":1,"visible":true}],"doc_write_time":1546954165}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000008.csv b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000008.csv
new file mode 100644
index 0000000..d226aa8
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000008.csv
@@ -0,0 +1 @@
+"0","plot(iris$Sepal.Length,iris$Sepal.Width, pch = 19)"
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000009.metadata b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000009.metadata
new file mode 100644
index 0000000..6698a3c
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000009.metadata
@@ -0,0 +1 @@
+{"conditions":[],"height":2.781211372064277,"size_behavior":1,"width":4.500000000000000}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000009.png b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000009.png
new file mode 100644
index 0000000..8b27212
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/c7w8u24vujzhr/000009.png
Binary files differ
diff --git a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json
index ad816db..d40080d 100644
--- a/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json
+++ b/.Rproj.user/shared/notebooks/A381DD33-skeleton/1/s/chunks.json
@@ -1 +1 @@
-{"chunk_definitions":[],"doc_write_time":1546872959}
\ No newline at end of file
+{"chunk_definitions":[{"chunk_id":"c7w8u24vujzhr","chunk_label":"unnamed-chunk-2","document_id":"25D73910","expansion_state":0,"options":{"cache":true,"engine":"r","fig.cap":"Here is an example of a firgure using the iris dataset and ggplot2","fig.width":4.500000000000000,"label":"unnamed-chunk-4","out.width":"100%"},"row":52,"row_count":1,"visible":true}],"doc_write_time":1546954165}
\ No newline at end of file