簿记下来不同的偶数和奇数页边距与pdf输出。

问题描述 投票:0回答:1

我使用的是bookdown软件包0.13版本和R 3.6.0。

当我生成pdf输出时,偶数页和奇数页有不同的页边距,偶数页向右移,奇数页向左移(见下图)。偶数页向右移动,奇数页向左移动(见下图)。这是某种类型的功能吗?例如,用于打印?

我如何才能禁止这种行为?

enter image description here

当我试着使用在 官方演示. 该 _bookdown.yml 文件有这样的内容。

book_filename: "bookdown-demo"
language:
  ui:
    chapter_name: "Chapter "
delete_merged_file: true
new_session: yes
r pdf r-markdown bookdown
1个回答
1
投票

页边距被改变是因为默认的格式是双边。我把它改成了单面。通过在index.Rmd中添加以下内容来实现。

classoption: oneside

在乳胶中,这是用以下方式指定的:

\documentclass[oneside]{book}
© www.soinside.com 2019 - 2024. All rights reserved.