How to display a Julia vector in Pluto markdown

Hi all,

I want to display some latex equations and a Julia vector. Here is a minimum working example:

md"
\lambda = $(round.([1/3,2/3], digits = 3))
"

Is there a way to improve the display of the vector? As you can see below, it does not look good.

Thanks!

pluto_matrix

Not 100% sure if this will work but have you looked at Latexify.jl?
By using the Latexify function, you should be able to get it too look nicely.
I think, haven’t tested this.

image

2 Likes

Nice and simple. Thanks!