I want to add the diameter symbol, as described there Diameter on Wikipedia in my equation:

\diameter~Aufwand~in~\% = \frac{\diameter~Aufwand~in~ZE~f"ur~die~Testt"atigkeit}{\diameter~Aufwand~in~ZE~f"ur~die~Entwicklung} 
\end{equation} \par

Therefore i used the packages as desribed there usepackage


3 times I got an error like this:

! undefined control sequence
l.XX \diameter

Can you give me some hints, what I should change or what can be the problem? I have no idea...

  • 2
    Use the package wasysym.
    – Tanvir
    Jun 27, 2020 at 13:09

1 Answer 1


As also noted by Tanvir in the comments, the wasysym package defines the \diameter command. In order to use this command, you have to load the package.

In th following small example, I have also corrected the text inside of the equation. Instead of manually adding spaces, you should place the text inside of \text{...}:

enter image description here

\usepackage{wasysym} % for the diameter command 

\text{\diameter\ Aufwand in \%} = \frac{\text{\diameter\ Aufwand in ZE für die Testtätigkeit} }{\text{\diameter\ Aufwand für die Entwicklung}} 

  • 3
    I'd use \diameter inside \text. It's not really a math symbol, because it's defined as \mbox{\wasyfamily\char 31}, so \text{\diameter\ Aufwand...}
    – egreg
    Jun 27, 2020 at 15:13
  • @egreg: Good point. I have changed my answer accordingly.
    – leandriis
    Jun 27, 2020 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .