-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
LaTeX #92
Comments
You can and sort of. Also |
Is there a way to have chunks of LaTeX within a |
Yes. You can use LaTeX math with the same syntax as rmarkdown. The default markdown flavor is Julia markdown. |
Is there a way to have things verbatim included in the resulting tex file? (cf raw cells in Jupyter notebooks) This would enable the definition of macros... |
I was able to use LaTeX similar to rmarkdown with the |
For reference:
|
If you want a Weave button in Juno it's probably better to open issue in Juno repository. Or if you can add it to https://github.com/mpastell/language-weave I'd be happy to include it. |
FYI I found out to add LaTeX macros I need to use double-tic:
|
Actually, LaTeX support seems quite brittle: in my file if I have a single surface plot, it works, but if I add a second surface plot, none of the LaTeX renders. Is there a way to debug what's causing the problem? |
This doesn't seem to work for me. The defined macro needs to be in the same equation block as location it's used, then it works. That almost defeats the purpose of defining a macro. I hope we can define document macros soon. Otherwise I'm just going to stick to .tex files. |
There seems to be inconsistency between HTML and PDF. For PDF I managed to get it working using a template, though you need to avoid double brackets {{ by adding a space in between. |
Anyone know how to get LaTeX block (i.e. not inline) equation environments No matter what I do, if I use the block equation environment the text below no longer follows the enumerate. i.e.
I have tried indenting the math, but weave throws an error. Is there any way to make it so the environment would behave as though I had block equation environment inside a latex enumerate? Solution: You can indent the environment only if it is all on one line.
Still not sure how this is meant to work for something more complicated like a multiline equation. |
Can you input LaTeX into Weave? Is it in the docs?
The text was updated successfully, but these errors were encountered: