I'm using tocstyle
in my document:
% table of contents customizations:
\usepackage{tocstyle}
\usetocstyle{standard}
\settocfeature{raggedhook}{\raggedright}
\settocfeature{leaders}{\hfill}
Which gives me this warning:
Writing index file book.idx
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/tocstyle.sty
Package tocstyle Warning: THIS IS A DEPRECATED ALPHA VERSION!
(tocstyle) USAGE OF THIS VERSION IS ON YOUR OWN RISK!
(tocstyle) EVERYTHING MAY HAPPEN!
(tocstyle) THE PACKAGE IS FROZEN WITH ALL IT'S BUGS!
(tocstyle) IT WILL BE REMOVED FROM KOMA-SCRIPT SOON!
(tocstyle) THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!
(tocstyle) Maybe it would be better, not to load this package.
What should I use instead?
Best Answer
With a KOMA-Script class you should use
tocbasic
. Note that the KOMA-Script class loadstocbasic
automatically.Example:
Run three times to get:
With a standard class you can use package
tocbasic
.Example:
Run three times to get: