Skip to content

Commit

Permalink
Use independent header.tex rather than yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakillo committed Mar 23, 2019
1 parent 54d79c0 commit 1d08386
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
16 changes: 6 additions & 10 deletions GLMs2pdf.Rmd
Expand Up @@ -5,14 +5,10 @@ date: "http://bit.ly/frod_san"
output:
beamer_presentation:
incremental: yes
keep_tex: yes
header-includes:
- \def\begincols{\begin{columns}[c]}
- \def\endcols{\end{columns}}
- \def\begincol{\begin{column}{0.48\textwidth}}
- \def\endcol{\end{column}}
- \setlength{\emergencystretch}{0em}
- \setlength{\parskip}{0pt}
keep_tex: no
fig_caption: FALSE
includes:
in_header: header.tex
fontsize: 10pt
---

Expand All @@ -31,11 +27,11 @@ opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE)
opts_chunk$set(tidy = FALSE, comment = NA, highlight = TRUE, size = "footnotesize")

# ## Cache
opts_chunk$set(cache = 2, cache.path = "knitr_output/cache/")
#opts_chunk$set(cache = 2, cache.path = "knitr_output/cache/")
# opts_chunk$set(cache.extra = rand_seed)
#
# ## Plots
opts_chunk$set(fig.path = "knitr_output/figures/")
#opts_chunk$set(fig.path = "knitr_output/figures/")
# opts_chunk$set(dpi = 300, fig.align = "default") # may want 'center' sometimes
#
# # Figure format
Expand Down
6 changes: 6 additions & 0 deletions header.tex
@@ -0,0 +1,6 @@
\def\begincols{\begin{columns}[c]}
\def\endcols{\end{columns}}
\def\begincol{\begin{column}{0.48\textwidth}}
\def\endcol{\end{column}}
\setlength{\emergencystretch}{0em}
\setlength{\parskip}{0pt}

0 comments on commit 1d08386

Please sign in to comment.