1

I'd like to have my page numbers go from this: 2 to this { 2 }. Basically, I just want to add some decoration to the page numbers throughout a book.

Is there an easy way to do this?

Thanks for your help.

3
  • What document class are you using?
    – egreg
    Oct 23, 2014 at 10:39
  • One could redefine \thepage, but this would affect the way page numbers are printed everywhere. So a footer or header change is more appropiate
    – user31729
    Oct 23, 2014 at 10:41
  • I'm using the regular book...
    – Linter
    Oct 23, 2014 at 10:42

1 Answer 1

3

With the fancyhdr package you can define what is displayed in the header and footer. Getting your desired page numbers would require you to define

\fancyfoot[FC]{\{ \thepage \}}

in your preamble

EDIT: The F is not needed.

3
  • 1
    Welcome to TeX.SX! What's F for?
    – egreg
    Oct 23, 2014 at 10:55
  • @egreg, thank you. The F is actually not needed. I don't know why I've always been using it. Oct 23, 2014 at 11:18
  • That causes an error for me; I'll have to troubleshoot this a bit. Do I need to use \pagestyle{fancy} for this?
    – Linter
    Oct 23, 2014 at 11:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .