Bookdown:默认页面大小和边距

问题描述 投票:-2回答:1

使用bookdown创建pdf时,默认页面大小和默认页边距是多少?例如,使用bookdown演示的index.Rmd文件中提供的基本配置,我们有:

--- 
title: "A Minimal Book Example"
author: "Yihui Xie"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
github-repo: rstudio/bookdown-demo
description: This is a minimal example of using the bookdown package to write a book. The output format for this example is bookdown::gitbook.
---

我要求您检查它们是否与亚马逊通过Createspace发布所需的页面大小/边距兼容:

https://www.createspace.com/Special/Enterprise/Publisher/submission_guidelines.jsp

谢谢

r r-markdown pandoc bookdown
1个回答
1
投票

Gitbook.com报告的官方配置表示默认纸张尺寸为a4,而对于边距,默认值为以下值:


pdf.margin.top  Top margin (default is 56)
pdf.margin.bottom   Bottom margin (default is 56)
pdf.margin.right    Right margin (default is 62)
pdf.margin.left Left margin (default is 62)

偶然的机会,我发现在Gitbook有72英尺等于1英寸。这些规格是否延续到Bookdown?谁知道?我同意你的看法,这个问题的文档不完整。让我们希望他们将来能够改进它。

© www.soinside.com 2019 - 2024. All rights reserved.