Page Layoutabout page border

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
letmoon
Posts: 2
Joined: Wed Aug 29, 2012 5:01 pm

about page border

Post by letmoon »

This is the first time for me to use LaTex. I use WinEdt and MikTex. I have searched with google for setting the page border. And I use the method of geometry. I want to my pages to be a fixed format. Codes here:

Code: Select all

\documentstyle[14pt]{report}
\usepackage[left=0cm,right=0cm,top=1cm,bottom=1.5cm]{geometry}
%\geometry
\begin{document}
This is my first report written by LaTex. I am trying to use it for creating a template for my reports.
\end{document}

But it seems doesn't work. There are still a large distance from the text to each border.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

about page border

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Change the first line to:

Code: Select all

\documentclass[14pt]{report}
\documentstyle is obsolete syntax.

Stefan
LaTeX.org admin
letmoon
Posts: 2
Joined: Wed Aug 29, 2012 5:01 pm

about page border

Post by letmoon »

Stefan_K wrote:Hi,

welcome to the board!

Change the first line to:

Code: Select all

\documentclass[14pt]{report}
\documentstyle is obsolete syntax.

Stefan
Thanks, Stefan. It still doesn't work.
Post Reply