josephwright / josephwright/siunitx

number-mode=match affects product symbols

Open
#695 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
407
Forks
29
Avg merge
11h 20m
Merged PRs (30d)
3

Description

Hello,

Thanks for maintaining siunitx. I'm using siunitx in with number-mode=match, as I want numbers to match the surroundings (but not the product symbols or units). (Specifically, I don't like the text-mode times symbol of my font - it's a bit too small). However, when I print a product in text mode, the product symbol (both in \qtyproduct and \num) also becomes the text-mode one. I think this might be a bug -- basically there's no setting for misc. symbols, only units and numbers.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior with number-mode=match using the \qtyproduct and \num entry points in text mode. Trace how number and product symbols are selected, then verify that numbers still match their surroundings while product symbols use an independent setting in both commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.