Daniel_j_iii
Daniel_j_iii

Reputation: 3242

How to write an approximation equation in Rmarkdown?

enter image description here

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

Answers (1)

mrcassowary
mrcassowary

Reputation: 71

Unicode works inside code chunks

plot(1:10,runif(10), main = "y \U2248 x")

Upvotes: 1

Related Questions