Many latex templates have set the margins of the page, so you don’t need to modify them. But sometimes you need to set the margins by yourself. Looking up the relevant information, we find that using the geometry macro package can easily adjust the margins.
\usepackage{geometry}
\geometry{a4paper,scale=0.8}
The above command sets the paper as A4, and the proportion of the page center to the page length is 80%; scale can also be changed to ratio, indicating the proportion of the page margin to the page length. The macro package can also set the top, bottom, left and right margins of the page, for example:
\geometry{a4paper,left=2cm,right=2cm,top=1cm,bottom=1cm}
Read More:
- Android’s viewpager slides to determine whether the current stop page is the last page
- The requested page cannot be accessed because the related configuration data for the page is invalid
- Add a new page in latex
- Latex macro package and latex error: file ‘xxx. Sty’ not found
- Let’s get started with latex 05, line feed, paragraph feed, page feed, first line indent, etc
- [math processing error] problem solving (the difference between F5 refresh page and Ctrl / shift + F5 refresh page)
- QT — get hard disk margin
- Invalidation of margin top property of nested box in CSS style box
- Servlet page Jump error 500
- stay web.xml Configure error page in
- JSP page cannot get value using El expression
- A yellow warning appears on the pagecontroller page in PHP! ! ! !
- TSV_TNEW_PAGE_ALLOC_FAILED
- Abnormal display of page object moved to here
- spring boot Whitelabel Error Page
- Error report on next page of GridView query view
- Three methods of JavaScript jump to new page
- Chrome browser forces page refresh (no caching)
- Spring MVC realizes page upload file
- Using nginx page to report an error occurred