[Tex/LaTex] How to set the margin in LaTeX

margins

I want to set the margin like this:

Paper size:  A4 or US Letter

US Letter first page    Top 72 Left 54 Right 54 Bottom 54 pt
US Letter other pages   Top 54 Left 54 Right 54 Bottom 54 pt

Font embedding: Fonts that are not embedded may be rendered incorrectly

Font subsetting: Subsetting embedded fonts reduces the file size

Type 3 fonts are rasterized fonts, which may impair the on-screen
readability of the document

Oriental fonts require oriental language 

How to realize it in the LaTeX form?
Thank you so much!

Best Answer

Here is one option, using geometry. Add the following to your preamble:

\usepackage{geometry}
\geometry{
  paper=a4paper,
  margin=54pt,
  includeheadfoot
}

This sets all margins (top, bottom, left and right) to be 54pt on an A4 page (use paper=letterpaper if you're using US Letter size). Additionally, the margins are set to include the header and footer as part of the specification. This, however, doesn't meet the requirements for the first page, which has to have a top margin of 72pt (18pt more than the other pages). For this, I'd insert an appropriate vertical adjustment on the first page by also adding

\renewcommand{\IEEEtitletopspaceextra}{\dimexpr-\headheight-\headsep+18pt\relax}

somewhere within your document preamble.