Page Layout ⇒ reduce empty space btw title and top margin
reduce empty space btw title and top margin
Hi,
In the title page, there is a lot of space between the title and the top margin. How can I reduce it? Thank you very much.
In the title page, there is a lot of space between the title and the top margin. How can I reduce it? Thank you very much.
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
Re: reduce empty space btw title and top margin
thanks for your reply, but is there an easier way since I only need to change the amount of space?
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: reduce empty space btw title and top margin
Not really. The standard LaTeX layouts are rather inflexible.
Joseph Wright
Re: reduce empty space btw title and top margin
Is it possible to do that by changing the top margin for just this page? What's the best way to change margins for just one page? Thanks.
reduce empty space btw title and top margin
Hi,
I don't think so. The link provided by magicmoose contains a useful example. Perhaps if you tell us which document class you are using, how are you building your titlepage, and what kind of layout you are looking for the titlepage, we could give additional advise.onewiki wrote:Is it possible to do that by changing the top margin for just this page?..
You could try one of the environments provided by the changepage package.onewiki wrote:...What's the best way to change margins for just one page? Thanks.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: reduce empty space btw title and top margin
Here are some codes, just plain ones. Thanks.
\documentclass[12pt]{article}
............
\title{sometitle}
\author{me}
\maketitle
\documentclass[12pt]{article}
............
\title{sometitle}
\author{me}
\maketitle
reduce empty space btw title and top margin
Hi,
try this:
I borrowed the code from the file article.cls. Change the value of the \vskip command in the line commented with "default: 60pt" according to your needs.
try this:
Code: Select all
\documentclass{article}
\usepackage{lipsum}% just to automatically generate some text
\makeatletter
\renewcommand\maketitle{%
\let\footnotesize\small
\let\footnoterule\relax
\let \footnote \thanks
\null
\vskip 0\p@ % default: 60pt
\begin{center}%
{\LARGE \@title \par}%
\vskip 3em%
{\large
\lineskip .75em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1.5em%
{\large \@date \par}%
\end{center}\par
\@thanks
\vfil\null
%
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
\makeatother
\title{The title}
\author{The Author}
\begin{document}
\maketitle
\lipsum[1-4]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: reduce empty space btw title and top margin
I tried it, but changing the value of the \vskip command does nothing.
reduce empty space btw title and top margin
Then use the \changepage command, provided by the changepage package:
Of course, instead of 4cm use the value that suits your needs.
Code: Select all
\documentclass{article}
\usepackage{changepage}
\usepackage{lipsum}% just to automatically generate some text
\title{The title}
\author{The Author}
\begin{document}
\changepage{4cm}{}{}{}{}{-4cm}{}{}{}% adding 4 cm to the textheight
\maketitle
\lipsum[1-4]
\clearpage
\changepage{-4cm}{}{}{}{}{4cm}{}{}{}% restoring the original values
\lipsum[1-4]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...