簡體   English   中英

R markdown投影儀演示:調整幻燈片的寬度/縱橫比

[英]R markdown beamer presentation: adjust the width/aspect ratio of slides

如何調整呈現為 output 格式beamer的 R markdown 演示文稿的幻燈片寬度以生成 LaTex/PDF 文件? 為了能夠快速適應給定的演示設備(寬屏、4:3 屏幕……),理想情況下,可以輕松更改寬高比以采用不同的值。

MWE:

---
title: "Adjust the width/aspect ratio of slides"
output:
  # beamer_presentation: default
  bookdown::pdf_book:
    base_format: rmarkdown::beamer_presentation
---


## Some Slides

some content

您可以將縱橫比作為aspectratio選項傳遞。 查看 beamer 用戶指南以檢查可用比率。

---
title: "Adjust the width/aspect ratio of slides"
output:
  beamer_presentation:
    theme: "default"
    keep_tex: true
classoption: aspectratio=169    
---

## Some Slides

some content

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM