Tag Info

New answers tagged

1

You would have to adjust the way tocloft constructs the LoF entry by modifying the margin lengths that are set. Below is a redefinition of \l@figure from tocloft to provide you with the necessary output: \makeatletter \renewcommand*{\l@figure}[2]{% \ifnum \c@lofdepth >\z@ \vskip \cftbeforefigskip {%\leftskip \cftfigindent\relax ...


4

A possible solution using tocloft: \documentclass{article} \usepackage[ngerman]{babel} \usepackage[titles]{tocloft} \usepackage{graphicx} \newlength\mylen \cftsetindents{figure}{0em}{0em} \let\orignumberline\numberline \let\origlistoffigures\listoffigures \renewcommand\listoffigures{% \renewcommand\numberline[1]{% ...


3

You can add an empty \hbox after the second \hfill (See egreg's answer to What is \null and when do we need to use it?): \documentclass{article} \usepackage{tocloft} \renewcommand{\cftloftitlefont}{\hfill\bfseries} \renewcommand{\cftafterloftitle}{\hfill\null\par\noindent\textnormal{Z}\hfill \textnormal{PAGE}} \begin{document} \listoffigures \noindent ...


3

You should use \cftafterequtitle to place your EQUATION...PAGE headings, and set an appropriate length \cftafterequtitleskip to establish the distance between the entire heading and your first entry (see section 2.2 Changing the titles in the tocloft documentation): \documentclass{article} \usepackage[paper=a6paper,margin=2cm]{geometry}% Just for this ...


1

Both tex4ht and tocloft redefine table of contents mechanism, so they clash each other. Because you can't use tocloft settings with tex4ht anyway, it is best to to disable tocloft. From fast look at tocloft source code, it seems that we can use \if@cftnctoc conditional for this purpose, when set to true, no redefinitions take place. Fortunately, all ...


0

Since classicthesis uses the tocloft package internally to generate the ToC, adding a "Part~" string can be achieved with the following code (assuming that your LaTeX installation has the latest version of the tocloft package): \renewcommand{\cftpartpresnum}{Part~} \newlength{\mylen} % a "scratch" length \settowidth{\mylen}{\cftpartpresnum} % extra space ...


3

What you want to achieve can be done using tocloft and the families of commands \cftXfont (for the font attributes of the title and numbering of the entries), and \cftXpagefont (for the font attributes of the page numbers of the entries). The code below shows an example in which I used \Large and bold-face for chapter entries, \Large for section entries, ...



Top 50 recent answers are included