Personalice tanto el estilo del capítulo como los títulos

Personalice tanto el estilo del capítulo como los títulos

Estoy usando memorias. Con estas configuraciones básicas:

\makechapterstyle{chappell2}{%
\setlength{\beforechapskip}{-15pt}
\renewcommand*{\chapnamefont}{\large}

\renewcommand*{\printchapternum}{\chapnumfont \Large \thechapter }
\renewcommand*{\chaptitlefont}{\Large\bfseries}
\renewcommand*{\printchaptertitle}[1]{%
%\vskip\onelineskip 
\chaptitlefont ##1}}

\makechapterstyle{mystyle}{%
    \chapterstyle{default}
    \renewcommand{\printchaptername}{}
    \renewcommand{\chapternamenum}{}
    \renewcommand{\chapnumfont}{\normalfont\bfseries}
    \renewcommand{\printchapternum}{}%\chapnumfont \thechapter\space}
    \renewcommand{\afterchapternum}{}
    \renewcommand*{\printchapternum}{%
    \@hangfrom{\chapnumfont \thechapter\quad}}%
}
%\nouppercaseheads

\chapterstyle{chappell2}
\renewcommand\thechapter{Capitolo \arabic{chapter}}
\renewcommand\thesection{\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
\renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}}

Entiendo esto:

ingrese la descripción de la imagen aquí

ingrese la descripción de la imagen aquí

Me gustaría imprimir en el título sólo "Capitolo 2". ¿Cómo puedo hacerlo? Lo siento, pero no soy un experto en látex...

Respuesta1

No proporcionó un ejemplo compilable que debe comenzar \documentclass...desde \end{document}. Lo que proporcionó cuando agregué el código necesario no produjo lo que mostró en su gráfico.

He hecho lo mejor que he podido y creo que esto es lo que podría convenirle.

\documentclass{memoir}
\usepackage{lipsum}

\renewcommand{\chaptername}{Capitolo}  % change chapter name
\renewcommand{\chapterrefname}{Capitolo} % change chapter reference name  
\makechapterstyle{chappell2}{%
\setlength{\beforechapskip}{-15pt}
%\renewcommand*{\chapnamefont}{\large}
\renewcommand*{\chapnamefont}{\Large\bfseries} % to match the chapter number

\renewcommand*{\printchapternum}{\chapnumfont \Large \thechapter }
\renewcommand*{\chaptitlefont}{\Large\bfseries}
\renewcommand*{\printchaptertitle}[1]{%
%\vskip\onelineskip 
\chaptitlefont ##1}}

%\nouppercaseheads

\chapterstyle{chappell2}
%\renewcommand\thechapter{Capitolo \arabic{chapter}}
\renewcommand\thesection{\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
\renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}}

\begin{document}

\frontmatter
\tableofcontents
\mainmatter
\chapter{INFORMAZIONI}
\lipsum[1]
\section{First section}
\lipsum
\chapter{ANOTHER}
\lipsum[2]
\end{document}

Definiste un mystyleestilo de capítulo pero no lo usaste. ¿Por qué?

información relacionada