josephwright / josephwright/siunitx

Exponent notation also in e-mode, not only power mode

Open
#834 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Would be great to have possibility to display exponent in e-notation, like 4.15e-15 eV s.
Currently option exponent-mode has values: input,fixed,engineering,scientific,threshold and each of them (beside fixed I think) could be displayed with e-mode, so I wouldn't add e-mode there.
One could add exponent-e-mode option of bolean type (default: false) to change from power to e-mode.

Reasoning: sometimes one to display numbers which can be easily copy-paste to number processing tools, like spreadsheet, programming code, data files. Power mode doesn't work here great.

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

No files or tests are named. Start by tracing the existing exponent-mode option and its input, fixed, engineering, scientific, and threshold behaviors; define how a boolean e-mode setting should affect each applicable mode. Done means supported exponent displays can emit copy-pastable e-notation while preserving existing power-mode output by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, tex
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.