jgm / jgm/texmath

siunitx commands not working inside math, align and tabular modes

Open
#185 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
406
Forks
86
Avg merge
1h 25m
Merged PRs (30d)
1

Description

inside math or align mode mode:

`$T_{1/2}=\qty{8.0197}{days}$` gives the error

```
[WARNING] Could not convert TeX math T_{1/2}=\qty{8.0197}{days}, rendering as TeX:
T_{1/2}=\qty{8.0197}{days}
^
unexpected control sequence \qty
expecting "%", "\\label", "\\tag", "\\nonumber" or whitespace
```

inside tabular mode the table is not even rendered.

The problem is the same for all siunitx commands \num ; \qty ; \unit

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.