CVPR_Template
CVPR_Template copied to clipboard
Why is the content not horizontally centered in the page? It is slightly left tilted
Look at the margin of the page. The left margin is smaller than the right margin. The whole content is left tilted. Can we fix this thing? Bugging me like crazy...
已收到邮件,谢谢
Ah I figured it out.
Here is the problem: https://github.com/MCG-NKU/CVPR_Template/blob/15c2d748f9da8c2aed1913acb15a9f104f3f5184/cvpr.cls#L435
You gotta change
\setlength{\oddsidemargin}{-0.304in}
\setlength{\evensidemargin}{-0.304in}
to
\setlength{\oddsidemargin}{-0.1875in}
\setlength{\evensidemargin}{-0.1875in}
The old margin value was designed for a4paper
, but our document is actually a letterpaper
!
Letterpaper width is 8.5in, our textwidth is defined as 6.875in, so the margin on each side should be (8.5-6.875)/2=0.8125. The default margin is 1in, therefore we need to subtract 1-0.8125=0.1875in!!