Reputation: 71
I have found that when I use R Markdown, the author's name is in italic.
Just like this:
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?
Upvotes: 5
Views: 2086
Reputation: 1595
Actually it's easier if you use \emph{}
in author as:
author: \emph{Some Name}
This will reverse the italic and make it roman provided the fact you are building a pdf with Latex.
Hope this helped!
Upvotes: 1
Reputation: 6264
You can add CSS to change if your output is html
or edit the pandoc
template for LaTeX
.
YAML
for html
output author: <h4 style="font-style:normal">Author Name</h4>
Upvotes: 2