# Tag Info

0

Since the article class has no chapters, the solution is to (a) use a different document class, or (b) use \cftsecfont. \documentclass[12pt]{article} \usepackage{tocloft} \renewcommand{\cftsecfont}{\LARGE\scshape} \begin{document} \tableofcontents \section{first section} \section{second section} \end{document}

0

Alright, at least I figured out how to get rid of the issue, although I couldn't quite find the origin of it. First of all thank you very much for your help @cfr . As I tried to compile a fresh sample of classicthesis and the error still kept popping up, I switched to my linux distribution and successfully hit the pdflatex to create an error free version. ...

2

This will solve the problem: \def\cftchapteraftersnum{.} Edit: try with this MWE: \documentclass[a4paper,12pt,openany,leqno,footinclude=true]{memoir} \usepackage{tocloft} \def\cftchapteraftersnum{.} \begin{document} \tableofcontents \chapter{blabla} \section{blab blab} \chapter{bleble} \section{bleb bleb} \end{document} BTW: ...

3

First of all: There is no MWE in the question so I do not know which code from Anhangsverzeichnis do you use. As I have understand from your question on the KOMA-Script website you want something like that Here is a suggestion to get this ugly result: % based on http://www.komascript.de/node/458 but with ugly modifications ...

0

The hard part was getting the hanging indentation right. \documentclass{report} \makeatletter \renewcommand*\l@chapter[2]{% \ifnum \c@tocdepth >\m@ne \addpenalty{-\@highpenalty}% \vskip 1.0em \@plus\p@ \setlength\@tempdima{1.5em}% \begingroup \settowidth{\@tempdimb}{\normalsize\bfseries Chapter }% \advance\leftskip by ...

2

This is how I do it. I don't use the endfloat package. Normal way to include figure \begin{figure} \centering \includegraphics[width=4in]{somefigure.png} \caption{some caption.} \label{Fig: somefigure} \end{figure} %--------- modification --------- \usepackage{caption} \captionsetup{labelformat=empty} \begin{figure} \centering ...

6

If the skip should be increased before any \section entry \cftbeforesecskip is the right command to be changed. Adjust the value to your needs. \documentclass{book} \usepackage{tocloft} \usepackage{blindtext} \renewcommand{\cftbeforesecskip}{10pt} \begin{document} \tableofcontents \chapter{A chapter} \section{A section} \subsection{A subsection} ...

1

What works in the toc doesn't work in the caption, so you will need to specify both (especially if you don't want hanging indentation in the caption). \documentclass[11pt]{article} \usepackage{tocloft} \usepackage{caption} \newcommand{\mycaption}[1]% duplicate long and short captions {\caption[\addtolength{\leftskip}{\bibindent}\hspace{-\bibindent}#1]{#1}} ...

0

Here is an approach. I added package etoc to the class file. Class file songsheets.cls: % modified by jfbu jeudi 05 novembre 2015 at 15:18:26 % (added etoc use) \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{songsheets} [2015/10/01 v0.9h Class for song documentation] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} \ProcessOptions ...

Top 50 recent answers are included