Closed nweerasu closed 3 years ago
Hi,
I am not a LaTeX expert but are you sure \gt
is valid operator in LaTeX math ?
The error says it is not, and I get the same error with default pdflatex
too (not xelatex
)
---
title: "Minimal Example"
output: pdf_document
---
$$H_{1}: \mu master \gt 70$$
Also, I can't find this operator for is greater than
and only find >
for this:
Do you have a reference for this \gt
syntax working with LaTeX outside of using rmarkdown ?
Thank you.
Ah, that would explain it! Haha I assumed \gt was a thing since \ge was but ... obviously the keystroke exists for it. I thought I saw it ages ago on a Stack Overflow post but truly cannot find it now.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Hi all, this could be a wildly basic issue but I wasn't able to find this posted about already. I am new to RMarkdown.
$$H_{1}: \mu master \gt 70$$
The above code didn't want to compile, using xelatex, Windows 10, MikTEX (fully updated).
However, using the > symbol didn't give an error compiling:
e.g.:
$$H_{1}: \mu master > 70$$
Compiling in HTML and Word were fine.
My header:
Checklist
When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:
[x] formatted your issue so it is easier for us to read?
[x] included a minimal, self-contained, and reproducible example?
[x] pasted the output from
xfun::session_info('rmarkdown')
in your issue?[x] upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)?
[x] installed and tested your bug with the development version of the rmarkdown package using
remotes::install_github("rstudio/rmarkdown")
?