# titlesec and memoir class incompability

I know that titlesec is not fully compatible with memoir document class and generally it is not a good idea to combine them. However, I'm just curious, if it possible to work around my problem. MWE:

 \documentclass{memoir}
\usepackage{titlesec}

\titleformat{\part}[display]{}
{\filcenter \Huge Part {\thepart}:}
{20pt}{\Huge\bfseries\filcenter}

\titleformat{\chapter}[display]{}
{\filcenter \Huge Chapter {\thechapter}:}
{20pt}{\Huge\bfseries\filcenter}

\renewcommand\cftpartname{Part~}
\renewcommand\cftchaptername{Chapter~}

\begin{document}
\tableofcontents
\part{Abcdefghij}
\chapter{chapter title}
\part{Abcdefghij}

\end{document}



• It is a well-known fact actually, that memoir and titlesec are not really compatible. Use one of them, but not both. – user31729 Dec 27 '18 at 21:40
• And perhaps explain what you're trying to achieve with titlesec, then we might be able to find a memoir based solution – daleif Dec 27 '18 at 22:50