aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaixhin <design@kaixhin.com>2015-04-01 17:46:53 +0100
committerKaixhin <design@kaixhin.com>2015-04-01 17:46:53 +0100
commitaee1b3dea7152d0d6c52501d5edbdf0ded8518c9 (patch)
tree3137073412f1cfefafc36e57eafd219501e3a8dd
parent1d55d847308dd681c80312e0d9549d5c765bf4cc (diff)
downloadpandoc-aee1b3dea7152d0d6c52501d5edbdf0ded8518c9.tar.gz
Add option for ToC color
-rw-r--r--default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.latex b/default.latex
index a3f895000..b993e6f9b 100644
--- a/default.latex
+++ b/default.latex
@@ -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
}