Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am writing a short document which I need to fit all on 1 page. I am trying to squeeze everything on there, and because I'm short of space, I wanted my name and title just to be a header right at the top.

I have used:

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{\footnotesize \parbox{11cm}{Title of Document} }
\rhead{\footnotesize {My Name} }
\renewcommand\headheight{14pt}

to do this. This, however, has introduced a page number at the bottom of the page that I don't want. I have used:

\usepackage{nopageno}

but it doesn't seem to help.

Finally, My text begins immediately under the header, but I would like a blank line of two. I have tried

\newline

and also

\vspace

but neither seems to work.

Any help would be appreciated.

share|improve this question
2  
Wouldn't it be easier to redefine the margins and \textheight a little larger, rather than trying to use a solution involing headers? – Steven B. Segletes Jun 11 '13 at 11:44
    
To remove the page number you also can define all the fields created with the fancyhdr as empty. There are 6 fields by default l,r and c for head and foot. Example:\rfoot{}. This would also allow you to be aware of which fields exist and what you have put in them. – Ludovic C. Jun 11 '13 at 12:58

1 Answer 1

up vote 0 down vote accepted

To use as much space as possible, use the classoption twocolumn. Remove the pagenumber by using \thispagestyle{empty} somewhere after \begin{document}. Enlarge the page by \enlargethispage{Xem}, for X put a number, something like 5 should do.

For your needs use the starred form of \vspace, e.g. \vspace*{2\baselineskip}.

Buy a book about LaTeX for beginners, it will help you a lot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.