Merge pull request #20 from Shedimus/master
Option to change bibliography font size
diff --git a/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex b/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
index 080c22f..c09ee88 100644
--- a/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
+++ b/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
@@ -96,7 +96,7 @@
%biblatex options
\RequirePackage[sorting=none,backend=biber]{biblatex}
-\renewcommand*{\bibfont}{\tiny}
+\renewcommand*{\bibfont}{\$bibliography_font_size$}
\bibliography{$bibliography$}
\defbibheading{bibliography}[\bibname]{%
\section*{#1}%
diff --git a/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
index b035b15..ef92be3 100644
--- a/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
@@ -35,6 +35,7 @@
#----OTHER----#
bibliography: MyLibrary # name of the .bib file used for referencing
+bibliography_font_size: "tiny" # size of the bibliography in latex options (tiny, scriptsize, footnotesize, small, normalsize, etc.)
output: posterdown::posterdown_pdf
---
@@ -163,6 +164,6 @@
- Include References section only if initiated by the user like in RMarkdown.
<!--- Here you can set the size of the citation text as well as remove the "References" section if you choose not to have one for some reason :) -->
-\small\printbibliography
+\printbibliography