簡體   English   中英

在 Posterdown R package 中調整標題邊距

[英]Adjusting title margin in Posterdown R package

我正在使用 posterdown ( https://github.com/brentthorne/posterdown ) 在 RMarkdown 中制作海報。 我想移動標題,以便在它和海報邊緣之間有更多的空白。

這是模板的 YAML:

---
title: Generate Reproducible & Live HTML and PDF Conference Posters Using RMarkdown
author:
  - name: Brent Thorne
    affil: 1
    orcid: '0000-0002-1099-3857'
  - name: Another G. Author
    affil: 2
affiliation:
  - num: 1
    address: Department of Earth Science, Brock University
  - num: 2
    address: Department of Graphics and Layouts, University of Posters; Canada
column_numbers: 3
logoright_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png
logoleft_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png
output: 
  posterdown::posterdown_html:
    self_contained: false

---

我試圖使標題成為一個帶有中斷的字符串,但這會導致太多的空白。

"<br/>Generate Reproducible & Live HTML and PDF Conference Posters Using RMarkdown"

使用 CSS邊距

鐵:

title: <div style="margin:20px">Generate Reproducible & Live HTML and PDF Conference Posters Using RMarkdown </div>

暫無
暫無

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

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