How to create a command that makes sums using latex

1

I need to put the page numbering in the document I'm creating, but this document starts from page 20 for example, so I should use a command that would do something like:

\cfoot{Página \thepage+20 de (Número total de Páginas)}

where \ thepage + 20 would have to display the current page + 20, how to proceed?!

    
asked by anonymous 21.08.2017 / 02:23

1 answer

2

To control page numbering, simply set the value of the counter. In LaTeX, you simply use the beginning of the file to set the counter to start at 20:

\setcounter{page}{20}

So the first page will be 20 and the subsequent pages will be counted normally, adding 1 to the counter.

References in the Stack Exchange network:

How can I set the page number to any needed value?

    
21.08.2017 / 23:02