Hot answers tagged

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 \...
egreg's user avatar
  • 1.1m
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: \...
esdd's user avatar
  • 85k
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}...
David Carlisle's user avatar
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 ...
gernot's user avatar
  • 48.7k
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
  • 35.9k
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 ...
Bernard's user avatar
  • 270k
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{...
esdd's user avatar
  • 85k
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 ...
esdd's user avatar
  • 85k
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 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'...
Mico's user avatar
  • 495k
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 ...
Ulrike Fischer's user avatar
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{\...
Timm's user avatar
  • 803
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{\...
Werner's user avatar
  • 598k
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 \...
Steven B. Segletes's user avatar
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} ...
Schweinebacke's user avatar
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[...
Ulrike Fischer's user avatar
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\...
Bernard's user avatar
  • 270k
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. ...
Marcel Krüger's user avatar
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} \...
egreg's user avatar
  • 1.1m
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} %\...
Aubrey Blumsohn's user avatar
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 \...
Fran's user avatar
  • 79.4k
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 ...
egreg's user avatar
  • 1.1m
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 ...
Rusca8's user avatar
  • 186
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 \...
Peter Wilson's user avatar
  • 27.8k

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