Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R Markdown: Must the author's name be italic?

Tags:

r

r-markdown

I have found that when I use R Markdown, the author's name is in italic.

Just like this:

SS of Rmarkdown output

Can I set it in roman?

The reason I ask these question because I am Chinese. If I write my name in Chinese and in italic type, it can be a little bit ugly...

So what can I do now?

like image 299
Chang Xiao Avatar asked Oct 17 '22 05:10

Chang Xiao


1 Answers

You can add CSS to change if your output is html or edit the pandoc template for LaTeX.

Default Template

enter image description here

With CSS in your YAML for html output

    author: <h4 style="font-style:normal">Author Name</h4>    

enter image description here

like image 95
Kevin Arseneau Avatar answered Nov 03 '22 06:11

Kevin Arseneau