florian-huber / weather_prediction_dataset

Create a dataset for teaching machine learning and deep learning
MIT License
32 stars 6 forks source link

typesetting units #15

Closed psteinb closed 3 years ago

psteinb commented 3 years ago

I have changed the way units are typeset, but this needs fixing.

Currently, I do:

some text and then a measurement of $12\,\text{cm}$, i.e. twelve centimeters.

This produces compilation errors even though the final pdf is produced. If anyone is quicker than me, feel free to look for a way to typeset numbers with units.

psteinb commented 3 years ago

https://en.wikibooks.org/wiki/LaTeX/Special_Characters suggests the siunitx package. I used that for now. Note that overleaf (similar to my fc33 box) uses siunitx 2.8! Took me sometime to figure that out and adapt the syntax accordingly.