Title: Changing margins on defined pages
Tags: margins
Question: We all know that by adding:
\usepackage[left=...,right=...]{geometry}
changes the margins of the entire document. However, is there a way to modify the margins on the pages I'd want?
Comment: With the `geometry` package you can use `\newgeometry{}` and then `\restoregeometry` to restore the initial settings.

Here is the accepted answer: With the geometry package you can use
\newgeometry{<new settings&gt;}
and then
\restoregeometry
to restore the initial settings. A little example:
\documentclass{article}
\usepackage[a6paper,hmargin=3cm,vmargin=2cm,showframe]{geometry}
\begin{document}
\mbox{}
\newgeometry{margin=1cm}
\mbox{}
\restoregeometry
\mbox{}
\end{document}


{'source': 'StackExchangeDataset', 'subset': 'tex.stackexchange.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2015:00:07/04/15', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<margins>', 'Title': 'Changing margins on defined pages', 'ViewCount': 370, 'id': 253580, 'user_AboutMe': None, 'user_AccountId': 2002587.0, 'user_DisplayName': 'Schwale', 'user_Reputation': 1999.0, 'user_Views': 160.0, 'user_id': 84461.0}}