作者Isiah ()
看板LaTeX
标题[问题] 关於margin的问题
时间Sun Jan 18 01:16:23 2009
想请问关於margin的问题,我使用的是XeLaTeX
以下是我的程式码
\documentclass[twoside,12pt]{article}
\usepackage[parfill]{parskip}
\usepackage{layout}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt
\font\lih="LiHei Pro" at 10pt
\font\optima="Optima" at 10pt
\begin{document}
\oddsidemargin =2.6cm
\evensidemargin=1cm
\paperwidth = 27.3cm
\paperheight = 21.1cm
\textheight= 24.2cm
\layout
\optima
\paragraph{{Section 1}}
It looks as if all the pieces of the puzzle are coming together,
Mark Regev, a spokesman for Prime Minister Ehud Olmert, said Friday. “There
will be discussions tomorrow morning, and it looks like a cabinet meeting will
take place tomorrow night. Everyone is very upbeat.”
Meanwhile, Israeli tank fire killed two boys at a United Nations-run school
on Saturday in the northern Gaza Strip town of Beit Lahiya, a U.N. official
told Reuters. Adnan Abu Hasna, a spokesman for the U.N. Relief and Works
Agency, said two brothers had been killed and 14 people had been wounded in
the attack, including the boys' mother. An Israeli army spokesman said that
he was checking the report.
\paragraph{Section 2}
\paragraph{Section 3}
\paragraph{Section 4}
\paragraph{Section 5}
\end{document}
根据这样设定後,跑出的pdf档,用layout跑出来的是 奇数页
1 one inch + \hoffset 2 one inch + \voffset
3 \oddsidemargin = 17pt 4 \topmargin = 17pt
5 \headheight = 12pt 6 \headsep = 25pt
7 \textheight = 548pt 8 \textwidth = 390pt
9 \marginparsep = 10pt 10 \marginparwidth = 95pt
11 \footskip = 30pt \marginparpush = 7pt (not shown)
\hoffset = 0pt \voffset = 0pt
\paperwidth = 614pt \paperheight = 794pt
偶数页
1 one inch + \hoffset 2 one inch + \voffset
3 \evensidemargin = 62pt 4 \topmargin = 17pt
5 \headheight = 12pt 6 \headsep = 25pt
7 \textheight = 548pt 8 \textwidth = 390pt
9 \marginparsep = 10pt 10 \marginparwidth = 95pt
11 \footskip = 30pt \marginparpush = 7pt (not shown)
\hoffset = 0pt \voffset = 0pt
\paperwidth = 614pt \paperheight = 794pt
不过实际上在pdf上用尺规的结果,奇数页时内文距离左侧页缘为 2 inches,
距离上侧页缘约1.75 inches。
偶数页时内文距离左侧页缘为1.25 inches,距离上侧页缘1.75 inches。
想请问不知道我的preamblr是不是有什麽地方设错了呢??
谢谢!!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.4.78