Tag Info

New answers tagged

0

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 ...


3

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, ...


1

I would make use of the needspace package and insert a \Needspace{<len>} just before the chapter heading: \usepackage{needspace}% http://ctan.org/pkg/needspace %... \pretocmd{\addcontentsline}% {\ifltxcounter{#1@chapter}% {% \ifnumgreater{\value{chapter}}{\value{#1@chapter}}{% \setcounter{#1@chapter}{\value{chapter}}% ...


0

This may or may not work for you in terms of convenience, because it is not automated. But I try to address both the actual question (about TOC, LOF, & LOT) as well as your comment follow-up about chapter & section titles. In both cases, I use stacks to try to resolve the issue. First, I don't invoke \doublespacing until after the TOC, LOF, & ...


4

you can bury the list of figures or tables in a group, and turn off hyphenation entirely within the group: \begingroup \hyphenpenalty10000 \listoffigures \listoftables \endgroup there might be some overly-stretched lines or overfull boxes as a result, but it's really hard to say for sure without knowing what document class you're using. the tocloft ...


1

Use the \mbox command like this \mbox{supercalifragilisticexpialidocious}



Top 50 recent answers are included