Add option for ToC color

This commit is contained in:
Kaixhin 2015-04-01 17:46:53 +01:00
parent 1d55d84730
commit aee1b3dea7

View file

@ -159,7 +159,7 @@ $include-before$
$endfor$
$if(toc)$
{
\hypersetup{linkcolor=black}
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
}