Re: Hyperref e colore bordo nell’indice

#67116
Up
0
Down
::

LuglioM26″ post=66099Salve a tutti,

utilizzo il seguente codice

`\usepackage{hyperref}
\hypersetup{
pdftitle={},
pdfauthor={},
pdfsubject={},
pdfkeywords={},
menucolor=white
}`

ma ho provato anche

`\usepackage{hyperref}
\hypersetup{
pdftitle={},
pdfauthor={},
pdfsubject={},
pdfkeywords={},
colorlinks=false
}`

ed altro per togliere il bordo rosso di default dai link nell’indice, ma anche se la compilazione termina correttamente tale bordo rimane né riesco a cambiare colore che resta sempre e comunque il rosso.

Per completezza il preambolo contiene

`\documentclass[a4paper,10pt]{article}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{\thepage}
\rfoot{}

\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{amsmath,amssymb}
\usepackage{enumitem}

%TEOREMI ED OPERATORI
\usepackage{amsthm}

\theoremstyle{plain}
\newtheorem{thm}{Teorema}[section]
\newtheorem{cor}[thm]{Corollario}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposizione}

\theoremstyle{definition}
\newtheorem{defn}{Definizione}[section]

\theoremstyle{remark}
\newtheorem{oss}{Osservazione}

\newcommand{\tg}{\operatorname{tg}}

\newcommand{\tcb}[1]{\textcolor{blue}{#1}} % testo colorato in blue`

Grazie anticipato

Stefano

Carica il pacchetto xcolor e scrivi
`…
colorlinks=false,
allbordercolors=white,
…`
Ciao
Enrico

Go to top