Tag Info

New answers tagged

1

That the first part of the question requires such a hack method to solve is really unfortunate. tocloft is set up to define its very own heading formatting, and titles simply turns that off to use whatever is defined by the class (e.g. \section*). So there's no way within tocloft (yet) to change that to an unstarred section. I've added an issue in its ...


4

Somehow the \newlistof command seems to group (didn't check this, admittedly) the \refstepcounter command within. It's better to patch the \listofexamples, first stepping the section counter, than immediately correcting it back by decreasing it. This is achieved by the etoolbox package command \pretocmd, which is done in this case a little lazy, I ignored ...


3

The first part of this question can be resolved by incrementing the section counter automatically and inserting it into the table title manually, like this: \newcommand{\listexampletitle}{\addtocounter{section}{1}\thesection.~List of Examples} The second part of this question (how to remove the page numbers) can be answered by using the ...


2

I changed your given MWE. There are several mistakes included, for example should package hyperref be the last called package. I added the command \ihead[Test]{Beispiel 1} % [plain]{scrheadings} to show you that the part included with [] is shown on the first page of a chapter or TOC and the part included in {} is showed on all other pages ...


2

Memoir includes many parts of other packages, including tocloft, so it will be better to search the memoir manual for the specific commands used in that class. Where K stands for the name of an item type entered into the contents lists (see memoir manual table 9.3), use \cftKfont to adjust the section titles and \cftKpagefont to set the page numbers. I ...


1

Labels should contain only ASCII characters, otherwise special characters, that are internally represented with control sequences, expand and you find terrible things in referring to such labels; if you change your label to equ:eqauation, getting rid of that é, everything will run smoothly. It is less French, but it works; after all labels should not be read ...


2

You can use \cftfigaftersnum as \renewcommand{\cftfigaftersnum}{~~--} I am not sure of whether you want page numbers or not. If not, add this also: \cftpagenumbersoff{figure} Code: \documentclass{book} \usepackage{tocloft} \renewcommand{\cftfigfont}{\textsc{Figure} } \renewcommand{\cfttabfont}{\textsc{Tableau} } ...


2

I would suggest against renewing \thechapter to include the word prefix CHAPTER. Instead, add that to \cftchappresnum. That is, use something like: \renewcommand\cftchappresnum{CHAPTER } \renewcommand\thechapter{\Roman{chapter}} Then, to center the chapter heading, you can use titlesec: \usepackage{titlesec} \titleformat{\chapter}[display] ...


0

You can use \renewcommand{\chaptername}{} to get rid of the 'Chapter' in the chapter title. If you also want to center both lines of the chapter heading, add: \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\huge\bfseries\centering}{\thechapter}{20pt}{\Huge} Making you MWE look like this: \documentclass{report} \usepackage{tocloft} ...



Top 50 recent answers are included