# General Problem

I want to use the \paragraph command within the optional argument of the \pstart command. In my MWE it works perfectly for \chapter and friends.

But it doesn't work for \paragraph.

# MWE (Code)

\documentclass[]{scrbook}

\usepackage[]{reledmac}

\usepackage[]{reledpar}
% reledpar configuration
\setlength{\columnrulewidth}{0.4pt}

% level of section numbering
\setcounter{secnumdepth}{5}

\begin{document}

\begin{pairs}
\begin{Leftside}
\beginnumbering
\pstart[\chapter{Chapter Test (Language A)}]
Text in language A.
\pend
\endnumbering
\end{Leftside}
%
\begin{Rightside}
\beginnumbering
\pstart[\chapter{Chapter Test (Language B)}]
Text in language B.
\pend
\endnumbering
\end{Rightside}
\end{pairs}
\Columns

\begin{pairs}
\begin{Leftside}
\beginnumbering
\pstart[\paragraph{Paragraph Test (Language A)}]
Text in language A.
\pend
\endnumbering
\end{Leftside}
%
\begin{Rightside}
\beginnumbering
\pstart[\paragraph{Paragraph Test (Language B)}]
Text in language B.
\pend
\endnumbering
\end{Rightside}
\end{pairs}
\Columns

\end{document}


# Related Question(s)

• \paragraph inside reledmac is not integrated. I suggest you to create a commande which similate it. May 17, 2016 at 19:49
• @Maïeul Thanks a lot. Do you know if this is documented somewhere? Is it hard to also integrate it? May 17, 2016 at 21:29
• no, there is no documentation about it. But for example you could do something like this \newcommand{\myparagraph}[1]{\textbf{#1}\hspace{1em}} May 18, 2016 at 8:12
• @Maïeul The problem is that I need a number for the paragraph... May 18, 2016 at 16:13
• not a problem. add just \refstepcounter{paragraph}\thecounter May 18, 2016 at 16:15

As the comment of Maïeul states there is no solution (yet) since the reledmac package does not support paragraph and beyond.