Manually Set Page Margins in Latex

One line solves the problem. This will change margin of top, bottom, left and right at the same time. More complicated usage can be found in MIT site.

\usepackage[margin=1in]{geometry}

Add this line before \begin{document}

Category >> Latex  
If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:
<pre><code> 
String foo = "bar";
</code></pre>