Generalpage nubering in latex

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
samanbs24
Posts: 1
Joined: Tue Jun 24, 2014 9:52 pm

page nubering in latex

Post by samanbs24 »

hi guys.
ca i have page numbering like attached image in beamer?
KHwVQ.png
KHwVQ.png (18.41 KiB) Viewed 5483 times
I use luatex lualatex (luapersian) and methods in http://tex.stackexchange.com/questions/ ... -in-beamer does not work for me.
Last edited by cgnieder on Wed Jun 25, 2014 11:21 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

page nubering in latex

Post by Johannes_B »

Interesting question, but it has already been posted on TeX.SX. Please keep related questions linked together.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
akhadzhiev
Posts: 3
Joined: Wed Sep 24, 2014 9:15 am

page nubering in latex

Post by akhadzhiev »

To change the type of page numbering, the \pagenumbering{style} command is the way to go. If we wanted to create a document which had a foreward on page i, table of contents on page ii, table of tables on page iii and the first section on page 1, we would have the following:

Code: Select all

% preliminaries %
\documentclass{article}
\title{Example Document}
% front matter %
\begin{document}
\maketitle
\thispagestyle{empty}
\newpage
% display page numbers in the headings. Start with roman numerals %
\pagestyle{headings}
\setcounter{page}{1}
\pagenumbering{roman}
% page i %
\section*{Foreward}
Foreward described here ...
\newpage
% page ii %
\tableofcontents
\newpage
% page iii %
\listoftables
\newpage
% set the page numbers to be arabic, starting at page 1 %
\setcounter{page}{1}
\pagenumbering{arabic}
% page 1 %
\section{The First Section}
The details of the first section ...
\end{document}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

page nubering in latex

Post by Johannes_B »

Welcome to LaTeX-community.
The pagenumbering command resets the counter of page to 1. So all those setcounters are redundant.

But i can't really figure out how this is related to the original question?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply