I got the following code for making the chapter appearance in [report] mode, which I would like to keep:
\renewcommand{\thechapter}{\arabic{chapter}}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\hfill\fontsize{60}{50}\selectfont\color{gray}\textbf{\thechapter}}
{-2ex}
{\filleft\fontsize{30}{50}\selectfont\scshape}
[\vspace{-2ex}]
It creates an arabic number in the color gray matching the chapter number. Then, in a new line, it creates the title of the chapter (all right aligned). But what I want is to have the number and title on the same line (to save space in this specific report). I have tried the following:
\renewcommand{\thechapter}{\arabic{chapter}}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\hfill\fontsize{60}{50}\selectfont\color{gray}\textbf{\thechapter}
\filleft\fontsize{30}{50}\selectfont\scshape}
[\vspace{-2ex}]
But it doesn't seem to change anything. I guess it is a simple task, but I need help :(
Aucun commentaire:
Enregistrer un commentaire