如何使用Knitr在R Markdown中设置镜像边距
我知道如何使用以下方法调整r markdown pdf文件中的边距:
I know how to adjust the margins in an r markdown pdf file with the following:
---
title: "Model 1 Coefficients"
output: pdf_document
geometry: margin=1in
---
但是我想这样做,以使页边距大小在偶数页和奇数页之间切换,以使内部页边距始终为1.25英寸,外部页边距始终为.25英寸.
But I would like to make it so that the margin sizes switch between even and odd pages so that the inner margin is always 1.25 in and outer is always .25 in.
我能够在此网站上找到一些乳胶信息 http:///texdoc.net/texmf-dist/doc/latex/geometry/geometry.pdf ,似乎我想使用双向选项,但我不确定这是正确的,甚至不确定如何调用它.我尝试了以下方法:
I was able to find some latex info on this website http://texdoc.net/texmf-dist/doc/latex/geometry/geometry.pdf and it seems like I want to use the twoside option but I'm not sure this is right or even how to call it. I tried the following:
---
title: "Model 1 Coefficients"
output: pdf_document
twoside: inner=1.25in, outer=0.25in
---
但这对利润没有任何作用
but that didn't do anything to the margins
您将需要以下内容:
geometry: asymmetric
output:
pdf_document:
number_sections: TRUE
fig_height: 3
fig_width: 5
---
\pagenumbering{gobble}
\evensidemargin=0in
\oddsidemargin=0.5in