From 89aeecc16905a3d537bd0de5526e689b726b1ed8 Mon Sep 17 00:00:00 2001 From: Chris Fenner Date: Fri, 20 Sep 2024 16:03:01 +0000 Subject: [PATCH] color tables of contents black --- template/tcg.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/template/tcg.tex b/template/tcg.tex index cea2c92..c3bcee2 100644 --- a/template/tcg.tex +++ b/template/tcg.tex @@ -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}{