git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: Use black for internal links.
3bc6672John MacFarlane
default.latex+12−18
@@ -80,9 +80,6 @@ $if(tables)$
80\usepackage{ctable}
80\usepackage{ctable}
81\usepackage{float} % provides the H option for float placement
81\usepackage{float} % provides the H option for float placement
82$endif$
82$endif$
83−$if(url)$
84−\usepackage{url}
85−$endif$
86$if(graphics)$
83$if(graphics)$
87\usepackage{graphicx}
84\usepackage{graphicx}
88% We will generate all images so they have a width \maxwidth. This means
85% We will generate all images so they have a width \maxwidth. This means
@@ -98,23 +95,20 @@ $endif$
98\ifxetex
95\ifxetex
99 \usepackage[setpagesize=false, % page size defined by xetex
96 \usepackage[setpagesize=false, % page size defined by xetex
100 unicode=false, % unicode breaks when used with xetex
97 unicode=false, % unicode breaks when used with xetex
101− xetex,
98+ xetex]{hyperref}
102− bookmarks=true,
103− pdfauthor={$author-meta$},
104− pdftitle={$title-meta$},
105− colorlinks=true,
106− urlcolor=blue,
107− linkcolor=blue]{hyperref}
108\else
99\else
109− \usepackage[unicode=true,
100+ \usepackage[unicode=true]{hyperref}
110− bookmarks=true,
111− pdfauthor={$author-meta$},
112− pdftitle={$title-meta$},
113− colorlinks=true,
114− urlcolor=blue,
115− linkcolor=blue]{hyperref}
116\fi
101\fi
117−\hypersetup{breaklinks=true, pdfborder={0 0 0}}
102+\hypersetup{breaklinks=true,
103+ bookmarks=true,
104+ pdfauthor={$author-meta$},
105+ pdftitle={$title-meta$},
106+ colorlinks=true,
107+ urlcolor=blue,
108+ linkcolor=black,
109+ pdfborder={0 0 0}}
110+% Uncomment next line if you want links as footnotes instead of hotlinks:
111+% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
118$if(strikeout)$
112$if(strikeout)$
119\usepackage[normalem]{ulem}
113\usepackage[normalem]{ulem}
120% avoid problems with \sout in headers with hyperref:
114% avoid problems with \sout in headers with hyperref: