0

I'm working in R and knitting my output into a beamer presentation (The script below can be copied into an R script). My titles are naturally larger than the main text. However, I would like everything to be larger, meaning that I don't want everything the same font size, but everything one font larger compared to what it is now:

#' ---
#' title: "title"
#' subtitle: "Subtitle"
#' author: |
#'   | Me
#' institute: University
#' date: January, 2018
#' header-includes:
#'   - \usepackage{array}         # #' fontsize: 13pt
#'   - \usepackage{multicol}
#'   - \usepackage{fontspec}
#'   - \setmainfont{Montserrat Bold}
#'   - \setsansfont{Roboto Light}
#' output: 
#'   beamer_presentation:
#'     toc: no
#'     slide_level: 2
#'     fig_caption: false
#'     latex_engine: xelatex
#' ---
#' ## Contents
#' 
#' \tableofcontents
#' 
#' # Introduction
#' 
#' ## More Text
#' 
#'  
#' ## Title
#' 
#' - Part I 
#' - Part II
#' - Part III
#' 

Changing the font size as I have it now doesn't work. Any suggestions on what I need to change?

1

In order to load a fontsize of 14, you have to have the extsize package installed.

From beamer manual :

\documentclass[14pt]{beamer}

Makes all fonts somewhat bigger. Requires extsize to be installed.

| improve this answer | |
  • You don't have to load the package, it only needs to be installed. – samcarter_is_at_topanswers.xyz Feb 8 '18 at 12:24
  • @samcarter. Thanks. Edited my post. And I was wondering how does beamer parses a usepackage before reading the first line. – sztruks Feb 8 '18 at 12:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.