## LaTeX forum ⇒ Text Formatting ⇒ page number format Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
ziselos
Posts: 15
Joined: Sun Mar 04, 2018 12:03 pm

### page number format

Hello,
I am trying using XeLaTex to get page number in a format like below (number into brackets):
(1), (2), (3) etc. and in bigger font size (24pt).I want to place the page number on Top and Right of my page.
I wrote this using fancyhdr package:

\documentclass[12pt]{report}\usepackage{fancyhdr}\pagestyle{fancy}\fancyhf{} \renewcommand{\headrulewidth}{1pt}\fancyhead[R]{\thepage}       \begin{document}\include{file}\end{document}

How can i get bigger size of my page number and have it into brackets ()?

Tags:

Johannes_B
Site Moderator
Posts: 3825
Joined: Thu Nov 01, 2012 4:08 pm
Without testing: \fancuhead[R]{\fontsize{24pt}{28pt}\selectfont(\thepage)}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

ziselos
Posts: 15
Joined: Sun Mar 04, 2018 12:03 pm
I just tested your code and works fine. It is exactly what i wanted.
Thanks a lot.

Return to “Text Formatting”

### Who is online

Users browsing this forum: No registered users and 7 guests