问题
Is it possible to include a Greek letter in the title of R markdown document?
I tried this:
---
title: "α-Amylase"
author: "author"
date: "8 March 2017"
output:
pdf_document:
keep_tex: true
toc: yes
toc_depth: 6
---
And this:
---
title: "$\alpha$-Amylase"
author: "author"
date: "8 March 2017"
output:
pdf_document:
keep_tex: true
toc: yes
toc_depth: 6
---
回答1:
This should work, with html it gives the following output:
---
title: \(\alpha\)-Amylase
author: "author"
date: "8 March 2017"
output: html_document
toc: yes
toc_depth: 6
---
来源:https://stackoverflow.com/questions/42680619/greek-letter-in-title-of-r-markdown-document