Page Layout ⇒ page number
page number
I can not give page number on chapter page. Latex gives page number the page after the chapter page. Also there is a margin problem between chapter page and second page. I attached the pdf ,If you want I can upload the cls file to
- Attachments
-
- thesis.pdf
- (105.62 KiB) Downloaded 202 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
page number
A minimal working example would be most helpful.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
page number
Welcome to the forum!
Indeed, for being able to help we need to see code. As minimum, the .cls file and the preamble of the .tex file with the settings.
Stefan
Indeed, for being able to help we need to see code. As minimum, the .cls file and the preamble of the .tex file with the settings.
Stefan
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
page number
The class file ni.cls sets the page style to "empty" when a chapter starts. You can change it this way, adding this to your preamble in thesis.tex:
To reset the settings that the class makes at the beginning of the document, you can insert before
You can see what the class makes when you search for
geometry manual.
Stefan
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makechapterhead}{empty}{plain}{}{}
\makeatother
To reset the settings that the class makes at the beginning of the document, you can insert before
\makeatletter
above:\let\@begindocumenthook\relax
You can see what the class makes when you search for
\AtBeginDocument
in ni.cls. You can choose some settings and make them yourself, after \begin{document}
. The \setlength
commands cause the margin behavior. Instead of this, I suggest \usepackage[...]{geometry}
with some meaningful options, see 
Stefan
LaTeX.org admin
page number
Thanks
this helps me out. I will check the margins too
this helps me out. I will check the margins too