Document Classeshow to avoid extra line between section.

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
jemazoro
Posts: 1
Joined: Fri Jun 22, 2007 11:27 pm

how to avoid extra line between section.

Post by jemazoro »

Hi I am using the article class.
I am happy about it, expect that I need to reduce the number of page.
I will be able to gain some space if I know how to avoid the new line at this end of section and after each section name.
So far what I am doing is:
section{...}\label{..}
\vspace{-0.2in}
\subsection{...}\label{...}
\vspace{-0.1in}

How can I automated this process.
Thanks,
Jeremy

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: how to avoid extra line between section.

Post by balfonsi »

See the titlesec package (customisation of sections and all that stuff). If your problem is the number of pages, you must know that line lengths in standard latex are rather short, due to \marginparwidth, and maybe you have no marginal notes. So modifying the page layout would also be an efficient way to reduce the number of pages; for such a job, use the geometry package, as many of the layout lengths are interrelated.

Regards,
B.A.
Post Reply