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 ?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityUse 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
.
jlcon
.