\NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{hypertoc}[2011/01/23 v0.1 pretty TOC links (UL)] %% Copyright (C) 2011 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu %% -- author-maintained in the sense of LPPL below -- %% %% This file can be redistributed and/or modified under %% the terms of the LaTeX Project Public License; either %% version 1.3c of the License, or any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% We did our best to help you, but there is NO WARRANTY. %% %% Please report bugs, problems, and suggestions via %% %% http://www.contact-ednotes.sty.de.vu %% %% Modifying |\@dottedtocline|: \let\HTOC@@line\@dottedtocline \renewcommand*{\@dottedtocline}[4]{% \HTOC@@line{#1}{#2}{#3}{\mathstrut#4\mathstrut}} %% `\mathstrut' is like `\vphantom{()}', it indeed expands to %% `\vphantom(' in \LaTeX\ (as in plain \TeX). %% %% Modifying |\l@section|: %% % TODO: next lines appropriate for 'acticle.cls' only!?---and %% % `\chapter' still missing ... \let\HTOC@@section\l@section \renewcommand*{\l@section}[1]{% \HTOC@@section{\mathstrut#1\mathstrut}} %% Leaving: \endinput %% %% == VERSION HISTORY == v0.1 2011/01/23 very first