[OS X TeX] page setting + a general comment

Aaron Jackson jackson at msrce.howard.edu
Sat Mar 1 22:51:15 EST 2008


You can try doing the following.  Compile the following document:

\documentclass[a4paper]{article}
\usepackage{layout}
\begin{document}
\layout
\end{document}

To see how the margins are set up. Then you can adjust them to your  
tastes.  For example:

\documentclass[a4paper]{article}
\setlength{\oddsidemargin}{0in}
\setlength{\hoffset}{-0.5in}
%Now you have half inch margins on the left side.
\setlength{\textwidth}{whatever length it should be to give 0.5in  
margin on the right}
\begin{document}
Text here.
\end{document}

You wont be able to use margin notes though.

On Mar 1, 2008, at 10:09 PM, ludwik kowalski wrote:

> I am sorry to bother the list again. But I need help.
>
> 1) I am straggling with page setting. After reading the  
> introduction of the manual for the package Geometry (that someone  
> suggested) I produced the input file that is shown below.
>
> But I was not able to compile it. The error message was that the  
> \begin{document} is missing. But it is not missing. What am I doing  
> wrong? The only thing I want is to have 0.5 inch margins on the A4  
> page. Is there a way to accomplish this without bringing another  
> package (or packages)?
>
> = = = = = = = = = = = = = = = = = = =
>
> \documentclass[a4paper]{article}
>
> \usepackage{geometry}
>
> \usepackage[text={7in,10in},centering]{geometry}
>
> \begin{document}
>
> To set dimensions for page layout in LATEX is not straightforward.  
> You need to adjust several LATEX native dimensions to place a text  
> area where you want If you want to center the text area in the  
> paper you use, for example, you have to specify native dimensions  
> as follows . . . Package geometry provides an easy way to set page  
> layout parameters. In this case, what you have to do is just . . .
>
> \end{document}
>
>  = = = = = = = = = = = = = = = = = = =
>
> 2) P.S. I am discovering that learning LaTex is not a pleasant  
> experience. Learning Geometry, or Calculus, for example, is very  
> different in that respect. Why is it so?
>
> Ludwik Kowalski, a retired physicist
> 5 Horizon Road, apt.2702, Fort Lee, NJ, 07024, USA
> Also an amateur journalist at http://csam.montclair.edu/~kowalski/cf/
>
>
>
>
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>




More information about the MacOSX-TeX mailing list