Reputation: 3242
Like in the image above, I have tried the latex version of \approx
and have tried escaping it with \\approx
but still not luck. Just need the code chunk to create the approximation equation symbol for Rmarkdown, Thank you in advance.
Found my answer, the code is below
---
title: "approx"
author: "Daniel"
date: "6/4/2020"
output: html_document
---
y $\approx$ x
Upvotes: 3
Views: 2528
Reputation: 71
Unicode works inside code chunks
plot(1:10,runif(10), main = "y \U2248 x")
Upvotes: 1