Page Layout ⇒ reduce empty space btw title and top margin
reduce empty space btw title and top margin
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.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
Re: reduce empty space btw title and top margin
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: reduce empty space btw title and top margin
Re: reduce empty space btw title and top margin
reduce empty space btw title and top margin
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.
Re: reduce empty space btw title and top margin
\documentclass[12pt]{article}
............
\title{sometitle}
\author{me}
\maketitle
reduce empty space btw title and top margin
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}
Re: reduce empty space btw title and top margin
reduce empty space btw title and top margin
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}