Home > Back-end >  Regulate how many PDF pages is to be displayed per page in when knitting to PDF in Rmarkdown?
Regulate how many PDF pages is to be displayed per page in when knitting to PDF in Rmarkdown?

Time:08-18

I have a rmarkdown document where I import a few PDFs, and I would like to display four PDF-import-pages per page in my knitted PDF.

---
title: "combinePages"
author: "xxx"
date: '2022-xx-xx'
output: 
  pdf_document:
    toc: true
header-includes:
  - \usepackage{pdfpages}
---
\includepdf[pages={-}]{pdfs/Lecture1.pdf}
\includepdf[pages={-}]{pdfs/Lecture2.pdf}

Can this be done in rmarkdown?

CodePudding user response:

According to the four_page_in_one


Explore the manual for more options.

  • Related