# Configuring the looks of memoir's \paragraph

I need a lower heading level than subsubsection and hence I am turning towards \paragraph. I am happy with not having it numbered but I do want it to stand on a line of it's own and be italic. I have tried the following:

\documentclass{memoir}
\usepackage{lipsum}
\begin{document}

\let\origparagraph\paragraph
\renewcommand*{\paragraph}{%
\origparagraph{#1} \\
}

\paragraph{Lorem ipsum}
\lipsum[1-2]

\end{document}

! Illegal parameter number in definition of \paragraph.
1
l.9 }

So clearly I can't renew the \paragraph command quite in that way. How should I do it?

-

Choose the value that suits you; if you want no vertical space use 1sp instead of 0pt as a positive value (even the smallest one) forces a line break.

You probably already know that to number paragraphs you have to say

\setsecnumdepth{paragraph}

which corresponds to the traditional LaTeX

\setcounter{secnumdepth}{4}

If you don't want an indented paragraph just after the title, say also