Skip to main content
23 votes
Accepted

make footnote number appear next to chapter title

You have to be careful of what might end up in the ToC. As such, use a different optional argument for \chapter: \documentclass{report} \usepackage[paper=a6paper]{geometry}% Just for this example \...
Werner's user avatar
  • 607k
20 votes

Start new chapter on same page

I have used this whenever I needed to add one chapter to the previous page: \begingroup \let\clearpage\relax \chapter{My Chapter} \endgroup It doesn't change the rest of the chapters, or anything ...
Tvde1's user avatar
  • 439
18 votes
Accepted

Is there a way to center align chapter titles?

This answer assumes you are using the report or book document classes. i.e. \documentclass[...]{report} or \documentclass[...]{book} is at the top of your document. The Easy Way The easiest way to ...
samthecodingman's user avatar
15 votes
Accepted

Having chapters shown as numbers and roman letters

Define \thechapter to do \Roman{chapter} in the frontmatter, then reset the chapter counter and redefine \thechapter to the standard \arabic{chapter}. I also add code for hyperref compatibility. \...
egreg's user avatar
  • 1.1m
14 votes

Appendix after each chapter

The (correct) answer given by @Gonzalo causes the numbering of tables and figures to reset in regular sections following an appendix. This is due to the \counterwithin command that is called at the ...
MPA's user avatar
  • 327
14 votes
Accepted

How can I make a command like \tag, but for chapter numbering?

One needs to redefine both \thechapter and \thesection immediately before the chapter in question, and one needs to revert to the default definitions immediately before the next chapter. If you have ...
Mico's user avatar
  • 514k
14 votes
Accepted

Change "chapter" to "Chapter" - How to do this using autoref?

The manual of the hyperref package explains how to achive this on page 17. Edit: This answer assumes that you actually want to use the babel package. If this is not the case, just redefine \...
GuM's user avatar
  • 21.7k
13 votes
Accepted

Why does starting a new chapter makes footnotes start at 2?

This "bug" was introduced in LaTeX, from changes.txt: 2015-01-10 David Carlisle ltcounts.dtx: Reset all within counter levels (latexrelease) Each LaTeX counter is associated with a ...
Heiko Oberdiek's user avatar
12 votes

Uppercase, bold and underlined chapter title

Use the correct places for the various parts: the spacing before the rule should go in the last argument (the optional one), so you can finish the title argument with a one parameter macro such as \...
egreg's user avatar
  • 1.1m
12 votes

How to add double frame in tcolorbox?

There's no need for nested tcolorboxes, you could use an enhanced box with an additional borderline: \documentclass{book} \usepackage[explicit]{titlesec} \usepackage[many]{tcolorbox} \definecolor{...
Ignasi's user avatar
  • 137k
11 votes

Change "chapter" to "Chapter" - How to do this using autoref?

Whether you use babel or not, this works (no problem if you only use the English language – otherwise @Gustavo Mezzeti's answer is more appropriate): \documentclass[english]{book} \usepackage{...
Bernard's user avatar
  • 273k
11 votes
Accepted

Making the font size larger than \HUGE in chapter headings with memoir?

You're free to create a new macro called, say, \YUGE (sorry, I couldn't resist!), as \newcommand\YUGE{\fontsize{48}{60}\selectfont} or, if you want to go overboard completely, as \newcommand\YUGE{\...
Mico's user avatar
  • 514k
11 votes
Accepted

Traditional fancy chapter headings

I know I'm a bit late, but anyway :P I used the capabilities of titlesec along with the Victorian Ornaments from psvectorian and a few other simple commands. The psvectorian package is intended for ...
Phelype Oleinik's user avatar
10 votes

Chapter with background images in KOMA-Script

You can do a lot of things with KOMA-Script's chapter headings, if you redefine \chapterformat and \chapterlinesformat or \chapterlineswithprefixformat. If I interpret your question as How to use ...
Schweinebacke's user avatar
9 votes
Accepted

Uppercase, bold and underlined chapter title

You need to have a handle on the chapter title, and the only way to do this is to use the explicit option with titlesec: \documentclass{report} \usepackage[explicit]{titlesec} \usepackage{lipsum} \...
Werner's user avatar
  • 607k
9 votes
Accepted

Unexpected linebreak with makebox

If I add \showtokens{#3} in the body of the redefinition of \chapterlinesformat, I get > \interlinepenalty \@M Another Chapter\@@par . and this explains why the number ends up in the next line: \...
egreg's user avatar
  • 1.1m
9 votes

Replace part number by an acronym

The MWE in the question already contains a redefinition of \thechapter. This can be customized further by replacing the part counter \thepart with a new macro that contains the required abbreviation. ...
Marijn's user avatar
  • 38.8k
8 votes

How to remove chapter numbering without removing it from table of contents

None of the other solutions worked for me. Here's what worked: \tableofcontents \phantomsection \chapter*{Introduction} \addcontentsline{toc}{chapter}{Introduction} This is the beginning Note the ...
A T's user avatar
  • 4,123
8 votes

How to add some negative vertical space before a chapter title?

If you want to re-define the whole layout of chapter headings, you can use titlesec and its \titlespacing command. If you just want to change the vertical spacing, it's easy with xpatch: \...
Bernard's user avatar
  • 273k
8 votes
Accepted

Introduction as "chapter 0"

If you want to have "Introduzione" instead of "Capitolo 0" and also an additional heading, using standard class book you could redefine \@chapapp to "Introduzione" and \...
Schweinebacke's user avatar
8 votes

Wrong header in unnumbered chapter

Just simply add the command \chaptermark{Chapter name} after \addcontentsline, this should work: \documentclass{memoir} \usepackage{lipsum} \begin{document} \tableofcontents \chapter*{Acknowledgments}...
José Ignacio Cuevas Barrientos's user avatar
8 votes
Accepted

Attractive chapter titles and sections styles

Some code to start working. It mixes tcolorbox for lemmas and chapter title and tikzpictures for sections. Some comments before adopting it. I don't know how to pass parameters to titleformat then ...
Ignasi's user avatar
  • 137k
8 votes
Accepted

Different chapter name in toc, title of chapter, and header of page

In a comment of the OP is mentioned that option headings=optiontohead is used. KOMA-Script options headings=optiontohead, headings=optiontotoc and headings=optiontoheadandtoc activate the advanced ...
esdd's user avatar
  • 86.1k
8 votes
Accepted

How to add a subtitle to some chapters?

You can use \chapter[short title for toc]{long title}` This is for long titles that should show up shortened in the toc. \chapter[Title]{Title \\[1ex]\large{subtitle}} should work fine. \\[1ex] ...
nox's user avatar
  • 4,190
8 votes
Accepted

KOMA-Script scrbook: How to remove period after sections and subsections?

If only chapters should get a dot at the end of the numbers, you can use numbers=noenddot to remove the enddot for all numbers. The dot for chapters in headings and ToC can be added by \usepackage{...
esdd's user avatar
  • 86.1k
8 votes
Accepted

openright option for \part and not for \chapter

simplest, assuming you don't have many parts is to use openany and start each part with \cleardoublepage \part if you do not want the \cleardoublepage to be explicit then just use \part and put \...
David Carlisle's user avatar
8 votes
Accepted

How to switch off chapter and section numbering in the whole document?

From the KOMA-Script manual, section 3.16, "Document Structure": So to deactivate numbering of chapters, section, subsection etc. and only number parts, you can use \setcounter{secnumdepth}{\...
Schweinebacke's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible