2

The class is inspired by amsart, but defines \l@figure in a wrong way. I don't have smfbook available, I guess the problem and fix are the same. \documentclass{smfart} \usepackage{graphicx} % fix the wrong definition \makeatletter %\def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}} % <--- original \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{1.5pc}{}} \...


2

The argument of numberline contains the number: \documentclass[12pt,openany]{book} % Contents page \usepackage[titles]{tocloft} \renewcommand{\cftchapfont}{\itshape} \renewcommand{\cftchappagefont}{\normalfont} \renewcommand{\numberline}[1]{Chapter #1 } % chapter headings \renewcommand\thechapter{\arabic{chapter}} \usepackage[center,sc]{titlesec} % ...


2

The problem seems to be an incompatibility between algorithm2e and newfloat package, so it seems to be sufficient to load the newfloat package before the algorithm2e package: \documentclass{book} \usepackage{newfloat} \usepackage{algorithm2e} \usepackage[newfloat]{minted} \begin{document} \listofalgorithms \chapter{A chapter} \begin{algorithm}\caption{An ...


2

It seems to work like documented in section 5 "Customizing lists" of the bicaption package documentation, i.e. using the option listtype+=... for this purpose: \documentclass{ctexbook} \usepackage{caption,bicaption,graphicx} \captionsetup[figure][bi-second]{name=Figure} \usepackage{mwe} % Use the bicaption package with list type "figureEng&...


1

Here is a possible solution There are two parts. First we redefine \partnumberline to get rid of the boxing and we'll add a lot of out formatting there. Note that the title part of the toc entry will come as \partnumberline{number}Title Next we patch \l@part to get rid of some grouping. \documentclass[smallroyalvopaper,11pt,twoside]{memoir} % formatting ...


1

Some patchwork corrects the problem: Writing algorithms to the <jobname>.lol rather than <jobname>.loa. Update \listofalgorithms to load <jobname>.lol rather than <jobname>.loa. \documentclass{book} \usepackage{algorithm2e} \usepackage[newfloat]{minted} \makeatletter % Write algorithm to <jobname>.lol rather than <...


1

KOMA-Script class scrbook loads and uses package tocbasic for ToC, LoF, LoT etc. So you could use \DeclareNewTOC to declare a new ToC for the appendix content. In the appendix you have to redefine \ext@toc to the extansion of the new TOC. Unfortunately I do not know where the appendix content should be printed. Maybe you want \documentclass[numbers=noenddot]{...


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