Sounds like \addvspace is the command that you are looking for. Simply use \addvspace
instead of \vspace
and you will get the maximum of the lengths instead of the sum of the lengths whenever you have multiple consecutive spaces.
If you are using the titlesec
package to define your section headings, also have a look at the package option largestsep
.
Below I have defined \QuarterPage
to be the vertical space of 1/4 of the page, and added \vspace*{\QuarterPage}
before the title, after the title so that the name is half way on the page, and another after this so that other material starts around 3/4 of the page:
Notes:
- The
showframe
option to the geometry
package was used just to show the page margins. This should be removed in actual usage.
Code:
\documentclass[letterpaper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern, outlines,tensor,amssymb,amsmath,wasysym,ulem,cancel,textcomp,fancyhdr,xfrac,multicol,hyperref,setspace}
\usepackage[top=2.54cm, left=2.54cm, bottom=2.54cm,right=2.54cm,showframe]{geometry}
\newlength{\QuarterPage}
\setlength{\QuarterPage}{2.25in}
\begin{document}
\begin{titlepage}
\begin{center}
\vspace*{\QuarterPage}
Insert Witty Title Here: Witty Subtitle Here
\par\vspace*{\QuarterPage} Jane Doe
\par\vspace*{\QuarterPage}
{\doublespacing A Class
Dr. Some Body
13 November 2012}
\end{center}
\end{titlepage}
\end{document}
Best Answer
Use a
\vspace
with the appropriate fraction of\textheight
or\paperheight
...As egreg says in the comments, the space will be removed if it occurs at the top of a page. If you want the space in that case, just use
\vspace*
in place of\vspace
.