New answers tagged

1

Firstly do not modify any of the .cls files themselves. For the memoir class: % secnumprob2.tex SE 516274 reduce space after section number \documentclass{memoir} \newlength{\mylength} % a length for convenience \begin{document} \chapter{One} \section{Section} \setlength{\mylength}{0.5em} \setsecnumformat{\csname the#1\endcsname\hspace{\mylength}} \...


1

This should do what you want: \usepackage{fmtcount} \usepaclage{titlesec} \titleformat{\chapter}[display]{\huge\filright}{\chaptername \Numberstring{chapter}}{2ex}{} Of course, adjust the font size and the vertical spacing added to your needs. If you have unnumbered chapters, you'll need to add a different format for them, using the default hang style: \...


2

\documentclass[english]{article} \usepackage{titlesec} \titleformat{\section}{\slshape\MakeUppercase}{\thesection.}{0.5em}{} \usepackage{babel} \begin{document} \tableofcontents \section[I want section title to be uppercase]{I want section title to be uppercase\protect\footnotemark} \footnotetext{But I want the footnote text of a section title to be not ...


0

You can redefine \cleardoublepage as described here: \makeatletter \renewcommand*\cleardoublepage{\clearpage\if@twoside \ifodd\c@page \hbox{}\newpage\if@twocolumn\hbox{}% \newpage\fi\fi\fi} \makeatother As explained in the link, the book class uses this command at the end of each chapter. \documentclass[twoside]{book} \usepackage[paperheight=9....


2

Use \RedeclareSectionCommand to change the settings for a single section level or \RedeclareSectionCommands to change the settings for a list of section levels. \documentclass{scrbook} \usepackage{blindtext} \RedeclareSectionCommand[ beforeskip=2ex,% skip before section heading afterskip=1ex,% skip after section heading afterindent=true% indent the ...


0

Use the \DeclareSectionCommand, see page 474 in the manual: \DeclareSectionCommand[% beforeskip=3.25ex plus 1ex minus .2ex, afterskip=-1em, ]{section}


2

In the announcement for the new release 3.27 at https://komascript.de/release3.27 you can find Der ziemlich üble Hack, der auf Kosten diverser Möglichkeiten von KOMA-Script und unter Nutzung diverser interner Makros von titlesec die Verwendung von titlesec mit KOMA-Script-Klassen eingeschränkt ermöglicht hat, wurde entfernt. Translated The ...


3

You observe that I am having some trouble when using \part{\Huge Literature review and State of the art } For sure, don't ever include fontsize-related directives in the body of a sectioning command. I take it that you want the numbering part of the part-level header -- say, "Première Partie" -- to have the font size, viz., \Huge as the body of the ...


Top 50 recent answers are included