LaTeX template: Use black for internal links.
This ensures that the table of contents will not be colored. Also added commented-out code to use footnotes for internal links (for print purposes).
This commit is contained in:
parent
0fdef55bae
commit
3bc667281e
1 changed files with 12 additions and 18 deletions
|
@ -80,9 +80,6 @@ $if(tables)$
|
||||||
\usepackage{ctable}
|
\usepackage{ctable}
|
||||||
\usepackage{float} % provides the H option for float placement
|
\usepackage{float} % provides the H option for float placement
|
||||||
$endif$
|
$endif$
|
||||||
$if(url)$
|
|
||||||
\usepackage{url}
|
|
||||||
$endif$
|
|
||||||
$if(graphics)$
|
$if(graphics)$
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
% We will generate all images so they have a width \maxwidth. This means
|
% We will generate all images so they have a width \maxwidth. This means
|
||||||
|
@ -98,23 +95,20 @@ $endif$
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\usepackage[setpagesize=false, % page size defined by xetex
|
\usepackage[setpagesize=false, % page size defined by xetex
|
||||||
unicode=false, % unicode breaks when used with xetex
|
unicode=false, % unicode breaks when used with xetex
|
||||||
xetex,
|
xetex]{hyperref}
|
||||||
bookmarks=true,
|
|
||||||
pdfauthor={$author-meta$},
|
|
||||||
pdftitle={$title-meta$},
|
|
||||||
colorlinks=true,
|
|
||||||
urlcolor=blue,
|
|
||||||
linkcolor=blue]{hyperref}
|
|
||||||
\else
|
\else
|
||||||
\usepackage[unicode=true,
|
\usepackage[unicode=true]{hyperref}
|
||||||
bookmarks=true,
|
|
||||||
pdfauthor={$author-meta$},
|
|
||||||
pdftitle={$title-meta$},
|
|
||||||
colorlinks=true,
|
|
||||||
urlcolor=blue,
|
|
||||||
linkcolor=blue]{hyperref}
|
|
||||||
\fi
|
\fi
|
||||||
\hypersetup{breaklinks=true, pdfborder={0 0 0}}
|
\hypersetup{breaklinks=true,
|
||||||
|
bookmarks=true,
|
||||||
|
pdfauthor={$author-meta$},
|
||||||
|
pdftitle={$title-meta$},
|
||||||
|
colorlinks=true,
|
||||||
|
urlcolor=blue,
|
||||||
|
linkcolor=black,
|
||||||
|
pdfborder={0 0 0}}
|
||||||
|
% Uncomment next line if you want links as footnotes instead of hotlinks:
|
||||||
|
% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
|
||||||
$if(strikeout)$
|
$if(strikeout)$
|
||||||
\usepackage[normalem]{ulem}
|
\usepackage[normalem]{ulem}
|
||||||
% avoid problems with \sout in headers with hyperref:
|
% avoid problems with \sout in headers with hyperref:
|
||||||
|
|
Loading…
Add table
Reference in a new issue