Simplify default template, see #57
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/Figures/posterdownlogo.png b/inst/rmarkdown/templates/posterdown_html/skeleton/Figures/posterdownlogo.png
deleted file mode 100644
index b296a26..0000000
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/Figures/posterdownlogo.png
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/MyBib.bib b/inst/rmarkdown/templates/posterdown_html/skeleton/MyBib.bib
deleted file mode 100644
index 02a8bb7..0000000
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/MyBib.bib
+++ /dev/null
@@ -1,131 +0,0 @@
-@Manual{thorneposterdown2019,
- title = {posterdown: An R Package built to generate reproducible conference posters for the academic and professional world were PowerPoint and Pages just wont cut it},
- author = {W. Brent Thorne},
- year = {2019},
- volume = {0.1.2},
- url = {https://github.com/brentthorne/posterdown},
- note = {R package version 0.1.2},
-}
-
-@Manual{ggspatial,
- title = {ggspatial: Spatial Data Framework for ggplot2},
- author = {Dewey Dunnington},
- note = {R package version 1.0.1},
- url = {https://github.com/paleolimbot/ggspatial},
-}
-
-@Manual{gganimate2017,
- title = {gganimate: A Grammar of Animated Graphics},
- author = {Thomas Lin Pedersen and David Robinson},
- year = {2017},
- note = {R package version 0.9.9.9999},
- url = {http://github.com/thomasp85/gganimate},
-}
-
-@Manual{patchwork2017,
- title = {patchwork: The Composer of ggplots},
- author = {Thomas Lin Pedersen},
- year = {2017},
- note = {R package version 0.0.1},
- url = {https://github.com/thomasp85/patchwork},
-}
-
-@Manual{kableExtra2019,
- title = {kableExtra: Construct Complex Table with 'kable' and Pipe Syntax},
- author = {Hao Zhu},
- year = {2019},
- note = {R package version 1.0.0},
- url = {https://CRAN.R-project.org/package=kableExtra},
-}
-
-@Manual{rmarkdown,
- title = {rmarkdown: Dynamic Documents for R},
- author = {JJ Allaire and Yihui Xie and Jonathan McPherson and Javier Luraschi and Kevin Ushey and Aron Atkins and Hadley Wickham and Joe Cheng and Winston Chang and Richard Iannone},
- year = {2018},
- note = {R package version 1.11},
- url = {https://rmarkdown.rstudio.com},
-}
-
-@Manual{sf,
- title = {sf: Simple Features for R},
- author = {Edzer Pebesma},
- year = {2018},
- note = {R package version 0.6-3},
- url = {https://CRAN.R-project.org/package=sf},
-}
-
-@Manual{tidyverse,
- title = {tidyverse: Easily Install and Load the 'Tidyverse'},
- author = {Hadley Wickham},
- year = {2017},
- note = {R package version 1.2.1},
- url = {https://CRAN.R-project.org/package=tidyverse},
-}
-
-@Manual{pagedown,
- title = {pagedown: Paginate the HTML Output of R Markdown with CSS for Print},
- author = {Yihui Xie and Romain Lesur},
- note = {R package version 0.1.2},
- url = {https://github.com/rstudio/pagedown},
-}
-
-@Manual{leaflet,
- title = {leaflet: Create Interactive Web Maps with the JavaScript 'Leaflet'
-Library},
- author = {Joe Cheng and Bhaskar Karambelkar and Yihui Xie},
- year = {2018},
- note = {R package version 2.0.2},
- url = {https://CRAN.R-project.org/package=leaflet},
-}
-
-@Manual{ggthemes,
- title = {ggthemes: Extra Themes, Scales and Geoms for 'ggplot2'},
- author = {Jeffrey B. Arnold},
- note = {R package version 4.0.1},
- url = {http://github.com/jrnold/ggthemes},
-}
-
-@Manual{rticles,
- title = {rticles: Article Formats for R Markdown},
- author = {JJ Allaire and Yihui Xie and {R Foundation} and Hadley Wickham and {Journal of Statistical Software} and Ramnath Vaidyanathan and {Association for Computing Machinery} and Carl Boettiger and {Elsevier} and Karl Broman and Kirill Mueller and Bastiaan Quast and Randall Pruim and Ben Marwick and Charlotte Wickham and Oliver Keyes and Miao Yu and Daniel Emaasit and Thierry Onkelinx and Alessandro Gasparini and Marc-Andre Desautels and Dominik Leutnant and {MDPI} and Oğuzhan Öğreden and Dalton Hance and Daniel Nüst},
- year = {2018},
- note = {R package version 0.6},
- url = {https://CRAN.R-project.org/package=rticles},
-}
-
-@Manual{thesisdown,
- title = {thesisdown: An updated R Markdown thesis template using the bookdown package},
- author = {Nick Solomon},
- year = {2019},
- note = {R package version 0.0.2},
-}
-
-@Book{knitr,
- title = {Dynamic Documents with {R} and knitr},
- author = {Yihui Xie},
- publisher = {Chapman and Hall/CRC},
- address = {Boca Raton, Florida},
- year = {2015},
- edition = {2nd},
- note = {ISBN 978-1498716963},
- url = {https://yihui.name/knitr/},
-}
-
-@article{turnerControlsWaterBalance2014,
- title = {Controls on water balance of shallow thermokarst lakes and their relations with catchment characteristics: a multi-year, landscape-scale assessment based on water isotope tracers and remote sensing in {Old} {Crow} {Flats}, {Yukon} ({Canada})},
- volume = {20},
- issn = {13541013},
- shorttitle = {Controls on water balance of shallow thermokarst lakes and their relations with catchment characteristics},
- url = {http://doi.wiley.com/10.1111/gcb.12465},
- doi = {10.1111/gcb.12465},
- abstract = {Many northern lake-rich regions are undergoing pronounced hydrological change, yet inadequate knowledge of the drivers of these landscape-scale responses hampers our ability to predict future conditions. We address this challenge in the thermokarst landscape of Old Crow Flats (OCF) using a combination of remote sensing imagery and monitoring of stable isotope compositions of lake waters over three thaw seasons (2007–2009). Quantitative analysis confirmed that the hydrological behavior of lakes is strongly influenced by catchment vegetation and physiography. Catchments of snowmelt-dominated lakes, typically located in southern peripheral areas of OCF, encompass high proportions of woodland/forest and tall shrub vegetation (mean percent land cover = ca. 60\%). These land cover types effectively capture snow and generate abundant snowmelt runoff that offsets lake water evaporation. Rainfalldominated lakes that are not strongly influenced by evaporation are typically located in eastern and northern OCF where their catchments have higher proportions of dwarf shrub/herbaceous and sparse vegetation (ca. 45\%), as well as surface water (ca. 20\%). Evaporation-dominated lakes, are located in the OCF interior where their catchments are distinguished by substantially higher lake area to catchment area ratios (LA/CA = ca. 29\%) compared to low evaporation-influenced rainfall-dominated (ca. 10\%) and snowmelt-dominated (ca. 4\%) lakes. Lakes whose catchments contain {\textgreater}75\% combined dwarf shrub/herbaceous vegetation and surface water are most susceptible to evaporative lake-level drawdown, especially following periods of low precipitation. Findings indicate that multiple hydrological trajectories are probable in response to climate-driven changes in precipitation amount and seasonality, vegetation composition, and thermokarst processes. These will likely include a shift to greater snowmelt influence in catchments experiencing expansion of tall shrubs, greater influence from evaporation in catchments having higher proportions of surface water, and an increase in the rate of thermokarst lake expansion and probability of drainage. Local observations suggest that some of these changes are already underway.},
- language = {en},
- number = {5},
- urldate = {2018-06-29},
- journal = {Global Change Biology},
- author = {Turner, Kevin W. and Wolfe, Brent B. and Edwards, Thomas W. D. and Lantz, Trevor C. and Hall, Roland I. and Larocque, Guillaume},
- month = may,
- year = {2014},
- pages = {1585--1603},
- file = {Turner et al. - 2014 - Controls on water balance of shallow thermokarst l.pdf:/home/thornux/Zotero/storage/ENFATHMR/Turner et al. - 2014 - Controls on water balance of shallow thermokarst l.pdf:application/pdf}
-}
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
index 44c8670..c64654d 100644
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
@@ -1,7 +1,7 @@
---
output:
posterdown::posterdown_html:
-bibliography: MyBib.bib
+bibliography: packages.bib
---
```{r setup, include=FALSE}
@@ -22,11 +22,11 @@
1. Easy to use reproducible poster design.
2. Integration with R Markdown.
-3. Easy transition from `posterdown` to `thesisdown` or `rticles` [@rticles; @thesisdown].
+3. Easy transition from `posterdown` to `pagedown` report or manuscript documents [@R-pagedown].
# Methods
-This package uses the same workflow approach as the R Markdown you know and love. Basically it goes from RMarkdown > Knitr > Markdown > Pandoc > HTML/CSS > PDF. You can even use the bibliography the same way [@turnerControlsWaterBalance2014].
+This package uses the same workflow approach as the R Markdown you know and love. Basically it goes from RMarkdown > Knitr > Markdown > Pandoc > HTML/CSS > PDF. You can even use the bibliography the same way [@R-posterdown].
## Random text
@@ -36,7 +36,7 @@
Usually you want to have a nice table displaying some important results that you have calculated. In `posterdown` this is as easy as using the `kable` table formatting you are probably use to as per typical R Markdown formatting.
-I suggesting checking out the `kableExtra` package and its in depth documentation on customizing these tables found [here](https://haozhu233.github.io/kableExtra/awesome_table_in_pdf.pdf) [@kableExtra2019]. You can reference tables like so: Table \@ref(tab:mytable). Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam placerat augue at velit tincidunt semper. Donec elementum porta posuere. Nullam interdum, odio at tincidunt feugiat, turpis nisi blandit eros, eu posuere risus felis non quam. Nam eget lorem odio. Duis et aliquet orci. Phasellus nec viverra est.
+You can reference tables like so: Table \@ref(tab:mytable). Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam placerat augue at velit tincidunt semper. Donec elementum porta posuere. Nullam interdum, odio at tincidunt feugiat, turpis nisi blandit eros, eu posuere risus felis non quam. Nam eget lorem odio. Duis et aliquet orci. Phasellus nec viverra est.
```{r mytable, out.width='80%'}
knitr::kable(iris[1:10, 1:4], caption = 'Table caption.',align = 'c',"html")
@@ -55,14 +55,16 @@
```
-
-
# Next Steps: More random text
-Aliquam sed faucibus risus, quis efficitur erat. Vestibulum semper mauris quis tempus eleifend. Aliquam sagittis dictum ipsum, quis viverra ligula eleifend ut. Curabitur sagittis vitae arcu eget faucibus. In non elementum felis. Duis et aliquam nunc. Nunc pulvinar sapien nunc, vel pretium nisi efficitur in. Fusce fringilla maximus leo et maximus. Fusce at ligula laoreet, iaculis mi at, auctor odio. Praesent sed elementum justo. Aenean consectetur risus rhoncus tincidunt efficitur. Praesent dictum mauris at diam maximus maximus [@thorneposterdown2019].
+Aliquam sed faucibus risus, quis efficitur erat. Vestibulum semper mauris quis tempus eleifend. Aliquam sagittis dictum ipsum, quis viverra ligula eleifend ut. Curabitur sagittis vitae arcu eget faucibus. In non elementum felis. Duis et aliquam nunc. Nunc pulvinar sapien nunc, vel pretium nisi efficitur in. Fusce fringilla maximus leo et maximus. Fusce at ligula laoreet, iaculis mi at, auctor odio. Praesent sed elementum justo. Aenean consectetur risus rhoncus tincidunt efficitur. Praesent dictum mauris at diam maximus maximus [@R-posterdown].
# Conclusion
Try `posterdown` out! Hopefully you like it!
+```{r, include=FALSE}
+knitr::write_bib(c('knitr','posterdown','pagedown', 'rmarkdown', 'xaringan'), 'packages.bib')
+```
+
# References