Skip to content

Add parentheses to units in \per mode in console output #40

@Splines

Description

@Splines

Consider this:

wiz.res("a911", 1.05, unit=r"\mm\s\per\N\kg").print()

will print:

aNineHundredEleven = 1.1 mm s/N kg

The unit representation might be misleading. Instead, I'd expect something like (mm s)/(N kg). This is also what siunitx is doing when users specify per-mode=symbol in the \sisetup{}.

Edit: My assumptions how siunitx parses the input were wrong in this issue. See the discussion below for how it looks like in reality, i.e. in this example, we'd expect (mm s kg) / N.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions