首页边距与其他页边距不同

首页边距与其他页边距不同

我正在完成论文格式以便最终提交给 IEEE 会议,我需要调整与第 1 页略有不同的其他页面的边距。

会议建议纸张边距如下:

|---------------------|------------------------------------|
|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|
|---------------------|------------------------------------|

目前,我将所有边距设置为相同:

\usepackage[top=72pt, left=54pt, right=54pt, bottom=54pt]{geometry}

但我需要其他页面位于54 pt所有边距上。

编辑

源代码MWE

\documentclass[conference]{IEEEtran}
\usepackage[left=54pt, right=54pt, bottom=54pt, top=54pt]{geometry}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{blindtext}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
    
    
\begin{document}


\vspace*{18pt}
\title{The paper´s title here
\thanks{Acknowledgements.}
}

\author{\IEEEauthorblockN{First Author\IEEEauthorrefmark{1}\IEEEauthorrefmark{3}, Second Author\IEEEauthorrefmark{1}\IEEEauthorrefmark{3}, and Third Author\IEEEauthorrefmark{2}\IEEEauthorrefmark{3}}

\IEEEauthorrefmark{1}First Affiliation \\
\IEEEauthorrefmark{2}Second Affiliation \\
\IEEEauthorrefmark{3}Third Affiliation \\
Email: [email protected], [email protected], [email protected] 
}

\maketitle

\begin{abstract}
This document is a model and instructions for \LaTeX.
This and the IEEEtran.cls file define the components of your paper [title, text, heads, etc.]. *CRITICAL: Do Not Use Symbols, Special Characters, Footnotes, 
or Math in Paper Title or Abstract.
\end{abstract}

\begin{IEEEkeywords}
component, formatting, style, styling, insert
\end{IEEEkeywords}

\section{Introduction}
This document is a model and instructions for \LaTeX.
Please observe the conference page limits. 

\blindtext[5]

\section{Ease of Use}


\begin{thebibliography}{00}
\bibitem{b1} G. Eason, B. Noble, and I. N. Sneddon, ``On certain integrals of Lipschitz-Hankel type involving products of Bessel functions,'' Phil. Trans. Roy. Soc. London, vol. A247, pp. 529--551, April 1955.
\bibitem{b2} J. Clerk Maxwell, A Treatise on Electricity and Magnetism, 3rd ed., vol. 2. Oxford: Clarendon, 1892, pp.68--73.
\bibitem{b3} I. S. Jacobs and C. P. Bean, ``Fine particles, thin films and exchange anisotropy,'' in Magnetism, vol. III, G. T. Rado and H. Suhl, Eds. New York: Academic, 1963, pp. 271--350.
\bibitem{b4} K. Elissa, ``Title of paper if known,'' unpublished.
\bibitem{b5} R. Nicole, ``Title of paper with only first word capitalized,'' J. Name Stand. Abbrev., in press.
\bibitem{b6} Y. Yorozu, M. Hirano, K. Oka, and Y. Tagawa, ``Electron spectroscopy studies on magneto-optical media and plastic substrate interface,'' IEEE Transl. J. Magn. Japan, vol. 2, pp. 740--741, August 1987 [Digests 9th Annual Conf. Magnetics Japan, p. 301, 1982].
\bibitem{b7} M. Young, The Technical Writer's Handbook. Mill Valley, CA: University Science, 1989.
\end{thebibliography}
\vspace{12pt}
\color{red}
IEEE conference templates contain guidance text for composing and formatting conference papers. Please ensure that all template text is removed from your conference paper prior to submission to the conference. Failure to remove the template text from your paper may result in your paper not being published.

\end{document}

输出 在此处输入图片描述

答案1

看着代码IEEEtran.cls,存在用于定义边距的宏,包括第一页/页眉的特殊边距。

\IEEEsettopmargin{t}{54pt}(0.75英寸)已经是会议风格的默认设置。

但是标题的默认附加空间由 给出,\def\IEEEtitletopspace{0.5\baselineskip}按照您的风格,其值为 6pt。(您可以通过\showthe\baselineskip显示 12pt 来计算。)

因此,要获得所需的利润,您只需要\def\IEEEtitletopspace{18pt}

完整示例:

\documentclass[conference]{IEEEtran}
\def\IEEEtitletopspace{18pt}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{blindtext}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}


\begin{document}


\title{The paper´s title here
\thanks{Acknowledgements.}
}

\author{\IEEEauthorblockN{First Author\IEEEauthorrefmark{1}\IEEEauthorrefmark{3}, Second Author\IEEEauthorrefmark{1}\IEEEauthorrefmark{3}, and Third Author\IEEEauthorrefmark{2}\IEEEauthorrefmark{3}}

\IEEEauthorrefmark{1}First Affiliation \\
\IEEEauthorrefmark{2}Second Affiliation \\
\IEEEauthorrefmark{3}Third Affiliation \\
Email: [email protected], [email protected], [email protected]
}

\maketitle

\begin{abstract}
This document is a model and instructions for \LaTeX.
This and the IEEEtran.cls file define the components of your paper [title, text, heads, etc.]. *CRITICAL: Do Not Use Symbols, Special Characters, Footnotes,
or Math in Paper Title or Abstract.
\end{abstract}


\begin{IEEEkeywords}
component, formatting, style, styling, insert
\end{IEEEkeywords}

\section{Introduction}
This document is a model and instructions for \LaTeX.
Please observe the conference page limits.

\blindtext[5]

\section{Ease of Use}


\begin{thebibliography}{00}
\bibitem{b1} G. Eason, B. Noble, and I. N. Sneddon, ``On certain integrals of Lipschitz-Hankel type involving products of Bessel functions,'' Phil. Trans. Roy. Soc. London, vol. A247, pp. 529--551, April 1955.
\bibitem{b2} J. Clerk Maxwell, A Treatise on Electricity and Magnetism, 3rd ed., vol. 2. Oxford: Clarendon, 1892, pp.68--73.
\bibitem{b3} I. S. Jacobs and C. P. Bean, ``Fine particles, thin films and exchange anisotropy,'' in Magnetism, vol. III, G. T. Rado and H. Suhl, Eds. New York: Academic, 1963, pp. 271--350.
\bibitem{b4} K. Elissa, ``Title of paper if known,'' unpublished.
\bibitem{b5} R. Nicole, ``Title of paper with only first word capitalized,'' J. Name Stand. Abbrev., in press.
\bibitem{b6} Y. Yorozu, M. Hirano, K. Oka, and Y. Tagawa, ``Electron spectroscopy studies on magneto-optical media and plastic substrate interface,'' IEEE Transl. J. Magn. Japan, vol. 2, pp. 740--741, August 1987 [Digests 9th Annual Conf. Magnetics Japan, p. 301, 1982].
\bibitem{b7} M. Young, The Technical Writer's Handbook. Mill Valley, CA: University Science, 1989.
\end{thebibliography}
\vspace{12pt}
\color{red}
IEEE conference templates contain guidance text for composing and formatting conference papers. Please ensure that all template text is removed from your conference paper prior to submission to the conference. Failure to remove the template text from your paper may result in your paper not being published.

\end{document}

答案2

考虑到边距非常接近,简单的方法是使用geometry全局设置最小边距:

\usepackage[top=54pt, left=54pt, right=54pt, bottom=54pt]{geometry}

然后手动添加间距来固定第一页的边距。72 − 54 = 18,因此添加到\vspace*{18pt}文档的顶部。

或者,\AtBeginDocument{\vspace*{18pt}}也可以。参见先前这个问题

或者尝试放入\vspace*{18pt}\title{

您确定没有适合您的 IEEE 会议样式文件吗?

相关内容