【发布时间】:2015-05-05 15:23:48
【问题描述】:
使用 tufte_template rmarkdown 文件,我正在尝试创建一个新段落(如 \newthought{},但没有大写字母。)我使用两个空格,这里用 * 表示:
# Introduction
The Tufte-\LaTeX\ [^tufte_latex] document**
**
classes define a style similar to the style Edward Tufte uses in his books...
但是得到这个结果:
我也尝试用\n 代替第二对空格 (**),但 pandoc 会引发错误。
pandoc.exe: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
最后,我尝试使用 <br> 标签,但这似乎没有任何效果 - 它不会打印文本或 PDF 的中断。
我想要一个没有缩进的新段落,类似于 \newthought{},但没有大写...有什么办法吗?
使用 sessionInfo() 更新 1:
> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] digest_0.6.8 htmltools_0.2.6 rmarkdown_0.5.1 tools_3.1.2 yaml_2.1.13
更新 2
这似乎是我在使用Tufte模板时专门遇到的一个问题:
【问题讨论】:
-
你的代码适合我,没有缩进,没有大写。
-
@zx8754 在“Tufte LaTex 文档”和“类定义...”之间有一个完整的空行?
-
@zx8754 刚刚从头开始运行它,输出与上面相同...?
标签: r markdown r-markdown tufte