I'm new to LaTeX and and trying to add hyperlinks to my ToC using the hyperref package. I noticed that the footnotes became linked, what is normal then I tried to disable it using
hyperfootnotes=false
but it has no effect.I created a class file to hold all my definitions. I'm not sure if this is happening because of that. Does anybody have an idea why
hyperfootnotes
is not working? Please check the class code below.
Code: Select all
Code, edit and compile here:
% Class definition\NeedsTeXFormat{LaTeX2e}\ProvidesClass{manuscript}[2013/03/23 Creative writing manuscripts class]%%String comparation\usepackage{etoolbox}%% Use conditionals\usepackage{ifthen}%% Parent class: book\LoadClass[a4paper,12pt,oneside]{book}% Necessary packages%% Sets the document to be UTF8 and allows specials chars (accents) to be used\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}%% Allows links inside document (only to toc)\usepackage[linktocpage=true,hyperfootnotes=false]{hyperref}%% Change line size of TOC\usepackage{tocloft}\setlength\cftparskip{-2pt}\setlength\cftbeforesecskip{1pt}\setlength\cftaftertoctitleskip{2pt}%% Loads hyphenization and typographic rules for Portuguese\usepackage[portuges]{babel}%% Better quality fonts for PS generation\usepackage{ae,aecompl}%% Sets the document to use Latin Modern fonts\usepackage{lmodern}%% Allows the document to use colors\usepackage{color}% Specific class settings
