# $\mu$ is printing the Greek letter mu on a separate single line

I want a Greek letter mu in between the text and when I write

$\mu$

in my .tex file, it prints on a single and separate line. How can I print it in between the text?

-
$\mu$ is display math and $\mu$ or $$\mu$$ are inline math. You want the latter ones. By the way, you can mark your code with backticks rather than *. –  Manuel Apr 13 at 11:48
Yes, thank you, it works for me perfectly :) –  Muhammad Toseef Apr 13 at 11:52
@Manuel That explanation would be useful in an answer. –  Jonathan Hobbs Apr 13 at 13:45
@JonathanHobbs isn't it enough with the accepted answer? –  Manuel Apr 13 at 15:55

The command $\mu$ is a short version of

\begin{equation*}
\mu
\end{equation*}

which is normally used for longer formulas. If you want to typeset (short) formulas like μ, you should use the inline-math mode, i.e.

This is an example text containing the greek letter $\mu$.
-
I want to write in between the text and equation print it on the new line. However $....$ works perfectly. thanks –  Muhammad Toseef Apr 13 at 12:01