带有特定乳胶模板的书本 [英] bookdown with specific latex template

查看:88
本文介绍了带有特定乳胶模板的书本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常相信Rmarkdown和bookdown是内容发布的未来,但是一些发布者使用特定的LaTeX模板,并且为了提交稿件,他们需要在那个精确的模板中.

I very much believe that Rmarkdown and bookdown are the future of content publishing, however some publishers use specific LaTeX templates, and in order to submit the manuscript they need it in that precise template.

例如,请参阅以下Springer手稿模板:

For example, see this Springer manuscript template:

http://resource- cms.springer.com/springer-cms/rest/v1/content/20566/data/v3/monographs

是否可以使bookdown使用此模板来生成PDF文件?

Is it possible to make bookdown use this template in order to produce a PDF file?

编辑:在本书中( https://bookdown.org/yihui/bookdown/)关于第4.2节的主题确实可以,但是我最终可能会设计一个自定义Pandoc LaTeX模板".

EDIT: in this book (https://bookdown.org/yihui/bookdown/) on section 4.2 Theming I read it is indeed possible, but I might end up designing a "custom Pandoc LaTeX template".

我想现在的问题是如何设计此Pandoc模板,第4.3节提供了有关它的一些详细信息.

I guess the question is now about how to design this Pandoc template, and section 4.3 provides some details about it.

推荐答案

您实际上不必使用自定义的Pandoc LaTeX模板(当然可以,如果需要的话).调整一些选项,您将完成.我只是在bookdown-demo存储库中放了一个示例.有关我所做的更改,请参见此提交,并请参见

You don't really have to use a custom Pandoc LaTeX template (of course you can if you want). Tweaking a few options and you will be done. I just put an example in the bookdown-demo repository. See this commit for what I changed, and see here for a PDF example.

几乎可以肯定,您还必须调整其他内容,其中之一可能是索引页.我也做了一个例子.

You almost surely still have to tweak other things, one of which might be the index page. I also made an example for that.

这篇关于带有特定乳胶模板的书本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆