[Tex/LaTex] How to display julia output in latex

julialistings

I've been able to typeset julia code using listings package as mentioned in the answer here.

But I also wanted to display Julia output in my latex document, how can I achieve this ?

Best Answer

Use the minted package. It does syntax highlighting with the pygments Python library, which happens to support Julia.

Additionally, Julia interactive output is supported through the jlcon lexer. It's not listed on the main site's language list, but it is listed on pygmentize -L.

Related Question