21

I want to use a Greek letter as the variable with the unit, and I am using siunitx to do it. The code below cannot be successfully compiled in pdflatex

\documentclass{article}
\usepackage{siunitx}
\begin{document}
\SI{\alpha}{\radian}
\end{document}

How can I typeset the Greek letter in siunitx?

TRiG
  • 213
  • 1
  • 12
Ice0cean
  • 1,646

1 Answers1

27

You need to disable the parser for anything that is not a number:

\documentclass{article}
\usepackage{siunitx}
\begin{document}
\SI[parse-numbers = false]{\alpha}{\radian}
\end{document}
Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036