Skip to content

Italic text and conjugate alignment #142

@AshtonSBradley

Description

@AshtonSBradley

A very common axis label use case is some function, e.g. f(x), or f(t). An italic argument has a noticeable offset - anything of the form ax.xlabel=L"g(t)", etc in both GLMakie, and CairoMakie, so I assume its a font issue.

Visually, it appears that standard latex formatting is to horizontally centre the vertical midpoint of the character.

Here is an example of a CairoMakie figure inserted into a latex manuscript. The caption shows clearly the normal latex alignment, while the ylabels in Makie have an offset

Image

Is is possible to centre the character vertical midpoint to get a balanced result like latex?

MakieOrg/Makie.jl#4777

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions