# Latex macros in Weave.jl generated Jupyter notebooks

**URL:** <https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272>\
**Category:** Jupyter-Notebook\
**Tags:** question, latex, weave\
**Created:** [November 10, 2021, 5:53pm UTC](https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272 "2021-11-10T17:53:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlfivefifty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlfivefifty/32/1959_2.png) [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Post date:** [November 10, 2021, 5:53pm UTC](https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272/1 "2021-11-10T17:53:01Z")

</div>

How do I add latex macros when I use `Weave.notebook` ?

I tried putting them in between dollar signs but that would only work inside the same dollar signs, the next latex expression wouldn’t know about the macros.

For Weaving latex I used to use a template but `notebook` doesn’t seem to support that
