I am using titlesec
to define the format of my chapter titles, for instance:
\titleformat{\chapter}[hang]{\Large\bfseries}{}{0em}{\LARGE\bfseries}
I would like to be able to specify the same format (i.e., extract the \LARGE\bfseries
bit) for a portion of normal text.
Motivation: I am typesetting an anthology where one of the authors occasionally starts a new chapter alongside a figure, in a table, inbetween paragraphs, and so on. So while most of my chapters start on a new page and I don't want to change the default, I need to "fake" a new chapter in several places. My idea is to set it with font defined by \titleformat
, increment counters if necessary (the book does not have numbered chapters so probably not) and add to contents with \addcontentsline
.