# \#latex

**URL:** https://discourse.julialang.org/tag/latex/251.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Generating ConTeXt documents from Julia with multiple dispatch](https://discourse.julialang.org/t/generating-context-documents-from-julia-with-multiple-dispatch/139217)

<div class="topic-metadata">

**Author:** [@gxono](https://discourse.julialang.org/u/gxono)\
**Replies:** 2\
**Last updated:** [September 5, 2026, 11:27pm UTC](https://discourse.julialang.org/t/generating-context-documents-from-julia-with-multiple-dispatch/139217 "2026-09-05T23:27:38Z")

</div>

I built a Julia pipeline that processes survey data and produces a PDF report for each course: pull the data, build frequency tables and charts with CairoMakie, then compile the final report with ConTeXt. I already knew …

---

## [Makie/MathTeXEngine: what's the correct way for non-italic symbols in math expressions?](https://discourse.julialang.org/t/makie-mathtexengine-whats-the-correct-way-for-non-italic-symbols-in-math-expressions/138646)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 2\
**Last updated:** [August 6, 2026, 2:55pm UTC](https://discourse.julialang.org/t/makie-mathtexengine-whats-the-correct-way-for-non-italic-symbols-in-math-expressions/138646 "2026-08-06T14:55:44Z")

</div>

consider: lines!(ax, x, y; label = L"\\mathrm{d}T/dt") which produces: as you can see, the size of the straight d character is incorrect and larger than it should be (I think?) What is the appropriate way to remove…

---

## [LAlatex.jl: feature requests for linear algebra display helpers?](https://discourse.julialang.org/t/lalatex-jl-feature-requests-for-linear-algebra-display-helpers/137080)

<div class="topic-metadata">

**Author:** [@ea42gh](https://discourse.julialang.org/u/ea42gh)\
**Replies:** 1\
**Last updated:** [May 12, 2026, 4:14pm UTC](https://discourse.julialang.org/t/lalatex-jl-feature-requests-for-linear-algebra-display-helpers/137080 "2026-05-12T16:14:54Z")

</div>

I recently registered LAlatex.jl v1.0.0 and am working on the next round of improvements. I’d appreciate feature requests from people using Julia for linear algebra in notebooks, teaching, examples, or generated LaTeX. R…

---

## [Emit LaTeX document from Julia](https://discourse.julialang.org/t/emit-latex-document-from-julia/136273)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 12\
**Last updated:** [April 4, 2026, 1:53pm UTC](https://discourse.julialang.org/t/emit-latex-document-from-julia/136273 "2026-04-04T13:53:31Z")

</div>

I am generating a lot of plots and tables (in Julia) for a research project, to be shared with coauthors. It used to be that I would dump the tables in a directory and tried to be good with file naming, but it got beyond…

---

## [Add newline to LaTeXString equation](https://discourse.julialang.org/t/add-newline-to-latexstring-equation/95104)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 10\
**Last updated:** [March 9, 2026, 2:07pm UTC](https://discourse.julialang.org/t/add-newline-to-latexstring-equation/95104 "2026-03-09T14:07:35Z")

</div>

Hello, I have a LaTeXString which is too long to fit in one page-width. How can I add a line break to the equation so that it fits? I tried to add a \\\\ in the middle, but that didn’t change the rendering at all. julia\> …

---

## [Pythonplot: let LaTeX render text in final document](https://discourse.julialang.org/t/pythonplot-let-latex-render-text-in-final-document/134372)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 6\
**Last updated:** [December 15, 2025, 12:19pm UTC](https://discourse.julialang.org/t/pythonplot-let-latex-render-text-in-final-document/134372 "2025-12-15T12:19:04Z")

</div>

I would like to better integrate my plots into a LaTeX document. I know about PGFPlots(X) and I really like the idea, unfortunately I could only really work with Py(thon)Plots so far, because of the lack of features in o…

---

## [Second derivatives in Latexify](https://discourse.julialang.org/t/second-derivatives-in-latexify/134140)

<div class="topic-metadata">

**Author:** [@omerc](https://discourse.julialang.org/u/omerc)\
**Replies:** 0\
**Last updated:** [November 26, 2025, 12:10pm UTC](https://discourse.julialang.org/t/second-derivatives-in-latexify/134140 "2025-11-26T12:10:25Z")

</div>

Hi, I’m using the Symbolics package to generate a partial differential equation, and then Latexify to turn that into a Latex string for use in a manuscript that I’m writing. Essentially, I’m trying to write down the La…

---

## [Typst and other alternatives to LaTeX](https://discourse.julialang.org/t/typst-and-other-alternatives-to-latex/121652)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 203\
**Last updated:** [October 28, 2025, 1:02pm UTC](https://discourse.julialang.org/t/typst-and-other-alternatives-to-latex/121652 "2025-10-28T13:02:33Z")

</div>

Why not typst? See also Home · Typstry.jl (Sorry, I’ll see myself out :face\_with\_peeking\_eye:)

---

## [Latex2text alternative?](https://discourse.julialang.org/t/latex2text-alternative/133460)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 0\
**Last updated:** [October 27, 2025, 3:23pm UTC](https://discourse.julialang.org/t/latex2text-alternative/133460 "2025-10-27T15:23:14Z")

</div>

I’m using for a pure Julia implementation of pylatexenc’s latex2text. I have found many wonderful LaTeX-adjacent Julia packages but none that provide that functionality. Any ideas other than calling latex2text from Jul…

---

## [How to add \`PGFPlotsX.Coordinates()\` object to raw LaTeX command?](https://discourse.julialang.org/t/how-to-add-pgfplotsx-coordinates-object-to-raw-latex-command/133070)

<div class="topic-metadata">

**Author:** [@tapyu](https://discourse.julialang.org/u/tapyu)\
**Replies:** 0\
**Last updated:** [October 11, 2025, 2:26pm UTC](https://discourse.julialang.org/t/how-to-add-pgfplotsx-coordinates-object-to-raw-latex-command/133070 "2025-10-11T14:26:48Z")

</div>

\#!/usr/bin/env julia # using Pkg; Pkg.add("PGFPlotsX") # run once using PGFPlotsX empty!(PGFPlotsX.CUSTOM\_PREAMBLE) push!(PGFPlotsX.CUSTOM\_PREAMBLE, raw"\\usetikzlibrary{calc,spy}") origin = PGFPlotsX.Coordinate(0, 0)…

---

## [Latexify/Catalyst introduces extra exponent - issue with mm and hill?](https://discourse.julialang.org/t/latexify-catalyst-introduces-extra-exponent-issue-with-mm-and-hill/131819)

<div class="topic-metadata">

**Author:** [@orkun\_soyer](https://discourse.julialang.org/u/orkun_soyer)\
**Replies:** 6\
**Last updated:** [August 26, 2025, 2:54pm UTC](https://discourse.julialang.org/t/latexify-catalyst-introduces-extra-exponent-issue-with-mm-and-hill/131819 "2025-08-26T14:54:08Z")

</div>

‘‘‘ ppGppSys1 = @reaction\_network begin kin, ∅ --\> G6P hill(G6P,v01,k01,1), G6P → F6P end odesys = convert(ODESystem, ppGppSys1; combinatoric\_ratelaws=false, remove\_conserved = true) latexif…

---

## [Symbolics.jl and Latexify.jl: customize latex representations?](https://discourse.julialang.org/t/symbolics-jl-and-latexify-jl-customize-latex-representations/72180)

<div class="topic-metadata">

**Author:** [@adomasbaliuka](https://discourse.julialang.org/u/adomasbaliuka)\
**Replies:** 4\
**Last updated:** [August 15, 2025, 3:00pm UTC](https://discourse.julialang.org/t/symbolics-jl-and-latexify-jl-customize-latex-representations/72180 "2025-08-15T15:00:52Z")

</div>

(Julia 1.6) I deal with equations from publications and the variables there have lots of subscripts and superscripts. They cannot be represented as Julia variable names and I would prefer not to compromise. For example,…

---

## [Multiline equations on Forem](https://discourse.julialang.org/t/multiline-equations-on-forem/127881)

<div class="topic-metadata">

**Author:** [@Vasily\_Pisarev](https://discourse.julialang.org/u/Vasily_Pisarev)\
**Replies:** 0\
**Last updated:** [April 9, 2025, 9:23am UTC](https://discourse.julialang.org/t/multiline-equations-on-forem/127881 "2025-04-09T09:23:49Z")

</div>

Are multiline equations on Forem broken or am I missing something? When I enter something like \[ %katex \] \\delta\_{ij} = \\begin{cases} 1, i = j \\\\ 0, i \\ne j \\end{cases} \[ %endkatex \] I expect this look: \\delta\_{ij…

---

## [Franklin.jl for engineering content](https://discourse.julialang.org/t/franklin-jl-for-engineering-content/126263)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 3\
**Last updated:** [February 26, 2025, 4:30am UTC](https://discourse.julialang.org/t/franklin-jl-for-engineering-content/126263 "2025-02-26T04:30:41Z")

</div>

I am coming to my limits while trying to port this Quarto document to Franklin.jl. I have little knowledge of HTML and CSS. From reading the documentations and the GitHub issues, I did not find a way to generate a figur…

---

## [How to write inline math variables, equations in Markdown inside Pluto?](https://discourse.julialang.org/t/how-to-write-inline-math-variables-equations-in-markdown-inside-pluto/126041)

<div class="topic-metadata">

**Author:** [@ghoshr](https://discourse.julialang.org/u/ghoshr)\
**Replies:** 2\
**Last updated:** [February 18, 2025, 7:40pm UTC](https://discourse.julialang.org/t/how-to-write-inline-math-variables-equations-in-markdown-inside-pluto/126041 "2025-02-18T19:40:06Z")

</div>

I am trying to write some mathematical variables and equations inline in Markdown in Pluto. I am trying to write \\dfrac{a}{b} = c and x inside other sentences. And not a/b = c and x. This is how I did it here, and how I …

---

## [Generate PDF document showing the equations in a package](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 6:57pm UTC](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064 "2025-01-30T18:57:04Z")

</div>

I have a small package with equations and tables copied from a book. I want to figure out a way to generate a PDF file rendering all the equations in mathy form. This will serve as a quality control that the equations be…

---

## [Differential equation Symbolics.jl output using Latexify.jl](https://discourse.julialang.org/t/differential-equation-symbolics-jl-output-using-latexify-jl/125309)

<div class="topic-metadata">

**Author:** [@jpg1](https://discourse.julialang.org/u/jpg1)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 10:04am UTC](https://discourse.julialang.org/t/differential-equation-symbolics-jl-output-using-latexify-jl/125309 "2025-01-29T10:04:13Z")

</div>

Hi! Enjoying using Julia greatly so far. I’ve been learning to use Symbolics.jl for differential equations, and rendering the output with Latexify.jl. However, I was wondering if it was possible to get the latexify outp…

---

## [Combining LaTeX with variables in PyPlot title](https://discourse.julialang.org/t/combining-latex-with-variables-in-pyplot-title/41128)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 9\
**Last updated:** [December 14, 2024, 12:30am UTC](https://discourse.julialang.org/t/combining-latex-with-variables-in-pyplot-title/41128 "2024-12-14T00:30:57Z")

</div>

This is somewhat similar to PyPlot: how to include a variable in a title, but with the added complication of including LaTeX in the title too. See I have this code: PyPlot.title(L"Plot of the 1st eigenfunction, correspo…

---

## [Rendering LaTeX animations in Pluto with Javis](https://discourse.julialang.org/t/rendering-latex-animations-in-pluto-with-javis/119392)

<div class="topic-metadata">

**Author:** [@John\_Bolt](https://discourse.julialang.org/u/John_Bolt)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 12:48pm UTC](https://discourse.julialang.org/t/rendering-latex-animations-in-pluto-with-javis/119392 "2024-09-17T12:48:33Z")

</div>

The Javis documentation states that it is necessary to npm install -g mathjax-node-cli in order to render LaTeX animations. I am wondering if anyone has any recommendation for how best to do this so that I can render LaT…

---

## [Notebook Use Case for Mathematicians?](https://discourse.julialang.org/t/notebook-use-case-for-mathematicians/64200)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 31\
**Last updated:** [September 15, 2024, 10:16am UTC](https://discourse.julialang.org/t/notebook-use-case-for-mathematicians/64200 "2024-09-15T10:16:36Z")

</div>

TL; DR: Jupyter, Pluto, Neptune, Weave, and LaTeX, Julia via LuaLaTeX, or Julia via Minted or Listings in LaTeX, all don’t satisfy my use case as a mathematician: I’d like top-down cell evaluation with reactivity and int…

---

## [How do you control the font size of a figure that is used in an academic publication?](https://discourse.julialang.org/t/how-do-you-control-the-font-size-of-a-figure-that-is-used-in-an-academic-publication/117713)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 9\
**Last updated:** [August 1, 2024, 1:28pm UTC](https://discourse.julialang.org/t/how-do-you-control-the-font-size-of-a-figure-that-is-used-in-an-academic-publication/117713 "2024-08-01T13:28:37Z")

</div>

Hi, everyone! I wonder how do you control the font size of a figure that is used in an academic publication, for example, if we plot the figure with Makie and write a paper with LaTex? Usually, we can tune in Julia both…

---

## [Nice fonts with Plots, GR and LaTeXStrings](https://discourse.julialang.org/t/nice-fonts-with-plots-gr-and-latexstrings/60037)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 19\
**Last updated:** [July 22, 2024, 1:43pm UTC](https://discourse.julialang.org/t/nice-fonts-with-plots-gr-and-latexstrings/60037 "2024-07-22T13:43:49Z")

</div>

This not a question, just something that might be helpful to others. With Plots 1.12 and GR0.57.4 (at least), and using these options below, one can get a plot with homogeneous fonts (“Computer Modern”) in every element. …

---

## [Handcalcs.jl - For more readable calculations](https://discourse.julialang.org/t/handcalcs-jl-for-more-readable-calculations/109891)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 27\
**Last updated:** [July 4, 2024, 4:23pm UTC](https://discourse.julialang.org/t/handcalcs-jl-for-more-readable-calculations/109891 "2024-07-04T16:23:34Z")

</div>

Hello Julia community! I am excited to announce my first registered package Handcalcs.jl! This package is inspired by the handcalcs.py package in python. It is designed to be used in either jupyter or pluto. It will re…

---

## [Latex matrix in Makie](https://discourse.julialang.org/t/latex-matrix-in-makie/115608)

<div class="topic-metadata">

**Author:** [@VictorSeven](https://discourse.julialang.org/u/VictorSeven)\
**Replies:** 3\
**Last updated:** [June 14, 2024, 2:05pm UTC](https://discourse.julialang.org/t/latex-matrix-in-makie/115608 "2024-06-14T14:05:14Z")

</div>

Hi, I’m trying to show a matrix in Makie, via text!. Latex in general works well, but when I try to plot the matrix text!(ax, pos; text=L"\\begin{pmatrix} 1 & 2 \\\\ 3 & 4\\end{pmatrix}") I receive an error ERROR: LoadEr…

---

## [LaTeX friendly vector graphics with Makie](https://discourse.julialang.org/t/latex-friendly-vector-graphics-with-makie/84704)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 3\
**Last updated:** [April 1, 2024, 2:26am UTC](https://discourse.julialang.org/t/latex-friendly-vector-graphics-with-makie/84704 "2024-04-01T02:26:43Z")

</div>

Is there a way to produce vector graphics figures with Makie such that they can be included in a LaTeX document and have LaTeX typeset all text in the figure? My first idea was to use CairoMakie to produce a figure.svg f…

---

## [How to use amsmath/mathtools in Plots.jl?](https://discourse.julialang.org/t/how-to-use-amsmath-mathtools-in-plots-jl/111542)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 9:12am UTC](https://discourse.julialang.org/t/how-to-use-amsmath-mathtools-in-plots-jl/111542 "2024-03-13T09:12:33Z")

</div>

How can I use amsmath or mathtools commands in Plots.jl? Neither GR + LaTeXStrings.jl nor PGFPlotsX.jl recognize commands like \\lVert A \\rVert

---

## [@printf: significant digits in floating point representation](https://discourse.julialang.org/t/printf-significant-digits-in-floating-point-representation/29978)

<div class="topic-metadata">

**Author:** [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Replies:** 12\
**Last updated:** [March 9, 2024, 8:58pm UTC](https://discourse.julialang.org/t/printf-significant-digits-in-floating-point-representation/29978 "2024-03-09T20:58:32Z")

</div>

hi i want tu use @sprintf to format a number to floating point representation with a fixed amount of significant digits how can I do that? The function shout act the following way: .000012340000 -\> 0.000012 .12340000…

---

## [How to print elements of a matrix in LaTeX formatting?](https://discourse.julialang.org/t/how-to-print-elements-of-a-matrix-in-latex-formatting/111309)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 4\
**Last updated:** [March 7, 2024, 5:02pm UTC](https://discourse.julialang.org/t/how-to-print-elements-of-a-matrix-in-latex-formatting/111309 "2024-03-07T17:02:07Z")

</div>

Given a matrix A = \[\[182740835762038560236502360265029360346025236045;; 2\]; \[328470287402983460892460286408129634;; 4\]\] I’d like to get LaTeX-formatted output, one element per line, e.g.: latexprint(A) A\_{1,1} = 18…

---

## [Latex in GLMakie, no spaces](https://discourse.julialang.org/t/latex-in-glmakie-no-spaces/111192)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 7\
**Last updated:** [March 5, 2024, 6:26pm UTC](https://discourse.julialang.org/t/latex-in-glmakie-no-spaces/111192 "2024-03-05T18:26:18Z")

</div>

When trying to use Latex with GLMakie in this code: using GLMakie f = Figure(backgroundcolor = "#f5f0f5") ax = Axis(f\[1, 1\], title = L"A Makie Axis", xlabel = L"The x label", ylabel = L"The y label \\omega"…

---

## [How to print out Latex document as pdf?](https://discourse.julialang.org/t/how-to-print-out-latex-document-as-pdf/110786)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 12\
**Last updated:** [February 28, 2024, 8:43am UTC](https://discourse.julialang.org/t/how-to-print-out-latex-document-as-pdf/110786 "2024-02-28T08:43:24Z")

</div>

I have this code and is working fine for my desired output as you can see below. using Latexify, ParameterizedFunctions, Weave f = @ode\_def positiveFeedback begin dx = v\*y^n/(k^n+y^n) - x dy = x/(k\_2+x) - y end…

[Next page](https://discourse.julialang.org/tag/latex/251.md?match_all_tags=true&page=1&tags%5B%5D=latex)
