We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the RMarkdown document, the following inline parses properly (in both HTML and PDF formats):
$\color{DarkGreen}{\text{Green Text}}$
However, when trying to use the same in an acronym:
--- acronyms: keys: - shortname: myacr longname: $\color{DarkGreen}{\text{Green Text}}$ --- \acr{myacr}
this gets parsed in LaTeX as:
\textbackslash color\{DarkGreen\}\{\textbackslash text\{Green Text\}\}
It looks like the backslash gets converted to a \textbackslash which results in the LaTex not working.
\textbackslash
whereas it should be parsed as
\(\color{DarkGreen}{\text{Green Text}}\)
Also tried following without success
\color{DarkGreen}{\text{Green Text}}
"\color{DarkGreen}{\text{Green Text}}"
\\color{DarkGreen}{\text{Green Text}}
Is there a way to force \acr{} to insert literal?
\acr{}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the RMarkdown document, the following inline parses properly (in both HTML and PDF formats):
However, when trying to use the same in an acronym:
this gets parsed in LaTeX as:
It looks like the backslash gets converted to a
\textbackslash
which results in the LaTex not working.whereas it should be parsed as
Also tried following without success
\color{DarkGreen}{\text{Green Text}}
"\color{DarkGreen}{\text{Green Text}}"
\\color{DarkGreen}{\text{Green Text}}
\(\color{DarkGreen}{\text{Green Text}}\)
Is there a way to force
\acr{}
to insert literal?The text was updated successfully, but these errors were encountered: