Add option for ToC color
This commit is contained in:
parent
1d55d84730
commit
aee1b3dea7
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ $include-before$
|
||||||
$endfor$
|
$endfor$
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
{
|
{
|
||||||
\hypersetup{linkcolor=black}
|
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
|
||||||
\setcounter{tocdepth}{$toc-depth$}
|
\setcounter{tocdepth}{$toc-depth$}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue