# How to change paper size for certain pages in R markdown

This question is replaced from stack overflow to here.

I am working on a markdown file, but one table in particular is huge. I was able to set the pages where this table is occurring to landscape format, but it is still a bit too small for my taste.

Is there a way to also make these pages A3 instead of A4 which is specified in the markdown setup (below). When i set classoption: a3paper, it will of course change the entire pdf into an A3 format.

---
title: ""
subtitle: ""
author: ""
date: "\\today"
- \usepackage{pdflscape}
- \newcommand{\blandscape}{\begin{landscape}}
- \newcommand{\elandscape}{\end{landscape}}
output:
pdf_document:
fig_caption: yes
highlight: default
number_sections: no
toc: no
toc_depth: 3
documentclass: article
classoption: a4paper
fontsize: 10pt
geometry: margin=2cm
---