16
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
\...
13
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:
\...
12
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
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
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{...
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 ...
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
\...
8
votes
Accepted
How to start at Part 0 in LaTeX?
If you're using the article document class, part-level headers are numbered with uppercase-Roman numerals: I, II, III, etc. Because the ancient Romans didn't know about the number "0", there'...
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
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
How to change "part" to "chapter"
Adjust \partname and make yourself a macro called \chapter so that things make sense conTeXtually (...see what I did there...?):
\documentclass{amsart}
\renewcommand{\partname}{Chapter}
\newcommand{\...
6
votes
Accepted
Add space between \part and \subpart
Maybe this? I would note the MWE had several typographical errors (missing }, missing \end, etc.) in it that had to be corrected.
However, what it would appear you are requesting is additional \...
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[...
6
votes
Accepted
Replace part number by an acronym
Here is a simple solution, with an \acropart command to be used just after the \part command:
\documentclass[oneside]{scrbook}
\counterwithin*{chapter}{part}
\makeatletter
\DeclareRobustCommand\...
6
votes
Accepted
Capitalize French part name
The french babel support tries to ensue that constructs like \partname~\thepart automatically get translated into "Première partie" by (locally) changing \thepart to suppress the number. ...
6
votes
Capitalize French part name
The command \partname is defined to do complicated things that in your case are not needed.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[english,french]{babel}
\usepackage{titlesec}
\...
5
votes
Accepted
Add "Part" before the number in Toc when using titlesec package
You want to avoid using both titletoc/titlesec and tocloft. Choose one or the other. Here is a model you can adapt.
\documentclass{book}
\usepackage{titlesec,titletoc}
%\usepackage{tocloft}
%\...
5
votes
Accepted
How do you set page numbering on the "part" page?
The problem is simply that \pagenumbering{arabic} should be before \part{} but after pages with roman count.
\documentclass[12pt,draft,twoside]{report}
% Little pages for the MWE
\...
5
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 ...
5
votes
Accepted
Using the exam document class, how to get multiple question parts on the same line?
Probably the easy way is using the multicol package:
\usepackage{multicol}
Then you can start the columns before your parts and end them afterwards:
\documentclass{exam}
\begin{document}
\boxedpoints
...
5
votes
How to write text after \part
If you use the memoir class, which encompasses both the book and report classes,then:
\begin{document}
\nopartblankpage
% title pages, etc
\part{Title of the Part}
Some text on the Part page
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
parts × 406table-of-contents × 113
sectioning × 89
chapters × 53
koma-script × 33
titlesec × 33
numbering × 29
memoir × 26
header-footer × 25
books × 22
beamer × 19
hyperref × 18
formatting × 17
fancyhdr × 16
page-numbering × 15
tocloft × 14
cross-referencing × 13
page-breaking × 12
counters × 11
exam × 11
titletoc × 11
titles × 9
book-design × 9
tikz-pgf × 8
appendices × 8