TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using fncychap and hyperref together, the page number for references to the appendices are off. The Appendix A reference links to the first chapter, appendix B links to the second chapter, etc...



\chapter{One} \label{one}
This refers to the page for chapter 1: \autoref{appendix}.
The table of contents is also off.

\chapter{Two} \label{appendix}
This is the appendix


This creates a document where the references in the table of contents link appendix A to the wrong page number (page 2 instead of page 3).

share|improve this question
up vote 3 down vote accepted

The problem is the ordering of the packages. fncychap must come before hyperref:


will fix the references.

share|improve this answer
I'd add more: fancychap should not appear at all; but I'm biased. ;-) – egreg Oct 17 '12 at 12:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.