Merge pull request #16 from brentthorne/dev
Dev
diff --git a/.RData b/.RData
index 1859af8..b9ab955 100644
--- a/.RData
+++ b/.RData
Binary files differ
diff --git a/.Rhistory b/.Rhistory
index 85eeae3..74a9ac8 100644
--- a/.Rhistory
+++ b/.Rhistory
@@ -35,7 +35,6 @@
library(posterdown)
library(posterdown)
library(posterdown)
-library(posterdown)
tibble(iris)
iris <- tibble(iris)
data("iris")
@@ -510,3 +509,4 @@
library(posterdown)
library(posterdown)
library(posterdown)
+update.packages()
diff --git a/.Rproj.user/441ADA46/pcs/windowlayoutstate.pper b/.Rproj.user/441ADA46/pcs/windowlayoutstate.pper
index e9b88cf..4373672 100644
--- a/.Rproj.user/441ADA46/pcs/windowlayoutstate.pper
+++ b/.Rproj.user/441ADA46/pcs/windowlayoutstate.pper
@@ -2,7 +2,7 @@
"left" : {
"panelheight" : 789,
"splitterpos" : 329,
- "topwindowstate" : "NORMAL",
+ "topwindowstate" : "EXCLUSIVE",
"windowheight" : 828
},
"right" : {
diff --git a/.Rproj.user/441ADA46/pcs/workbench-pane.pper b/.Rproj.user/441ADA46/pcs/workbench-pane.pper
index b15bf23..7642213 100644
--- a/.Rproj.user/441ADA46/pcs/workbench-pane.pper
+++ b/.Rproj.user/441ADA46/pcs/workbench-pane.pper
@@ -2,5 +2,7 @@
"TabSet1" : 3,
"TabSet2" : 0,
"TabZoom" : {
+ "MaximizedTab" : "Source",
+ "WidgetSize" : 411
}
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/per/t/3606E876 b/.Rproj.user/441ADA46/sources/per/t/3606E876
deleted file mode 100644
index b25a24d..0000000
--- a/.Rproj.user/441ADA46/sources/per/t/3606E876
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "collab_server" : "",
- "contents" : "",
- "created" : 1547101064081.000,
- "dirty" : false,
- "encoding" : "UTF-8",
- "folds" : "",
- "hash" : "2484401716",
- "id" : "3606E876",
- "lastKnownWriteTime" : 1547103104,
- "last_content_update" : 1547103104690,
- "path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
- "project_path" : "inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
- "properties" : {
- "cursorPosition" : "188,50",
- "scrollLine" : "182"
- },
- "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/3606E876-contents b/.Rproj.user/441ADA46/sources/per/t/3606E876-contents
deleted file mode 100644
index 080c22f..0000000
--- a/.Rproj.user/441ADA46/sources/per/t/3606E876-contents
+++ /dev/null
@@ -1,204 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% %% Posterdown PDF class for LaTeX files 08-JAN-2019
-%% %% For any information please send an e-mail to:
-%% %% brentthonre18@gmail.com (Brent Thorne)
-%% %%
-%% %% Initial class provided by:
-%% %% Brent Thorne
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\documentclass[article,$font_size$,extrafontsizes]{memoir}
-
-%utf-8 seems to be important
-\RequirePackage[utf8]{inputenc}
-\RequirePackage[T1]{fontenc}
-\RequirePackage{lmodern}
-\RequirePackage{multicol}
-\RequirePackage{graphicx}
-\RequirePackage{blindtext}
-\RequirePackage[svgnames,table]{xcolor}
-\RequirePackage{tikz}
-\RequirePackage[framemethod=tikz]{mdframed}
-\RequirePackage{color}
-\RequirePackage{geometry}
-\RequirePackage{adjmulticol}
-
-
-%For kable extra package :)
-\RequirePackage{booktabs}
-\RequirePackage{longtable}
-\RequirePackage{array}
-\RequirePackage{multirow}
-\RequirePackage{wrapfig}
-\RequirePackage{float}
-\RequirePackage{colortbl}
-\RequirePackage{pdflscape}
-\RequirePackage{pagecolor}
-\RequirePackage{tabu}
-\RequirePackage{threeparttable}
-\RequirePackage{threeparttablex}
-\RequirePackage[normalem]{ulem}
-\RequirePackage{makecell}
-\RequirePackage{wrapfig}
-
-%%%%%%%%% COLOURS %%%%%%%%
-
-%Fill/ Line Colours
-\definecolor{titlebgcol}{HTML}{$title_bgcol$}
-\definecolor{columnlinecol}{HTML}{$columnline_col$}
-\definecolor{posterbgcol}{HTML}{$poster_bgcol$}
-\definecolor{headerbgcol}{HTML}{$header_bgcol$}
-
-% Text Colours
-\definecolor{titletextcol}{HTML}{$title_textcol$}
-\definecolor{authortextcol}{HTML}{$author_textcol$}
-\definecolor{affiliationtextcol}{HTML}{$affiliation_textcol$}
-\definecolor{headertextcol}{HTML}{$header_textcol$}
-\definecolor{bodytextcol}{HTML}{$body_textcol$}
-\definecolor{footnotetextcol}{HTML}{$footnote_textcol$}
-\definecolor{citecol}{HTML}{$cite_col$}
-\definecolor{urlcol}{HTML}{$url_col$}
-\definecolor{linkcol}{HTML}{$link_col$}
-
-\RequirePackage{hyperref}
-\hypersetup{
- colorlinks=true,
- linkcolor=linkcol,
- citecolor=citecol,
- filecolor=magenta,
- urlcolor=urlcol,
-}
-
-%For figure and table placement
-\RequirePackage{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{columnlinecol}}
-
-\setsubsubsecheadstyle{\small\color{headertextcol}\textbf}% Set \section style
-\setsecheadstyle{\small\color{headertextcol}}
-\setsecnumformat{}
-\def\sectionmark#1{\markboth{#1}{#1}}
-
-%-----------------------------------------------------
-
-\thispagestyle{empty}
-\definecolor{light-gray}{gray}{0.9}
-
-%biblatex options
-\RequirePackage[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{headertextcol}\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
-
-\mdfdefinestyle{brentsmdfstyle}{%
- backgroundcolor=titlebgcol,
- linecolor=columnlinecol,
- topline=false,
- leftline=false,
- rightline=false,
- linewidth=2mm}
-
-%Footnote to white
-\RequirePackage{footmisc}
-\def\footnotelayout{\centering\color{footnotetextcol}}
-
-% see https://stackoverflow.com/a/47122900
-$if(highlighting-macros)$
-$highlighting-macros$
-$endif$
-
-% choose font family
-\RequirePackage{$font_family$}
-
-\newpagecolor{posterbgcol}
-
-%begin the document
-\begin{document}
-
-\begin{mdframed}[style=brentsmdfstyle]
-
-%sets footnote to be white hopefully
-\renewcommand\footnoterule{}
-\renewcommand{\thempfootnote}{\footnotesize\color{footnotetextcol}{\arabic{mpfootnote}}}
-
-% group which adds title author and other infor
-% Used instead of \maketitle for better spacing options
-\begingroup
- \centering
- \color{titletextcol}
-\vspace{0.5in}
- \Huge{$title$} \\[0.3in]
- \color{authortextcol} \Large{$author$} \\[0.2in]
- \color{affiliationtextcol} \large{$affiliation$}
- \vspace{0.2in}
-
-% end title section -------------------
- \endgroup
-\end{mdframed}
-
-% Brgin body of poster
-\begin{adjmulticols*}{$column_numbers$}{10mm}{10mm}
-\normalsize{
-\color{bodytextcol}
-$body$
-}
-\end{adjmulticols*}
-%end the poster
-\end{document}
diff --git a/.Rproj.user/441ADA46/sources/prop/3A027C68 b/.Rproj.user/441ADA46/sources/prop/3A027C68
new file mode 100644
index 0000000..cd13759
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/3A027C68
@@ -0,0 +1,5 @@
+{
+ "cursorPosition" : "87,0",
+ "scrollLine" : "0",
+ "tempName" : "Untitled1"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/60EAAA4E b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
index 4b886a6..c350964 100644
--- a/.Rproj.user/441ADA46/sources/prop/60EAAA4E
+++ b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "53,0",
- "scrollLine" : "53"
+ "cursorPosition" : "138,30",
+ "scrollLine" : "99"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/B68389EB b/.Rproj.user/441ADA46/sources/prop/B68389EB
index 08002c6..bc31211 100644
--- a/.Rproj.user/441ADA46/sources/prop/B68389EB
+++ b/.Rproj.user/441ADA46/sources/prop/B68389EB
@@ -1,4 +1,4 @@
{
"cursorPosition" : "188,50",
- "scrollLine" : "182"
+ "scrollLine" : "0"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/CFB8C52C b/.Rproj.user/441ADA46/sources/prop/CFB8C52C
new file mode 100644
index 0000000..79af544
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/CFB8C52C
@@ -0,0 +1,5 @@
+{
+ "cursorPosition" : "22,15",
+ "scrollLine" : "7",
+ "tempName" : "Untitled1"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/INDEX b/.Rproj.user/441ADA46/sources/prop/INDEX
index b2fe6a0..647ef2d 100644
--- a/.Rproj.user/441ADA46/sources/prop/INDEX
+++ b/.Rproj.user/441ADA46/sources/prop/INDEX
@@ -20,5 +20,7 @@
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_pdf%2Ftemplate.yaml="30D43C1A"
~%2FDocuments%2FGitHub%2Fposterdown%2Fman%2Fposterdown.Rd="3F353B4B"
~%2FDocuments%2FGitHub%2Fposterdown%2Fman%2Fposterdown_pdf.Rd="358A3C65"
+~%2FDocuments%2Fmytestmem.tex="3A027C68"
~%2FTemplates%2FUntitled%2FUntitled.Rmd="5A12846A"
~%2FUntitled%2FUntitled.Rmd="D3D80052"
+~%2Ftest.tex="CFB8C52C"
diff --git a/.Rproj.user/441ADA46/sources/per/t/25D73910 b/.Rproj.user/441ADA46/sources/s-60E46B92/25D73910
similarity index 71%
rename from .Rproj.user/441ADA46/sources/per/t/25D73910
rename to .Rproj.user/441ADA46/sources/s-60E46B92/25D73910
index 51060f8..368f3e8 100644
--- a/.Rproj.user/441ADA46/sources/per/t/25D73910
+++ b/.Rproj.user/441ADA46/sources/s-60E46B92/25D73910
@@ -2,18 +2,18 @@
"collab_server" : "",
"contents" : "",
"created" : 1546879226629.000,
- "dirty" : false,
+ "dirty" : true,
"encoding" : "UTF-8",
"folds" : "",
- "hash" : "2306596713",
+ "hash" : "0",
"id" : "25D73910",
- "lastKnownWriteTime" : 1547102230,
- "last_content_update" : 1547102230770,
+ "lastKnownWriteTime" : 1547777224,
+ "last_content_update" : 1547777237677,
"path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"project_path" : "inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"properties" : {
- "cursorPosition" : "53,0",
- "scrollLine" : "53"
+ "cursorPosition" : "138,30",
+ "scrollLine" : "99"
},
"relative_order" : 1,
"source_on_save" : false,
diff --git a/.Rproj.user/441ADA46/sources/per/t/25D73910-contents b/.Rproj.user/441ADA46/sources/s-60E46B92/25D73910-contents
similarity index 92%
rename from .Rproj.user/441ADA46/sources/per/t/25D73910-contents
rename to .Rproj.user/441ADA46/sources/s-60E46B92/25D73910-contents
index 2ddc51b..6b65bf8 100644
--- a/.Rproj.user/441ADA46/sources/per/t/25D73910-contents
+++ b/.Rproj.user/441ADA46/sources/s-60E46B92/25D73910-contents
@@ -54,14 +54,22 @@
# Study Site
-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}
+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.
-## OTHER
+```{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")
-plot(iris$Sepal.Length,iris$Sepal.Width, pch = 19)
-
+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
```
diff --git a/.Rproj.user/441ADA46/sources/s-60E46B92/lock_file b/.Rproj.user/441ADA46/sources/s-60E46B92/lock_file
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/s-60E46B92/lock_file
diff --git a/.Rproj.user/5271889B/pcs/source-pane.pper b/.Rproj.user/5271889B/pcs/source-pane.pper
index 70829f6..1743e40 100644
--- a/.Rproj.user/5271889B/pcs/source-pane.pper
+++ b/.Rproj.user/5271889B/pcs/source-pane.pper
@@ -1,3 +1,3 @@
{
- "activeTab" : 1
+ "activeTab" : 0
}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/pcs/workbench-pane.pper b/.Rproj.user/5271889B/pcs/workbench-pane.pper
index b15bf23..8a28041 100644
--- a/.Rproj.user/5271889B/pcs/workbench-pane.pper
+++ b/.Rproj.user/5271889B/pcs/workbench-pane.pper
@@ -1,6 +1,6 @@
{
"TabSet1" : 3,
- "TabSet2" : 0,
+ "TabSet2" : 2,
"TabZoom" : {
}
}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/per/t/120038C b/.Rproj.user/5271889B/sources/per/t/120038C
deleted file mode 100644
index 032df4b..0000000
--- a/.Rproj.user/5271889B/sources/per/t/120038C
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "collab_server" : "",
- "contents" : "",
- "created" : 1547064268927.000,
- "dirty" : false,
- "encoding" : "UTF-8",
- "folds" : "",
- "hash" : "1590817767",
- "id" : "120038C",
- "lastKnownWriteTime" : 1547083921,
- "last_content_update" : 1547083921194,
- "path" : "~/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
- "project_path" : "inst/rmarkdown/templates/posterdown_pdf/resources/template.tex",
- "properties" : {
- "cursorPosition" : "60,37",
- "scrollLine" : "40"
- },
- "relative_order" : 3,
- "source_on_save" : false,
- "source_window" : "",
- "type" : "tex"
-}
\ No newline at end of file
diff --git a/.Rproj.user/5271889B/sources/per/t/120038C-contents b/.Rproj.user/5271889B/sources/per/t/120038C-contents
deleted file mode 100644
index ab4ee4d..0000000
--- a/.Rproj.user/5271889B/sources/per/t/120038C-contents
+++ /dev/null
@@ -1,204 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% %% Posterdown PDF class for LaTeX files 08-JAN-2019
-%% %% For any information please send an e-mail to:
-%% %% brentthonre18@gmail.com (Brent Thorne)
-%% %%
-%% %% Initial class provided by:
-%% %% Brent Thorne
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\documentclass[article,$font_size$,extrafontsizes]{memoir}
-
-%utf-8 seems to be important
-\RequirePackage[utf8]{inputenc}
-\RequirePackage[T1]{fontenc}
-\RequirePackage{lmodern}
-\RequirePackage{multicol}
-\RequirePackage{graphicx}
-\RequirePackage{blindtext}
-\RequirePackage[svgnames,table]{xcolor}
-\RequirePackage{tikz}
-\RequirePackage[framemethod=tikz]{mdframed}
-\RequirePackage{color}
-\RequirePackage{geometry}
-\RequirePackage{adjmulticol}
-
-%For kable extra package :)
-\RequirePackage{booktabs}
-\RequirePackage{longtable}
-\RequirePackage{array}
-\RequirePackage{multirow}
-\RequirePackage{wrapfig}
-\RequirePackage{float}
-\RequirePackage{colortbl}
-\RequirePackage{pdflscape}
-\RequirePackage{pagecolor}
-\RequirePackage{tabu}
-\RequirePackage{threeparttable}
-\RequirePackage{threeparttablex}
-\RequirePackage[normalem]{ulem}
-\RequirePackage{makecell}
-
-%%%%%%%%% COLOURS %%%%%%%%
-
-%Fill/ Line Colours
-\definecolor{titlebgcol}{HTML}{$title_bgcol$}
-\definecolor{columnlinecol}{HTML}{$columnline_col$}
-\definecolor{posterbgcol}{HTML}{$poster_bgcol$}
-\definecolor{headerbgcol}{HTML}{$header_bgcol$}
-
-% Text Colours
-\definecolor{titletextcol}{HTML}{$title_textcol$}
-\definecolor{authortextcol}{HTML}{$author_textcol$}
-\definecolor{affiliationtextcol}{HTML}{$affiliation_textcol$}
-\definecolor{headertextcol}{HTML}{$header_textcol$}
-\definecolor{bodytextcol}{HTML}{$body_textcol$}
-\definecolor{footnotetextcol}{HTML}{$footnote_textcol$}
-\definecolor{citecol}{HTML}{$cite_col$}
-\definecolor{urlcol}{HTML}{$url_col$}
-\definecolor{linkcol}{HTML}{$link_col$}
-
-\newcommand*{\myfont}{\fontfamily{qag}\selectfont}
-
-\RequirePackage{hyperref}
-\hypersetup{
- colorlinks=true,
- linkcolor=linkcol,
- citecolor=citecol,
- filecolor=magenta,
- urlcolor=urlcol,
-}
-
-%For figure and table placement
-\RequirePackage{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{columnlinecol}}
-
-\setsubsubsecheadstyle{\small\color{headertextcol}\textbf}% Set \section style
-\setsecheadstyle{\small\color{headertextcol}}
-\setsecnumformat{}
-\def\sectionmark#1{\markboth{#1}{#1}}
-
-%-----------------------------------------------------
-
-\thispagestyle{empty}
-\definecolor{light-gray}{gray}{0.9}
-
-%biblatex options
-\RequirePackage[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{headertextcol}\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
-
-\mdfdefinestyle{brentsmdfstyle}{%
- backgroundcolor=titlebgcol,
- linecolor=columnlinecol,
- topline=false,
- leftline=false,
- rightline=false,
- linewidth=2mm}
-
-%Footnote to white
-\RequirePackage{footmisc}
-\def\footnotelayout{\centering\color{footnotetextcol}}
-
-% see https://stackoverflow.com/a/47122900
-$if(highlighting-macros)$
-$highlighting-macros$
-$endif$
-
-% choose font family
-\RequirePackage{$font_family$}
-
-\newpagecolor{posterbgcol}
-
-%begin the document
-\begin{document}
-
-\begin{mdframed}[style=brentsmdfstyle]
-
-%sets footnote to be white hopefully
-\renewcommand\footnoterule{}
-\renewcommand{\thempfootnote}{\footnotesize\color{footnotetextcol}{\arabic{mpfootnote}}}
-
-% group which adds title author and other infor
-% Used instead of \maketitle for better spacing options
-\begingroup
- \centering
- \color{titletextcol}
-\vspace{0.5in}
- {\myfont \Huge{$title$}} \\[0.3in]
- \color{authortextcol} \Large{$author$} \\[0.2in]
- \color{affiliationtextcol} \large{$affiliation$} \par
- \vspace{0.2in}
-
-% end title section -------------------
- \endgroup
-\end{mdframed}
-
-% Brgin body of poster
-\begin{adjmulticols*}{$column_numbers$}{10mm}{10mm}
-\normalsize{
-\color{bodytextcol}
-$body$
-}
-\end{adjmulticols*}
-%end the poster
-\end{document}
diff --git a/.Rproj.user/5271889B/sources/per/t/C0008ADF b/.Rproj.user/5271889B/sources/per/t/C0008ADF
index 276d583..c73883d 100644
--- a/.Rproj.user/5271889B/sources/per/t/C0008ADF
+++ b/.Rproj.user/5271889B/sources/per/t/C0008ADF
@@ -5,15 +5,15 @@
"dirty" : false,
"encoding" : "UTF-8",
"folds" : "",
- "hash" : "527242796",
+ "hash" : "438225612",
"id" : "C0008ADF",
- "lastKnownWriteTime" : 1547079598,
- "last_content_update" : 1547079598273,
+ "lastKnownWriteTime" : 1547138942,
+ "last_content_update" : 1547138942,
"path" : "~/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"project_path" : "inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"properties" : {
- "cursorPosition" : "78,9",
- "scrollLine" : "61"
+ "cursorPosition" : "78,0",
+ "scrollLine" : "0"
},
"relative_order" : 1,
"source_on_save" : false,
diff --git a/.Rproj.user/5271889B/sources/per/t/C0008ADF-contents b/.Rproj.user/5271889B/sources/per/t/C0008ADF-contents
index 5899411..6b65bf8 100644
--- a/.Rproj.user/5271889B/sources/per/t/C0008ADF-contents
+++ b/.Rproj.user/5271889B/sources/per/t/C0008ADF-contents
@@ -1,6 +1,6 @@
---
#----ESSENTIALS----#
-title: 'Using `posterdown` to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > Latex > PDF workflow'
+title: '\fontfamily{phv}\selectfont Using posterdown to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > Latex > PDF workflow'
author: "Author One^1^ Author Two^2^"
affiliation: "^1^Department of Poster Layouts, University of Markdown; ^2^Deparment of Another Institution, Institution University"
@@ -8,7 +8,6 @@
font_size: "30pt" #sets '\normalsize' (sizes of the title and sections headings will adjust based on it)
font_family: "palatino" # choose from typical latex fonts (example: "palatino")
-
#----COLOURS----#
#Background/ Line Colours
@@ -55,14 +54,22 @@
# Study Site
-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}
+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.
-## OTHER
+```{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")
-plot(iris$Sepal.Length,iris$Sepal.Width, pch = 19)
-
+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
```
diff --git a/.Rproj.user/5271889B/sources/prop/FB09601B b/.Rproj.user/5271889B/sources/prop/FB09601B
index 0bfdcb1..f990e4e 100644
--- a/.Rproj.user/5271889B/sources/prop/FB09601B
+++ b/.Rproj.user/5271889B/sources/prop/FB09601B
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "78,9",
- "scrollLine" : "61"
+ "cursorPosition" : "78,0",
+ "scrollLine" : "0"
}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/441ADA468B9050A6/chunks.json b/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/441ADA468B9050A6/chunks.json
deleted file mode 100644
index e33fe98..0000000
--- a/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/441ADA468B9050A6/chunks.json
+++ /dev/null
@@ -1 +0,0 @@
-{"chunk_definitions":[],"doc_write_time":1547090504}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/441ADA46D1501082/chunks.json b/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/441ADA46D1501082/chunks.json
deleted file mode 100644
index 03205dd..0000000
--- a/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/441ADA46D1501082/chunks.json
+++ /dev/null
@@ -1 +0,0 @@
-{"chunk_definitions":[],"doc_write_time":1547100769}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/s/chunks.json b/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/s/chunks.json
deleted file mode 100644
index 03205dd..0000000
--- a/.Rproj.user/shared/notebooks/8DF8B711-skeleton/1/s/chunks.json
+++ /dev/null
@@ -1 +0,0 @@
-{"chunk_definitions":[],"doc_write_time":1547100769}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/441ADA4660E46B92/chunks.json b/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/441ADA4660E46B92/chunks.json
new file mode 100644
index 0000000..c628e71
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/441ADA4660E46B92/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[],"doc_write_time":1547777223}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/441ADA46FE609B0F/chunks.json b/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/441ADA46FE609B0F/chunks.json
new file mode 100644
index 0000000..1d78d1e
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/441ADA46FE609B0F/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[],"doc_write_time":1547344471}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/s/chunks.json b/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/s/chunks.json
new file mode 100644
index 0000000..c628e71
--- /dev/null
+++ b/.Rproj.user/shared/notebooks/E9E00AA3-skeleton/1/s/chunks.json
@@ -0,0 +1 @@
+{"chunk_definitions":[],"doc_write_time":1547777223}
\ No newline at end of file
diff --git a/.Rproj.user/shared/notebooks/paths b/.Rproj.user/shared/notebooks/paths
index 9ef6d6e..864b81d 100644
--- a/.Rproj.user/shared/notebooks/paths
+++ b/.Rproj.user/shared/notebooks/paths
@@ -1,3 +1,2 @@
-/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex="5FA71675"
-/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd="8DF8B711"
-/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.tex="80DFEBFB"
+/home/thornux/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd="E9E00AA3"
+/home/thornux/Documents/mytestmem.tex="5C02E06A"
diff --git a/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
index 2ddc51b..6b65bf8 100644
--- a/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
@@ -54,14 +54,22 @@
# Study Site
-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}
+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.
-## OTHER
+```{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")
-plot(iris$Sepal.Length,iris$Sepal.Width, pch = 19)
-
+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
```