Page LayoutTop Margin on Title Page - Article Class

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
kenny_larsen
Posts: 2
Joined: Tue Feb 23, 2010 1:24 pm

Top Margin on Title Page - Article Class

Post by kenny_larsen »

Hi All,

Slowly getting the hang on Latex but am starting to reach the point where I'd like to make a few minor modifications to the page layout to suit my purposes better.

Essentially I'm looking to reduce the amount of white space that appears before the title in the article class. I am aware there is already a thread on this and the solution was to use the changepage package, however this requires a manual change back to the default margins for future pages and is less than ideal as it requires knowing where the page will break.

I assume there must be a way of using renewcommand to do it, or editing the article.cls (and saving under another name) although I seem to have hit a wall trying. A MWE is below, any help would be appreciated.

Thanks,
Kenny

MWE:

Code: Select all

\documentclass[12pt]{article}
\usepackage{lipsum}

\title{The Title}
\author{The Author}

\begin{document}
\maketitle
\begin{abstract}
\lipsum[1]
\end{abstract}
\section{Section 1}
\lipsum[1-5]
\end{document}
Last edited by kenny_larsen on Tue Feb 23, 2010 4:32 pm, edited 1 time in total.

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Top Margin on Title Page - Article Class

Post by frabjous »

You could try the titling package, and modify the \droptitle length.

For some reason you seem to need a negative value to raise the title. It isn't clear to me why, but this works.

Code: Select all

\documentclass[12pt]{article}
\usepackage{lipsum}

\title{The Title}
\author{The Author}

\usepackage{titling}
\setlength{\droptitle}{-0.5in}

\begin{document}
\maketitle
\begin{abstract}
\lipsum[1]
\end{abstract}
\section{Section 1}
\lipsum[1-5]
\end{document}
Change -0.5in to whatever.
kenny_larsen
Posts: 2
Joined: Tue Feb 23, 2010 1:24 pm

Re: Top Margin on Title Page - Article Class

Post by kenny_larsen »

Thanks :)

That works perfectly.

Kenny
Post Reply