Starting Writing 4.5in from Top of Page

  • Context: LaTeX 
  • Thread starter Thread starter Maxwell
  • Start date Start date
  • Tags Tags
    Writing
Click For Summary
SUMMARY

The discussion focuses on formatting a LaTeX document to start writing 4.5 inches from the top of the page. The user initially attempted to use the \vspace command, but it was ignored due to its placement within the center environment. A solution was found by moving the \vspace command outside of the center environment and prefixing it with a space command. Additionally, the user discovered that using \vspace* with adjusted measurements could achieve the desired spacing, although it required some trial and error.

PREREQUISITES
  • Familiarity with LaTeX document structure
  • Understanding of the \vspace and \vspace* commands
  • Knowledge of the geometry package for page layout
  • Basic experience with document classes in LaTeX
NEXT STEPS
  • Explore the geometry package for advanced page layout options in LaTeX
  • Learn about the differences between \vspace and \vspace* commands
  • Research LaTeX document classes and their impact on formatting
  • Investigate common LaTeX formatting issues and their solutions
USEFUL FOR

Students, researchers, and professionals who are writing documents in LaTeX, particularly those needing precise control over page formatting and spacing.

Maxwell
Messages
511
Reaction score
0
Hey guys,

I have been searching for an answer to this question for quite some time and I have found nothing. This should be pretty simple, yet for some frustrating reason, I can not get it to work.

I want to start some writing 4.5 inches from the top of the page. I am doing:

Code:
\begin{center}
\singlespacing
\vspace{4.5in}
Accepted in partial fulfillment of the requirements for\\
the degree of Master of Science in Mechanical Engineering\\
in the Graduate School of\\
Stony Brook University\\
State University of New York\\
2009\\

\vskip .5 in

September 7, 2009\\

\vskip 1 in

a, Department of Mechanical Engineering, Stony Brook University\\
\vskip 0.15 in

b, Department of Mechanical Engineering, Stony Brook University\\
\vskip 0.15 in 

c, Department of Mechanical Engineering, Stony Brook University\\
\vskip 0.15 in 

\normalsize

\end{center}

However, the first \vspace{4.5in} command gets completely ignored. I have tried the following:

Code:
%\hspace{4.5in}
%\vskip 4.5 in
%\topskip 4.5 in

And none of those commands work. I've even tried adding \bigskips in order to trick it into adding blank lines. Didn't work.

I do not use LaTeX very much, but I do need to get this page set up.

Does anyone have an idea as to why this is not working?

I am beyond frustrated!

Thanks in advance.
 
Physics news on Phys.org
Here's a hack that seems to make it work:
Code:
\documentclass[12pt,letterpaper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{setspace}
\begin{document}
[B]\ \vspace{4.5in}[/B]
\begin{center}
\singlespacing
Accepted in partial fulfillment of the requirements for\\
the degree of Master of Science in Mechanical Engineering\\
in the Graduate School of\\
Stony Brook University\\
State University of New York\\
2009\\

\vskip .5 in

September 7, 2009\\

\vskip 1 in

a, Department of Mechanical Engineering, Stony Brook University\\
\vskip 0.15 in

b, Department of Mechanical Engineering, Stony Brook University\\
\vskip 0.15 in 

c, Department of Mechanical Engineering, Stony Brook University\\
\vskip 0.15 in 

\normalsize

\end{center}
\end{document}
I moved the "\vspace{4.5in}" command out of the "center" environment, and I prefixed it with a "\ " to create a paragraph containing a single space, so that there is something to vspace from.
 
And here's a much less hackish way (unless you only wanted on the first page?):

Code:
\documentclass[]{article}
\usepackage[left=1.25in,top=1.125in,bottom=1.125in,right=1.25in,nohead]{geometry}
 
Yeah, I need it on only one page.

I used the command \vspace*{3.1in}, which semi-works.

4.5 inches is more like 6 inches, but 3.1 inches works out to 4.5 inches. I believe this might be because of the header for the document type I'm using, but I don't really feel like figuring it out right now!

Thanks for the replies, guys.
 
Edit - Solved it. LaTeX is a pain to get used to, but once you do, it's worth it!
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
952
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K