I have the following formatting requirements for my page numbering:

  1. For chapter pages, centered on the bottom (half an inch from bottom edge of the paper)
  2. For normal pages, right justified on the top-right corner (half an inch from the top edge and half an inch from the right edge if the paper)

Is there any way to do this with only titlesec?

Edit 1: I am not sure how my code works but here's what I've tried so far. Am I using it properly?



It works fine but what if I want to place the page number on the right corner of the ToC and bibliography too? I feel like I'm not doing it properly.

  • Welcome to TeX.SE! What have you tried so far? Please show us your compilable tex code ...
    – Mensch
    Commented Aug 12, 2022 at 15:06

1 Answer 1


Use \assignpagestyle{\chapter}{<style name>} to change the page numbering style of a Chapter page.

\begin{filecontents*}{\jobname.bib} %for bibliography
  title={Any title},


\usepackage[pagestyles]{titlesec} %pagestyles option in necessary

\usepackage{duckuments} %for dummy text









TOC page:

enter image description here

Bibliography Page:

enter image description here

Note: Always try to provide a minimal working example (MWE). The absence of an MWE discourages answering.

You must log in to answer this question.

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