Skip to content

Ambiguous latex display of meter*second versus millisecond #20

@mocquin

Description

@mocquin

When using the latex representation, like in a notebook context, the quantity/unit meter*second is displayed the same as millisecond, where both are rendered as:

from physipy import m, s, units

display(m*s)
display(units['ms'])

$1.0m s$
$1.0ms$

Inspecting the raw latex:

print((m*s)._repr_latex_())
print(units['ms']._repr_latex_())
$1.0\,m s$
$1.0\,ms$

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