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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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.Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis