Featured Book

LaTeX Beginners Guide

Who is online

In total there are 18 users online :: 1 registered, 0 hidden and 17 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: AleCes and 17 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

margin sizes

Add tags LaTeX specific issues not fitting into one of the other forums of this category.

margin sizes

Postby psutton on Fri Dec 7th, 2007

I am producing a newletter for the Open university students association, so far I have got 1 big block of text, and the rest is 2 column, what do find is that my margins are huge, just under 2 inches, while the top margin is at least 2 inches, I am using kile, the kde editor which is great,

Just wondered how do I change the margin size,

I am using the following site to help me, http://www.andy-roberts.net/misc/latex/ ... rial8.html
but am unsure from the information given how to alter the margin sizes, I am not even sure if I am using the right document class, really for a newsletter using columns.

thanks for any help

first part of my code is below ( i have removed some of the text, but replaced with other text to say what is going in that section, the document does compile get a few non serious errors which I am not worried about for the moment/



% multicol.tex - using the multicol package to handle multiple columns

%
\documentclass[a4paper]{article}
\usepackage{multicol}
\setlength{\columnseprule}{1pt}

\begin{document}
\paragraph{}


\begin{center}
\textbf{Open University Students Association. \\Devon South Branch, Newsletter}\end{center}

\textsf{

big block of text
}

% By default, \columnseprule is 0pt, which means they are invisible, to
% change:
\setlength{\columnseprule}{1pt}

% If you feel the columns are too close together (default: 10pt), then
% redefine:
\setlength{\columnsep}{15pt}

\begin{multicols}{2}
\textbf{Committee}\\
\textsf{
my text as a list
}
\\
\textsf{
more text
psutton
 
Posts: 4
Joined: Fri Dec 7th, 2007

Re: margin sizes

Postby gmedina on Fri Dec 7th, 2007

To change the margins, you can use the geometry package (read the package documentation). An example: add in the preamble
Code: Select all  •  Open in writeLaTeX
\usepackage[lmargin=2cm,rmargin=2.5cm,tmargin=3cm,bmargin=2cm]{geometry}

You can, of course, use the values that you need.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
gmedina
 
Posts: 2313
Joined: Wed Jul 11th, 2007
Location: Colombia

Re: margin sizes

Postby psutton on Fri Dec 7th, 2007

I get geometry.sty not found, will look at settings though
psutton
 
Posts: 4
Joined: Fri Dec 7th, 2007

Re: margin sizes

Postby pfjorgeo on Fri Dec 7th, 2007

Hello. If you can't make it with the geometry package, you can try this LaTeX primitive commands:

Code: Select all  •  Open in writeLaTeX
\documentclass[...]{...}
\setlength{\textwidth}{15cm
}           %Sets the width of the printable area of the page to 15cm
\setlength{\topmargin}{0cm}            %Space from the toprule to the top of the text (first line) to 0 cm.
\setlength{\footskip}{0cm}               %Space from the bottom of the text to the footnote (or footrule) to 0 cm.
\setlength{\marginparwidth}{0cm}     %Set the margin (marginal notes aside) width to 0 cm (no marginal notes).
\voffset-1cm                                  %Eliminates unnecesary vertical space.
\hoffset-1cm                                  %Eliminates unnecesary horizontal space.
     .
     .
     .
\begin{document}
     .
     .
     .
\end{document
}


Remember you can use other unit of meassure such as inches (inch), points (pt), etc.
pfjorgeo
 
Posts: 6
Joined: Fri Mar 30th, 2007

Re: margin sizes

Postby psutton on Fri Dec 7th, 2007

Thanks that, got it working the way I want, the document needs some fine tuning but I am getting there.

thanks again
Paul
psutton
 
Posts: 4
Joined: Fri Dec 7th, 2007

Re: margin sizes

Postby gmedina on Fri Dec 7th, 2007

psutton, maybe you could take a look at the paperTeX class.
paperTeX documentation wrote:paperTEX class is a LATEX2" class that allows you to create a paperTEX newspaper. The output document has a front page and as many inner pages as desired. News appear one after another, telling the type, number of columns, heading,
subheading, images, author and so forth. It is possible to change the aspect of (almost) everything therefore it is highly customizable. Commands to add different titles, headings and footers are also provided.

The author is Ignacio Llopis. The package is Copyright © 2007 Ignacio Llopis.

Take a look at this example.

You can search the Comprehensive TeX Archive Network (CTAN) for other useful classes.

Regarding the suggestion made by pfjorgeo, I already recommended you to read the l2tabu document.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
gmedina
 
Posts: 2313
Joined: Wed Jul 11th, 2007
Location: Colombia

Re: margin sizes

Postby dimarcom on Wed Apr 2nd, 2008

Hi,

I read in l2tabu that the default LaTeX margins shouldn't be modified because they are good, and to use KOMA-scrbook if we use A4 paper.

Well... scrbook gives a huge bottom margin. How should i proceed to make it the same size as the header margin ?

thanks
marie.
Attachments
untitled.PNG
untitled.PNG (35.85 KiB) Viewed 8050 times
dimarcom
 
Posts: 26
Joined: Wed Mar 5th, 2008

Re: margin sizes

Postby balf on Wed Apr 2nd, 2008

Basic LaTeX has large left and right margins because it takes into account the space required for marginal notes.

As for scrbook, it is quite normal that it has huge bottom margin: it's designed for producing book with a beautiful typography, not a newsletter. You really should install geometry if you don't have it: modifying layout parameters is not very simple, unless you know exactly what you're doing, as there are many parameters that are interdependent. With geometry you have a rather simple interface, you say what you want and the package computes the necessary parameters.

You also could take a look at the flowfram package, designed for typesetting 'posters, brochures and magazines'. There are several examples that demonstrate the possibilities of the package.

B.A.
balf
 
Posts: 158
Joined: Sat Jan 12th, 2008

Re: margin sizes

Postby dimarcom on Tue Apr 8th, 2008

Hi Balf,

Thanks for your advice. I've been reading the geometry documentation (http://www.tug.org/teTeX/tetex-texmfdis ... ometry.pdf) and tried many things. If i don't try to modify any of the parameters, the result is nice. I got the header/footer sizes i like just by defining \textheight.

Now the problem is that i'd like the outer margin to be 0.5 or 1cm smaller than the default. But any option i try doesn't respect the assymetry of the twoside anymore !? Here i put the bits of code i've been trying:

\usepackage[a4paper,twoside]{geometry}
%\usepackage[a4paper,twoside,outer=1cm]{geometry}
\textheight 23.5cm
%\textwidth 15.5cm
%\oddsidemargin -0.5cm
\evensidemargin -1cm

The attached image was obtained with \evensidemargin -1cm

Any advice ?
Thanks again,
Marie.
Attachments
odd.PNG
odd.PNG (230.43 KiB) Viewed 7992 times
dimarcom
 
Posts: 26
Joined: Wed Mar 5th, 2008

Re: margin sizes

Postby localghost on Tue Apr 8th, 2008

It would be much easier to give specific help if you tell us which margins or type area you want to have and which document class you are currently using.


Best regards
Thorsten¹
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Next

Return to General

Who is online

Users browsing this forum: AleCes and 17 guests