-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
Adding a tex maths formatted output #3
Comments
That's what |
Fair enough - you don't think adding the dollar signs to indicate a maths environment is worthwhile? It prevents linebreaks and IMO generally looks better, and also works as mathjax when going to HTML! I have a solution for this on a fork, will show you once I have it working properly to see if you think it's worth including. |
Preventing line breaks is an important point. What do you mean by "and [...] generally looks better"? Will take a look. |
@janfreyberg could you test |
@dgromer that looks exactly like what I thought about. Sorry for not getting back to you sooner - was on holiday until now! By "generally looks better", I meant that it stays consistent across more formats that you can compile to from Rmarkdown, e.g. it will make inline equations look like other latex equations in the document, and as mentioned looks like maths in HTML output. Thanks for the implementation! |
Thanks for your feedback! |
When writing in rmarkdown (to compile to pdf), I prefer my stats reports to be in a tex maths environment. Would it be possible to add this to the package? At the moment, I achieve it with this helper function:
This (at the top) compiles better compared to
format='latex'
(middle) and `format='markdown' (bottom):The text was updated successfully, but these errors were encountered: