问题描述
尊敬的
我需要你的帮助。
---
title: "Title_article"
author: "My name"
date: "08/10/2020"
output:
beamer_presentation:
theme: "Madrid"
header-includes:
- \titlegraphic{\centering \includegraphics[width=1.5cm]{logo.png}\\LARGE}
classoption: "aspectratio=169"
---
感谢您的帮助。
解决方法
您可以将图像添加到标题页模板中,而不使用\titlegraphic
:
---
title: "Title_article"
author: "My name"
date: "08/10/2020"
output:
beamer_presentation:
theme: "Madrid"
keep_tex: true
header-includes:
- \addtobeamertemplate{title page}{\centering \includegraphics[width=1.5cm]{example-image}\par TEXT}{}
classoption: "aspectratio=169"
---