Symbols for quantities are written in italics.
I know that I can use \qty{}{} for numbers and units.
Is there a similar command for symbols?
Or would this be okay?
\documentclass{article}
\usepackage{siunitx}
\title{siunitx}
\author{}
\date{January 2024}
\begin{document}
\maketitle
$$m=\qty{2}{\kg}$$
\end{document}
mis just a variable, imo should not need any special treatment. – daleif Jan 05 '24 at 13:47$$...$$, see https://tex.stackexchange.com/q/503/36296 – samcarter_is_at_topanswers.xyz Jan 05 '24 at 14:09