LaTeX: Numbering the pages

latexteada

latexteada

Posted on October 13, 2021

LaTeX: Numbering the pages

Hello, how are you? :)

In this post I write about how to change the style of the numbering in the pages, how to turn the enumeration of the pages into roman numbers or letters. Let's start

Many times we want to change the style of the enumeration of the page, or alter which is the first page, well, you can do it with the \pagenumbering command, as simple as that, the syntax is

\pagenumbering{style}
Enter fullscreen mode Exit fullscreen mode

Where style can be

  • arabic: 1,2,3,...
  • roman: i, ii, iii...
  • Roman: I, II, III...
  • alph: a,b,c...
  • Alph: A,B,C...

You need to be careful with the style that you choose, notice that alph is not the same as Alph

We need to put the instruction in the preamble

code

Produces

Screenshot from 2021-10-11 09-46-40

This does not produce the purple line, this is the bottom of the page

You can play with the style available

Now, let me tell you that if you put \pagenumbering{style} in the preamble it is Global, this is, all the document have the same style

If we want that from a certain page until the end of the document we need to put the command in the desired page to be affected. Try the next code on your favorite editor and check what happens

code

I hope you notice something interesting while compiling, we are going to check it later.

This is all for today, do not forget to follow me on Twitter @latexteada

Greetings !!!

💖 💪 🙅 🚩
latexteada
latexteada

Posted on October 13, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

LaTeX: The theorem Like Environment
codenewbie LaTeX: The theorem Like Environment

December 22, 2021

LaTeX & Macros: Macros with Arguments
codenewbie LaTeX & Macros: Macros with Arguments

November 17, 2021

LaTeX: The include Command
codenewbie LaTeX: The include Command

December 15, 2021

LaTeX: Numbering the Pages & Customization
codenewbie LaTeX: Numbering the Pages & Customization

October 20, 2021

LaTeX: Customizing the Page
codenewbie LaTeX: Customizing the Page

October 27, 2021