-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add macro for latexifying one-liner functions and add external rendering. #100
Conversation
Codecov Report
@@ Coverage Diff @@
## master #100 +/- ##
==========================================
- Coverage 79.29% 77.09% -2.21%
==========================================
Files 22 23 +1
Lines 512 537 +25
==========================================
+ Hits 406 414 +8
- Misses 106 123 +17
Continue to review full report at Codecov.
|
I disabled execution from The new macro Both should work for some simple maths-looking functions like |
Although the approach is different than I imagined, I would say that this PR closes #28. |
Poor practice, but this PR contains two separate new features.
One is the exported function
render
which tries to render a LaTeXString using lualatex and open the result in an external viewer. Useful for rendering things when in the REPL.The other is a macro
@latexify
which can be used to directly latexify one-liner Julia functions.This macro call will also define
f
as expected.No documentation or test yet.