symengine.R icon indicating copy to clipboard operation
symengine.R copied to clipboard

Latex view in IRKernel and Rmarkdown documents

Open isuruf opened this issue 6 years ago • 3 comments

For example, Python and C++ notebooks will use latex function to convert to latex and display a symengine object.

isuruf avatar Jul 12 '19 17:07 isuruf

I have thought about supporting latex printing in R markdown document, and it should also be possible in Jupyter notebook. It seems that there is support for latex string generation in the C++ library but not yet wrapped in cwrapper, right? Do you think we should use SymEngine's latex printer or implement R's?

Marlin-Na avatar Jul 12 '19 17:07 Marlin-Na

It seems that there is support for latex string generation in the C++ library but not yet wrapped in cwrapper, right?

Yes. SymEngine's latex printer is at its early stages and there's much to improve. It's faster since it uses symengine internals. If there are any issues with it, we can fix it and it would benefit the python and other wrappers.

isuruf avatar Jul 12 '19 17:07 isuruf

Generating latex view in Rmarkdown document is now supported with https://github.com/symengine/symengine.R/pull/64.

Marlin-Na avatar Sep 14 '19 05:09 Marlin-Na