RMarkdown pdf - 字体颜色

时间:2016-08-10 02:23:52

标签: pdf r-markdown

如何更改RMarkdown pdf输出中的字体颜色。 我确实尝试过,玫瑰是\ textcolor {red} {red},紫罗兰是\ textcolor {blue} {blue}。 但这只适用于pdf文档的第一行。随后使用相同的,它输出此错误,

! File ended while scanning use of \@xdblarg.
<inserted text> 
                \par 
<*> /tmp/tex2pdf.18828/input.tex

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on /tmp/tex2pdf.18828/input.log.

pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted

帮助表示感谢! 谢谢

0 个答案:

没有答案
相关问题