I have an equation that I wrote in r-markdown as follows
$$ 2 \frac{meter}{day} * 3 ~ days $$
I'd like to show that the days
cancel by striking them out. You can strike out text in r-markdown normally by ~~surrounding the text in tildaes~~
However, the tildae in the expression seems to only insert spaces.
$$ 2 \frac{meter}{~~day~~} * 3 ~ ~~days~~ $$
I also tried as one might in latex
$$ 2 \frac{meter}{sout{day}} * 3 ~ days $$
But this doesn't seem to work either.
Are there any options for striking out bits of equation that work in r-markdown equations?
\sout
– Haemoid