tlfloat.sty 735 B

12345678910111213141516171819202122232425262728293031
  1. % `tlfloat' package
  2. %
  3. % This package should be used instead of float.sty, when used
  4. % with the thloria class.
  5. %
  6. % D. Roegel
  7. %
  8. \NeedsTeXFormat{LaTeX2e}[1995/12/01]
  9. \ProvidesPackage{tlfloat}
  10. [1999/06/01 float package for thloria (DR)]
  11. \RequirePackage{float}
  12. \renewcommand\listof[2]{%
  13. \@ifundefined{ext@#1}{\float@error{#1}}{%
  14. \if@twocolumn
  15. \@restonecoltrue\onecolumn
  16. \else
  17. \@restonecolfalse
  18. \fi
  19. \if@classic@section
  20. \global\@classic@sectionfalse
  21. \chapter*{#2}
  22. \else
  23. \SpecialSection{#2}
  24. \fi
  25. \generic@mark{#2}%
  26. \@namedef{l@#1}{\@dottedtocline{1}{1.5em}{2.3em}}%
  27. \@starttoc{\@nameuse{ext@#1}}%
  28. \if@restonecol\twocolumn\fi
  29. }%
  30. }
  31. \endinput