## LaTeX forum ⇒ Page Layout ⇒ move upper margin on the first page in article

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
alien
Posts: 3
Joined: Fri Aug 07, 2015 10:23 pm

### move upper margin on the first page in article

Hello dear community

I a newbie in LaTeX

I am creating a simple document with such settings
\documentclass[a4paper,12pt]{article} \usepackage[utf8x]{inputenc}\usepackage[L7x]{fontenc}\usepackage[lithuanian]{babel}\usepackage[pdftex,unicode]

The document in attachment (it's just a scrap, I'll correct it)

How I can move upper margin? (in oder that the Header of the work would be higher

There are such commands like \textheight and \topmargin , I tried use them, but unsuccessfully. Where I should use them?

Attachments
LaTeX3.pdf
Document *.pdf , 2 pages

Tags:

Johannes_B
Site Moderator
Posts: 4141
Joined: Thu Nov 01, 2012 4:08 pm
Many people dislike the standard title set by LaTeX, but everybody uses it. Why?

Don't use it at all:
\documentclass{article}\usepackage{blindtext}\usepackage{showframe}\begin{document}\begin{center}	\vspace*{-3cm}	{\Large Shift the title up\par}	\vspace{4ex}	{\large alien, the nice guy\par		\vspace{1\baselineskip}		\today\par\vspace{2\baselineskip}	}\end{center}\blindtext\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

alien
Posts: 3
Joined: Fri Aug 07, 2015 10:23 pm
Johannes_B, Thank You a lot!!!!!!

But how can I make the pages bigger? (on A4 it looks not very good)

There is command \enlargethispage{1cm} but I would like to move upper and bottom margins more and do not lose page's enumeration.

I am very grateful to You for Your help

Johannes_B
Site Moderator
Posts: 4141
Joined: Thu Nov 01, 2012 4:08 pm
Load package geometry and then say \geometry{top=2cm,bottom=4cm}. The documentation files give you more hooks to handle.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

alien
Posts: 3
Joined: Fri Aug 07, 2015 10:23 pm
Johannes_B, Thank You very much!

It works!

best regards, Mike