简体   繁体   English

如何使用 Ioslides 在 R 的第一页上添加徽标

[英]How to add a logo on the first page in R using Ioslides

ioslides_presentation: widescreen: true smaller: true transition: slower ioslides_presentation:宽屏:真实较小:真实过渡:较慢
template: quarterly-report.html模板:季度报告.html
logo: cap1.png标志:cap1.png

I have been trying many different ways to to add a logo into ioslides, but I have been unsuccessful.我一直在尝试许多不同的方法来将徽标添加到 ioslides 中,但我一直没有成功。 The documentation of ioslides only states that to add a logo just write "logo:logo.png" on the YALM header, yet that does not work and it is widely vague ioslides 的文档仅说明要添加徽标只需在 YALM header 上写入“logo:logo.png”,但这不起作用,而且非常模糊

Please give a set of instructions on how to add the logo请提供一组有关如何添加徽标的说明

To add a logo you need to make sure the file is in your folder or that you provide the path.要添加徽标,您需要确保文件在您的文件夹中或您提供路径。 I removed the template part because I don't have one now.我删除了模板部分,因为我现在没有。

---
title: "Test"
author: "author"
date: "2/15/2021"
output: 
  ioslides_presentation:
    logo: logo.png
    widescreen: true 
    smaller: true 
    transition: slower
---

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM