latex set margins code example
Example 1: latex page margin
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
Example 2: latex top margin bottom margin
\usepackage[right=1.0in, left=1.0in, top=1.2in, bottom=1.0in]{geometry}