TeX - LaTeX Asked by Tamil on August 30, 2021
enter link description hereHow to give the page number starting form two and need to align the table of contents.. I had give the code as
documentclass[11pt,a4paper]{report}
usepackage[a4paper,bindingoffset=0.2in,%
left=1in,right=1in,top=1in,bottom=1in,%
footskip=.25in]{geometry}
usepackage{fancyhdr}
fancyfoot[R]{thepage}
pagestyle{fancy}
begin{document}
LARGE{contents}
summary.............................3
vspace{3mm}
Secound page.......................4
vspace{3mm}
Third page...........................5
newpage
LARGE{summary}
This is my first document
newpage
LARGE{chapter}
end{document}
I got the document like this need to start the page number from 2 and align the toc
after trying the code that you had given I got the result like this
I need the document like this, only the heading should be in the top of the page and the contents page should have the respective heading page number
Do not try to produce a manually created table of contents. With latex you can get an automatically generated table fo contents using the tableofcontents
command. For automatically numbered chapter, section, subsection... titles you can use chapter
, section
, subsection
...:
Compile the following document twice:
documentclass[11pt,a4paper]{report}
usepackage[a4paper,bindingoffset=0.2in,%
left=1in,right=1in,top=1in,bottom=1in,%
footskip=.25in]{geometry}
usepackage{fancyhdr}
fancyfoot[R]{thepage}
pagestyle{fancy}
begin{document}
tableofcontents
chapter{summary}
This is my first document
chapter{chapter heading}
section{a section heading}
subsection{a subsection}
your text
end{document}
If this alignment/layout does not suit your needs, it can be of course customized.
Answered by leandriis on August 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP