Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Hey I'm trying to display the fraction of:
But I'm not sure how to do it with the siunitx package.
This is what I got so far:
But the result is not correct:
What am I missing?
The parser in siunitx does not attempt to 'read' fractions in the way you want: it ignores spaces so parses as 162/3. If you want manual formatting, you'll need to turn off the parser