2

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!

16
  • Look here for questions with the geometry package. Commented Nov 2, 2015 at 23:16
  • @Dr.ManuelKuehner, Look where?
    – Shawn
    Commented Nov 2, 2015 at 23:17
  • @Dr.ManuelKuehner, can you write an answer?
    – Shawn
    Commented Nov 2, 2015 at 23:17
  • Here at stackexchange. I go to bed now. Your question is easily solved with the geometry package. Have a look in the manual or use the search function here. Commented Nov 2, 2015 at 23:19
  • Do you have text flowing naturally from "US letter first page" to "US letter second page? Or is there a clean break between the two (like in the case with a first-page title and a second page article content)? Also, what about headers and footers in your document? Are they included in/excluded from the measurements you give?
    – Werner
    Commented Nov 2, 2015 at 23:21

1 Answer 1

2

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.

13
  • it is not 74pt. It is 72, there is no 74 in my requirement. Please update your answer.
    – Shawn
    Commented Nov 2, 2015 at 23:59
  • I add this "\renewcommand{\IEEEtitletopspaceextra}{\dimexpr-\headheight-\headsep+18pt\relax}" below " \begin{document} ". There is error pop up.
    – Shawn
    Commented Nov 3, 2015 at 0:03
  • The error is :! LaTeX Error: \IEEEtitletopspaceextra undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help.
    – Shawn
    Commented Nov 3, 2015 at 0:04
  • 3
    @Shawn: Please update your distribution and try again.
    – Werner
    Commented Nov 3, 2015 at 0:05
  • 3
    @Shawn please try not to badger users like this, they're people with lives (mostly, one of us is a duck, actually) who use their free time to help you for nothing. It's nice to help people, and users get some meaningless rep points out of it - but they cannot change these up at the bank and go out and buy a sandwich. I understand that you are eager - perhaps desperate - to get a solution, but don't pester people. This isn't a support team you're paying a subscription to, from whom you can expect an answer. It's a Q&A site. Manners, my friend, respect, patience, gratitude.
    – Au101
    Commented Nov 3, 2015 at 2:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .