Document Classeshow to set 1 in margin

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
tle
Posts: 1
Joined: Sat Dec 25, 2010 10:12 am

how to set 1 in margin

Post by tle »

Hi All,

I need to know how to set a 1in margin all around using
\documentclass[12pt,preprint]{aastex}.

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

yaami
Posts: 12
Joined: Wed Sep 22, 2010 3:43 pm

how to set 1 in margin

Post by yaami »

I used simple margins sty file found here: http://www.mit.edu:8001/activities/anim ... argins.sty

And according to this
http://kb.mit.edu/confluence/pages/view ... plemargins

just use

Code: Select all

\usepackage{simplemargins}

	\setallmargins{1in}
in the preamble. I've my own share of problems with this package, but I hope this helps you.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

how to set 1 in margin

Post by frabjous »

Hmm. I missed this thread the first time around. Must have been the holidays.

Code: Select all

\documentclass[12pt,preprint]{aastex}
\usepackage[margin=1in]{geometry}
seems to work fine.
bjd116
Posts: 7
Joined: Tue Jan 11, 2011 9:17 pm

how to set 1 in margin

Post by bjd116 »

Another simple way to set the margins to 1 inch on all sides of the document:

Code: Select all

\usepackage{fullpage}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

how to set 1 in margin

Post by localghost »

yaami wrote:I used simple margins sty file found here: http://www.mit.edu:8001/activities/anim ... argins.sty

And according to this
http://kb.mit.edu/confluence/pages/view ... plemargins

just use

Code: Select all

\usepackage{simplemargins}

	\setallmargins{1in}
in the preamble. I've my own share of problems with this package, but I hope this helps you.
Not recommendable since the package was developed for LaTeX2.09 thus is to be considered obsolete. Furthermore it is not officially listed on CTAN.
bjd116 wrote:Another simple way to set the margins to 1 inch on all sides of the document:

Code: Select all

\usepackage{fullpage}
Not recommendable since the package can cause trouble [1]. It should also be considered obsolete.

[1] View topic: Problem with fancyhdr


Thorsten
Post Reply