17
votes
Accepted
Babel: Part names in French for 20+ (more than twenty)
You can replace the loop defined in french.ldf that ends at twenty using fmtcount.
\documentclass[a4paper,11pt,openany,french]{book}
\usepackage[french]{babel}
\usepackage{fmtcount}
\makeatletter
\...
12
votes
How to increase the numwidth for a part in ToC?
With a KOMA-Script class there is no additional package needed. You can use
\RedeclareSectionCommand[
tocnumwidth=2cm
]{part}
to change the space for the part number in TOC to 2cm.
Code:
\...
11
votes
Accepted
Redefine \part style
One option would be to use the epigraph package for the epigraph and the titlesec package to easily customize the part heading format. A little example (notice that \epigraphhead has to be used before ...
11
votes
Accepted
How should I work with beamer, TOC and parts?
For later reference, the \tableofcontents command in beamer only lists entries for the current part. The optional parameter [part=N] will list the entries for part N. This is documented in section 10....
11
votes
How to write text after \part
You could make the text an optional argument to \part for example
\documentclass{report}
\makeatletter
\let\old@endpart\@endpart
\renewcommand\@endpart[1][]{%
\begin{quote}#1\end{quote}%
\old@endpart}...
9
votes
How do you get rid of page numbers on \part pages?
The first page of a part or chapter explicitly uses the page style plain. If you want to change this behaviour, you can make plain to mean the same as empty by adding the following lines to your ...
9
votes
Accepted
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.
...
9
votes
Babel: Part names in French for 20+ (more than twenty)
The only solution I can find consists in modifying french.ldf (save a copy of the original first). The ordinals used for parts are determined in lines 945–950 of this file. Replace the last line
...
8
votes
Accepted
Change \part counter to text: from I to ONE
Use the fmtcount package and specify the part counter representation in the following way:
\usepackge{fmtcount}% http://ctan.org/pkg/fmtcount
\renewcommand{\thepart}{\NUMBERstring{part}}
Here is a ...
8
votes
Accepted
Adding space in ToC between the part number and part title
The memoir manual says on page 156 that
the \book, \part and \chapter numbers are typeset inside a box of certain fixed withs
In order to get a fixed width after the part number, we have to get ...
8
votes
Accepted
Several appendix chapters after each part in book
You can make use of the appendix package.
\documentclass{book}
\usepackage{appendix}
\usepackage{chngcntr}
% To reset chapter counter for every part
\counterwithin*{chapter}{part}
% To reset ...
8
votes
Accepted
KOMAscript: How to 'flush bottom' part title page's preamble?
The content of the part preamble is set in a \parbox, so flush bottom it seems to be not possible.
Maybe you are using scrlayer-scrpage for header and footer? Then you can define a new page style for ...
7
votes
Accepted
Supress page numbers for \part in toc
You're taking the wrong approach. If you don't want any element to be numbered, just tell LaTeX so.
\documentclass[final]{book}
\usepackage{lipsum}
\usepackage{tocloft}
\renewcommand{\cftchapleader}{...
7
votes
Accepted
Thumb index for parts
Update
The code below has been updated to use the new syntax for background. The updated syntax was provided by Gonzalo Medina to replace the code my original answer borrowed from this answer. See ...
7
votes
How to write text after \part
It would be easy if you can use a KOMA-Script class:
\documentclass{scrreprt}
\usepackage{blindtext}
\begin{document}
\tableofcontents
\setpartpreamble[u][\textwidth]{\vspace*{1cm}\blindtext}
\part{...
7
votes
Accepted
Why does the use of sections and parts generate bbl errors?
Your language commands are not robust. You should either use \addsec{\protect\pl ...} or define them as robust:
\newcommand{\languagechange}[3]{%
%\wlog{Lang: #3}%
\newcommand{#1}{}% to check ...
6
votes
Accepted
Hyperref: Include part number for cross-references to chapters
The LaTeX kernel provides a nifty mechanism for "prefixing" material to cross-references to counters. For every counter variable defined somewhere via a \newcounter macro named, say, somecounter, ...
6
votes
\part Heading style
Another solution using the ebgaramond font and its lettrine initials. I've tried to make the code as generic as possible, but some parameters (used in raisebox mainly) may depend on the font. I also ...
6
votes
How to get parts without prefixes?
Well, the documentation of koma-script helped me to find a solution after all:
\documentclass{scrbook}
\renewcommand{\partheadmidvskip}{\enskip}
\renewcommand{\partformat}{\thepart\autodot}
\...
6
votes
Accepted
Patch \part to do something with optional and mandatory argument
In order for the patching to work as expected, you need to understand how the function you're patching is constructed. Here is \@part as it's defined in scrreprt.cls:
\def\@part[#1]#2{%
\ifnum \scr@...
6
votes
Accepted
Any command from KOMA-Script to set part title and partnumber in one line?
Using \RedeclareSectionCommand you only have to change the style key to style=section and to set indention=0pt for part. Additionally you have to redefine partformat to insert a space between the part ...
6
votes
Accepted
Suppress "Part" in report
Just redefining \partname to do nothing is not sufficient, because of the space inserted between the part name and the number, which is not suppressed.
A kludge is to redefine \partname to gobble the ...
6
votes
Accepted
Customizing part and chapter section
Ok, I tried some things and hope I got it right, but you will need to adjust it to your needs. It is basically a combination of the both examples you printed.
\makeatletter
\def\thickhrulefill{\...
6
votes
Accepted
Customizing fancyhdr
report does not provide marks for the part level. You could use scrreprt and scrlayer-scrpage instead of report and fancyhdr:
\documentclass{scrreprt}
\usepackage[autooneside=false]{scrlayer-scrpage}
...
6
votes
Accepted
Replace \part of the appendix of Legrand Orange Book with letters of the alphabet instead of arabic numbers
Undo the changes in structure.tex from your previous question regarding part numbering or use the original structure.tex.
Add this to your preamble or at the end of structure.tex:
\documentclass[...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
parts × 364table-of-contents × 102
sectioning × 87
chapters × 47
koma-script × 32
titlesec × 30
memoir × 26
header-footer × 25
numbering × 24
books × 19
beamer × 17
hyperref × 17
fancyhdr × 17
formatting × 14
tocloft × 13
cross-referencing × 12
page-breaking × 11
page-numbering × 11
counters × 10
titletoc × 10
exam × 9
graphics × 8
appendices × 8
spacing × 7
report × 7