LaTeX forum ⇒ Page Layoutmove 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

Postby alien » Fri Aug 07, 2015 10:44 pm

Hello dear community

I a newbie in LaTeX

I am creating a simple document with such settings
  1. \documentclass[a4paper,12pt]{article}
  2. \usepackage[utf8x]{inputenc}
  3. \usepackage[L7x]{fontenc}
  4. \usepackage[lithuanian]{babel}
  5. \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?

thanks in advance
Attachments
LaTeX3.pdf
Document *.pdf , 2 pages
(128.87 KiB) Downloaded 105 times

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 4098
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Aug 08, 2015 2:57 pm

Many people dislike the standard title set by LaTeX, but everybody uses it. Why?

Don't use it at all:
  1. \documentclass{article}
  2. \usepackage{blindtext}
  3. \usepackage{showframe}
  4. \begin{document}
  5. \begin{center}
  6. \vspace*{-3cm}
  7. {\Large Shift the title up\par}
  8. \vspace{4ex}
  9. {\large alien, the nice guy\par
  10. \vspace{1\baselineskip}
  11. \today\par\vspace{2\baselineskip}
  12. }
  13. \end{center}
  14. \blindtext
  15. \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

Postby alien » Sat Aug 08, 2015 7:49 pm

Johannes_B, Thank You a lot!!!!!!

I've made this

the result is here https://yadi.sk/i/1TDxIJY0iLjaQ

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

User avatar
Johannes_B
Site Moderator
Posts: 4098
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Aug 08, 2015 7:56 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

Postby alien » Sat Aug 08, 2015 9:25 pm

Johannes_B, Thank You very much!

It works!

best regards, Mike


Return to “Page Layout”

Who is online

Users browsing this forum: comandos and 1 guest