Page LayoutLetter Type Paper and A4 Type Paper appears as the same.

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
aarelovich
Posts: 4
Joined: Wed Jul 14, 2010 5:16 pm

Letter Type Paper and A4 Type Paper appears as the same.

Post by aarelovich »

Hello I'm not new to latex but for the first time today I was required to create a document that used US Letter type paper and not my typical A4.

This an example code for letter:

Code: Select all

\documentclass[letterpaper, 10pt]{article}
\usepackage[utf8x]{inputenc}

%opening
\title{Test}
\author{me}

\begin{document}

\maketitle

\begin{abstract}
\textbf{letter}
\end{abstract}

\section{nada}
me

\end{document}
and these are the modifications I made to make it a4paper

Code: Select all

\documentclass[a4paper, 10pt]{article}
\usepackage[utf8x]{inputenc}

%opening
\title{Test}
\author{me}

\begin{document}

\maketitle

\begin{abstract}
\textbf{A4}
\end{abstract}

\section{nada}
me

\end{document}
The compiled pdfs are attached.

I'm using Debian with the kile interface and my compiling steps are LaTex and DVI To PDF.

Can anyone tell what am I doing wrong or what is going on?

Thank you for any help!
Attachments
letter.pdf
(8.35 KiB) Downloaded 355 times
a4.pdf
(8.31 KiB) Downloaded 371 times
Last edited by aarelovich on Wed Jul 14, 2010 7:25 pm, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Letter Type Paper and A4 Type Paper appears as the same.

Post by Stefan Kottwitz »

Hi Ariel,

perhaps your (pdf)LaTeX compiler uses A4 as default. Try just loading geometry:

Code: Select all

\usepackage{geometry}
The package respects the documentclass option letterpaper.

Stefan
LaTeX.org admin
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: Letter Type Paper and A4 Type Paper appears as the same.

Post by php1ic »

You may need to specify the size of paper in the dvi->pdf stage.

In your examples, the page number looks lower on the a4 page than the letter, suggesting that latex is creating different page sizes, but during conversion the same size is used for both.

What command is used when converting dvi->pdf?
aarelovich
Posts: 4
Joined: Wed Jul 14, 2010 5:16 pm

Re: Letter Type Paper and A4 Type Paper appears as the same.

Post by aarelovich »

Yes! That worked!

Thank you very much!
aarelovich
Posts: 4
Joined: Wed Jul 14, 2010 5:16 pm

Re: Letter Type Paper and A4 Type Paper appears as the same.

Post by aarelovich »

I want to clarify that using the geometry line is what worked. When I answered php1ic's reply was not shown.

Thank you both!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Letter Type Paper and A4 Type Paper appears as the same.

Post by localghost »

Now that the problem is solved, please mark the topic accordingly as described in Section 3 of the Board Rules.


Best regards
Thorsten
Post Reply