我很乐意在Rmarkdown中制作“beamer演示”Tufte-style。在那里,我可以将output: beamer_presentation
或
output:
tufte::tufte_html: default
tufte::tufte_handout:
citation_package: natbib
latex_engine: xelatex
有没有办法合并这个?还是其他任何直接的解决方案?
注意:我在tex.stackexchange上问过问题before没有解决方案。
答案 0 :(得分:0)
有一些Tufte样式投影仪演示的示例,例如https://github.com/ViniciusBRodrigues/simple-tufte-beamer
可以这样调整rmarkdown:
---
output:
beamer_presentation:
keep_tex: true
includes:
in_header: preamble.tex
---
# {.plain}
\titlepage
# Titulo do slide
Este é um exemplo de texto.
与preamble.tex
:
\usepackage{mathpazo}
\usefonttheme{serif}
\usepackage[document]{ragged2e}
\usepackage[scaled=0.90]{helvet}
\usepackage[scaled=0.85]{beramono}
\title[Título da apresentação]{\textls[200]{\uppercase{Título da apresentação}}}
\author[Vinícius Barros Rodrigues]{\textls[200]{\uppercase{Vinícius Barros Rodrigues \\ \vspace*{0.2cm} Universidade Federal de Viçosa \\ \vspace*{0.7cm}}} \texttt{\lowercase{\textls[10]{viniciusbrbio@gmail.com}}}}
\date{}
\setbeamerfont{title}{family=\fontfamily{phv}}
\setbeamercolor{title}{fg=black}
\setbeamerfont{author}{family=\fontfamily{phv}}
\setbeamercolor{author}{fg=black}
\setbeamerfont{frametitle}{series=\itshape}
\setbeamercolor{frametitle}{fg=black}
\setbeamertemplate{frametitle}{\vspace*{0.7cm}\insertframetitle}
\setbeamertemplate{title page}[default][left]
完整的rstudio项目可以在https://rstudio.cloud/project/706957上看到