- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 16 anni, 9 mesi fa da .
-
Topic
-
Ciao a tutti, vorrei includere il pacchetto hyperref nel mio documento in modo da avere i riferimenti incrociati nel pdf per tutti miei \label \ref, pero’ mi da’ un errore di compilazione di cui non capisco il motivo.Copio qui sotto il codice fino al begin document…con il pacchetto hyperref commentato funziona, appena tolgo il % non funziona piu’. Qualcuno ha qualche idea? grazie mille
\documentclass[12pt,a4paper,twoside,openany]{amsbook}
\usepackage{tabularx}
\usepackage{rotating}
\usepackage{color}
\usepackage{pifont}
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{acronym}
\usepackage{subfigure}
\usepackage[english]{minitoc}
\usepackage{boxedminipage}
\usepackage{longtable}
%\usepackage{hyperref}\makeatletter % Tables numbered by chapters
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
\makeatother\makeatletter % Figures numbered by chapters
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
\makeatother\makeatletter % Reference list option change
\renewcommand\@biblabel[1]{[R#1]} % from [1] to [R1]
\makeatother %\makeatletter
\def\@cite@ofmt#1{\hbox{R#1}}
\makeatother% to redefine thebibliography environment
\makeatletter
\renewcommand{\@bibtitlestyle}{%
\@xp\section\@xp*\@xp{}}
\makeatother\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{\leftmark}%%%%%%%%%% Format of the PAGE
\setlength{\parindent}{0em}
\setlength{\parskip}{6pt plus 2pt}
\setlength{\headsep}{1.5cm}%%%%%%%%%% Math Definition and theorem
\newtheorem{teo}{Theorem}[section]
\newtheorem{coroll}{Corollary}[section]
\theoremstyle{definition}
\newtheorem{defi}{Definition}[section]
\theoremstyle{definition}
\newtheorem{rem}{Remark}[section]
\theoremstyle{definition}
\newtheorem{es}{Example}[section]%%%% index depth %%%%%%%
\setlength{\mtcindent}{24pt}
\renewcommand{\mtcfont}{\small\rm}
\setcounter{tocdepth}{1} \setcounter{minitocdepth}{2}
- Devi essere connesso per rispondere a questo topic.