Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have custom made list of problems, and list of figures generated by tocloft. I want the two list titles to be of the same style.

I looked into source of tocloft.sty and added a new command there:

  \vskip \cftafterloftitleskip

(based on \@cftmakeloftitle) It doesn't work -- during compilation I get

! Undefined control sequence.
l.45 \loptitle

I'm sure I have \usepackage{tocloft} before I call \loptitle.

I guess my mistake is that it's not enough to usepackage to load it all.

share|improve this question

1 Answer 1

Oh, I managed to get it with:


Still the question is interesting.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.