Closed raffdoc closed 6 years ago
I've only had luck using LaTeX in RMarkdown with equations. I was not aware that general LaTeX insertions are allowed.
Not sure if it will help, but there is a markdown extension that can be added to the YAML metadata section to enable raw latex.
output:
pdf_document:
md_extensions: +raw_tex
Perhaps this will comment it out?
Nope, @couthcommander it does not function.
My understanding is that pdf_document implies you are running pdflatex, i.e., that the whole source document is LaTeX/knitr.
Yes @harrelfe, that is correct. That should be outputted as single line correct. But in the final latex file it is four line comment, where first line is commented and other remaining three or more not commented (for latex syntax).
The code is supposed to be creating a single long line for the comment. Did you pass the text through any sort of formatter that added line breaks?
I do use RStudio's way of converting Rmardown to md and then compiling latex with pandoc. No other softwer other then that.
Hi, I am writing my thesis with @ismayc thesisdown project. I am using summaryM for tables, this is one of my tables
In the pdf output file it has this wired output, that I see first time (I have used summary function for other thesis project few years ago): I think something happens from rmardown file to latex, it does not comment that frase correctly. What do you think, how can I block this behaviour. All the best.