Skip to content

Commit

Permalink
color tables of contents black
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Sep 20, 2024
1 parent 53014e4 commit 89aeecc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions template/tcg.tex
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,15 @@
beforeskip=.5\baselineskip,
afterskip=0em]{subparagraph}

% Color the link text black in tables of contents.
\let\OldTableOfContents\tableofcontents
\renewcommand{\tableofcontents}{
{
\hypersetup{linkcolor=black}
\OldTableOfContents
}
}

% Allow TCG documents to use '\beginappendices' to easily mark the transition to appendices.
\usepackage{appendix}
\newcommand{\beginappendices}{
Expand Down

0 comments on commit 89aeecc

Please sign in to comment.