I'm taking study notes in latex and I want to read it in my kindle. So far I was able to get very good results using:


But for an e-reader is really helpful the TOC with links, and as I found useless the page numbering in an e-reader, I just want to remove it (also it looks very bad with 0.3in margin) from the the pages in the final pdf and from the TOC at the right end.

In order to remove the page numbers I've used:


But now I have several issues:

  1. With the command \thispagestyle{empty} the TOC is empty.
  2. If I remove \thispagestyle{empty}, still the TOC is empty (I think is because I use the * form for chapters, sections, etc.)
  3. When I remove \thispagestyle{empty} and use the numbered sectioning then the TOC have page numbers at the right side.

What I want is:

  • No page numbering at all, not in pages nor in TOC.
  • If it is possible no numbered sectioning.
  • Hyperlinks (this part is working just fine right now).

I hope here I could find a complete solution.

Note: I've tried with this Remove dots & Page numbers from TOC with no luck, I think one big problem in my approach could be the use of \thispagestyle{empty}.





\title{Notes about something}



\chapter*{First thought}



  • 1
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    Commented May 7, 2015 at 12:04
  • @ChristianHupfer I will do it i a minute, sorry for the delay. Commented May 7, 2015 at 12:59
  • Just added the MWE. Commented May 7, 2015 at 13:06

1 Answer 1


This should serve as a starting point.

\usepackage{blindtext}   %% for demo

    \chapfont ##1

  • Not working for me :( The TOC is still empty! I will post a image if you need it. Maybe is a problem with my latex configuration? Commented May 7, 2015 at 13:50
  • @xndrme Did you compile my code as such? Did it not compile?
    – user11232
    Commented May 7, 2015 at 13:52
  • Also when I click on the Contents link in the TOC it gets me to Heading on level 2(subsection) Commented May 7, 2015 at 13:52
  • Wait! Maybe I have a problem with my editor!? When I rerun the compilation it worked just fine! Commented May 7, 2015 at 13:54
  • @xndrme For table of contents, you have to compile atleast 2 times. Not a problem with editor.
    – user11232
    Commented May 7, 2015 at 13:55

You must log in to answer this question.

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