Document Classes ⇒ top margin of page
top margin of page
in the page in which there is the chapter's heading, the top margin is too big. in fact there is the head of page.
how can I remove the margin heading only pages that contain the title of chapter?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
top margin of page
with the titlesec package you could use \titlespacing, for example:
Code: Select all
\titlespacing*{\chapter}{0pt}{-50pt}{40pt}
Re: top margin of page
Only certain pages should have the edge so
i can rewrite \chapter in this way:
\renewcommand{\chapter}[1]{\titlespacing*{\chapter}{0pt}{-50pt}{40pt}\chapter{#1}}
is correct?!?
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: top margin of page
Stefan