I try to make a thesis in pdf and i like to put two things in:
- Change the style of chapters (Lenny);
- Put the chapter in a header top on the page;
When i use \usepackage{fancyhdr}
to do that the bookmarks disappear !
I put here my template so you can see better where I am wrong:
\documentclass[11pt,a4paper]{book}
\usepackage[dvips,colorlinks=true]{hyperref}
\hypersetup{
bookmarksnumbered=false,
linkcolor=black,
citecolor=black,
pagecolor=black,
urlcolor=black,
}
\usepackage{amsmath,amstext}
\usepackage{amsthm}
\usepackage{amsfonts}
\theoremstyle{plain}
\newtheorem{thm}{Teorema}[chapter]
\newtheorem{cor}[thm]{Corollario}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposizione}
\theoremstyle{definition}
\newtheorem{defn}{Definizione}[chapter]
\theoremstyle{remark}
\newtheorem{oss}{Osservazione}
\usepackage[english,italian]{babel}
\frenchspacing
\usepackage{verbatim}
\usepackage{alltt}
\usepackage{graphicx}
\graphicspath{{./imgs/}}
\usepackage{subfigure}
\usepackage[bf]{caption2}
\addtolength{\oddsidemargin}{30pt}
\addtolength{\evensidemargin}{-30pt}
\usepackage{multirow}
\usepackage{natbib}
\usepackage{lscape}
\usepackage{fancyhdr}
% \usepackage[Sonny]{fncychap}
% \usepackage[]{hyperref}
Thanks a lot for Your help !!!!
\documentclass{...}
and ending with\end{document}
.hyperref
should be loaded as last package: tex.stackexchange.com/questions/1863/…