# What do you use to embed Julia code in LaTeX?

**URL:** <https://discourse.julialang.org/t/what-do-you-use-to-embed-julia-code-in-latex/23992>\
**Category:** General Usage\
**Created:** [May 8, 2019, 10:28am UTC](https://discourse.julialang.org/t/what-do-you-use-to-embed-julia-code-in-latex/23992 "2019-05-08T10:28:08Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [May 8, 2019, 5:24pm UTC](https://discourse.julialang.org/t/what-do-you-use-to-embed-julia-code-in-latex/23992/8 "2019-05-08T17:24:50Z")

</div>

You need to find a new _lexer_  
ref: [Available lexers — Pygments](http://pygments.org/docs/lexers/#lexers-for-the-julia-language)  
This is the one I use  
[https://github.com/sisl/pygments-julia](https://github.com/sisl/pygments-julia)  
After that, use `julia1` as language for the minted environment

---

_[View the full topic](https://discourse.julialang.org/t/what-do-you-use-to-embed-julia-code-in-latex/23992)._
