In the past, page margins (and other margins) in LaTeX were set manually using special commands. Nowadays the additional package geometry is used to set the margins.
More information and examples can be found here: https://www.sascha-frank.com/Faq/margins.html