从 moderncv 模板中使用 knitr 创建的 PDF 中删除页码
Removing page numbers from PDF created using knitr from a moderncv template
我想这个问题涵盖了 R Studio、pandoc 和 LaTeX。以下是我的 YAML 在 R Studio 中的样子:
---
name: Me Me Me
surname: Myself
position: "Job seeker"
address: "Some address in Newfoundland"
phone: +1 800 111111
www: google.com
email: "myemail@yahoo.com"
linkedin: john-joseph-jingle-jabber-smith/123
date: "`r format(Sys.time(), '%B %Y')`"
output: vitae::moderncv
theme: classic
---
页脚显示页码。有类似问题的人已经通过更改 LaTeX 序言解决了这个问题,但我没有这样的文件,而是我有一个 .cls 和几个 .sty 文件的集合。为了抑制页码编号,我需要更改其中哪些?或者是否可以在序言中为此添加 pandoc args?
moderncv 有 \nopagenumbers
宏来关闭页码:
---
name: Me Me Me
surname: Myself
position: "Job seeker"
address: "Some address in Newfoundland"
phone: +1 800 111111
www: google.com
email: "myemail@yahoo.com"
linkedin: john-joseph-jingle-jabber-smith/123
date: "`r format(Sys.time(), '%B %Y')`"
output:
vitae::moderncv:
keep_tex: true
header-includes:
- \nopagenumbers
theme: classic
---
test
\clearpage
test
我想这个问题涵盖了 R Studio、pandoc 和 LaTeX。以下是我的 YAML 在 R Studio 中的样子:
---
name: Me Me Me
surname: Myself
position: "Job seeker"
address: "Some address in Newfoundland"
phone: +1 800 111111
www: google.com
email: "myemail@yahoo.com"
linkedin: john-joseph-jingle-jabber-smith/123
date: "`r format(Sys.time(), '%B %Y')`"
output: vitae::moderncv
theme: classic
---
页脚显示页码。有类似问题的人已经通过更改 LaTeX 序言解决了这个问题,但我没有这样的文件,而是我有一个 .cls 和几个 .sty 文件的集合。为了抑制页码编号,我需要更改其中哪些?或者是否可以在序言中为此添加 pandoc args?
moderncv 有 \nopagenumbers
宏来关闭页码:
---
name: Me Me Me
surname: Myself
position: "Job seeker"
address: "Some address in Newfoundland"
phone: +1 800 111111
www: google.com
email: "myemail@yahoo.com"
linkedin: john-joseph-jingle-jabber-smith/123
date: "`r format(Sys.time(), '%B %Y')`"
output:
vitae::moderncv:
keep_tex: true
header-includes:
- \nopagenumbers
theme: classic
---
test
\clearpage
test