-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
layoutThe positioning of glyphs needs improvementThe positioning of glyphs needs improvementparserThe parser needs to be fixedThe parser needs to be fixed
Description
I don't know whether this is the right place to report this.
When manually typesetting the exponents in Makie (to circumvent MakieOrg/Makie.jl#1296),
the spacing between the minus sign and the number inside the exponent looks too wide. It looks more like the spacing for a binary minus, see the tex code for comparison.
Furthermore, the baseline of the exponent looks too high compared to tex.
\documentclass{standalone}
\begin{document}
\begin{tabular}{rlr}
unary: & $10^{-16}$,& $-16$ \\
binary: & $10^{{}-16}$,& ${}-16$
\end{tabular}
\end{document}using CairoMakie
using CairoMakie.Makie: LaTeXString
fig = Figure(font="cmu")
ax = Axis(
fig[1,1];
ytickformat = ts -> [LaTeXString("\$ $(round(t/1e-16, digits=3)) \\times 10^{-16} \$") for t in ts],
)
lines!(ax, 1:10, rand(10) .* 1e-16)
save("fig.pdf", fig)Edit: I have no idea why the images are not rendered.
RaulDurand
Metadata
Metadata
Assignees
Labels
layoutThe positioning of glyphs needs improvementThe positioning of glyphs needs improvementparserThe parser needs to be fixedThe parser needs to be fixed