I want to change the top and bottom margin of a particular page. I can change the left and right margin by using
Code: Select all
\advance\leftskip-2cm
\advance\rightskip-2cm
Any suggestion will be helpful.
Thanks,
Code: Select all
\advance\leftskip-2cm
\advance\rightskip-2cm
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
geometry
package to change margins instead of low-level commands.\newgeometry
and \restoregeometry
, which are explained in the Code: Select all
Undefined control sequence.
l.51 \newgeometry
{left=0cm,right=0cm,bottom=0.1cm}
Code: Select all
\usepackage[hmargin=1cm]{geometry}
geometry
package. I recommend to update your installed package version.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