Added more flexability in various font sizes.
diff --git a/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex b/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
index c09ee88..a84ec75 100644
--- a/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
+++ b/inst/rmarkdown/templates/posterdown_pdf/resources/template.tex
@@ -7,7 +7,7 @@
%% %% Brent Thorne
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[article,$font_size$,extrafontsizes]{memoir}
+\documentclass[article,30pt,extrafontsizes]{memoir}
%utf-8 seems to be important
\RequirePackage[utf8]{inputenc}
@@ -184,9 +184,9 @@
\centering
\color{titletextcol}
\vspace{0.5in}
- \Huge{$title$} \\[0.3in]
- \color{authortextcol} \Large{$author$} \\[0.2in]
- \color{affiliationtextcol} \large{$affiliation$}
+ \$title_font_size${$title$} \\[0.3in]
+ \color{authortextcol} \$author_size${$author$} \\[0.2in]
+ \color{affiliationtextcol} \$affiliation_size${$affiliation$}
\vspace{0.2in}
% end title section -------------------
@@ -195,7 +195,7 @@
% Brgin body of poster
\begin{adjmulticols*}{$column_numbers$}{10mm}{10mm}
-\normalsize{
+\$body_font_size${
\color{bodytextcol}
$body$
}
diff --git a/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
index ef92be3..12ed56c 100644
--- a/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd
@@ -4,9 +4,16 @@
author: "Author One^1^ Author Two^2^"
affiliation: "^1^Department of Poster Layouts, University of Markdown; ^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 STYLE & SIZE----#
font_family: "palatino" # choose from typical latex fonts (example: "palatino")
+font_size: "30pt" #sets '\normalsize' (sizes of the title and sections headings will adjust based on it, not recommended as memoir has limited options)
+
+# Sizes are standard Latex options (tiny, scriptsize, footnotesize, small, normalsize, large, Large, LARGE, huge and Huge)
+title_font_size: "Huge" # size of the poster title
+author_size: "Large"
+bibliography_font_size: "tiny" # size of the bibliography in latex options ( etc.)
+affiliation_size: "large"
+body_font_size: "normalsize" # size of body text
#----COLOURS----#
@@ -35,7 +42,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
---