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
---
To make a Greek letter in R, You just use \ and then the name of the letter. If you want a subscript, like β1 , you use $\beta_1$ .
| R Code Fragments. R allows users great flexibility in creating and formatting plots. Greek letters can be included in titles and labels using the expression command.
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
---
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With