纸张边距

纸张边距

我正在尝试将一篇论文提交给具有特定页边距要求的会议。我使用几何包来定义页边距。

\usepackage[letterpaper, left=1in, right=1in, bottom=1in, top=0.75in]{geometry}

但是,尝试上传时仍然出现错误。例如,第 6 页的右边距为 0.958 英寸,没有留下 1 英寸的边距。

为什么几何图形设置的边距会被覆盖?如果是,有没有办法硬设置边距?

答案1

我无法重现该错误;有一个 MWE,所以您可以告诉我要添加什么才能生成该错误。

% arara: pdflatex: {synctex: yes, action: nonstopmode}
% arara: bibtex
% arara: bibtex
% arara: pdflatex: {synctex: yes, action: nonstopmode}
% arara: pdflatex: {synctex: yes, action: nonstopmode}

\documentclass[conference,letterpaper]{IEEEtran}
\usepackage[letterpaper, left=1in, right=1in, bottom=1in, top=0.75in]{geometry}
\usepackage[utf8]{inputenc} % input encoding for interpreter
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{newtxtext}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage[usenames,dvipsnames]{xcolor} % Allows the definition of hex colors
\usepackage{colortbl} % colors library.
\definecolor{klein}{HTML}{002fa7} % Klein blue
\usepackage[hyphens,spaces,obeyspaces]{url}
\usepackage[colorlinks=True,citecolor=red,urlcolor=klein]{hyperref}% For Hyperlinks

\usepackage[all]{hypcap}
%\usepackage{natbib} %Is not compatible with IEEEtran %Try using plainnat
% Enables to cite using author names  commands \citet \citep
\usepackage{lipsum}

\title{IEEEtran Conference Mode}
\author{\IEEEauthorblockN{Foo Bar}
    \IEEEauthorblockA{School of Electrical and\\
        Computer Engineering\\
        Foo Institute of Technology\\
        Foo, Bar 454545--4545\\
        Email: [email protected]}
    \and
    \IEEEauthorblockN{Homer Simpson}
    \IEEEauthorblockA{Twentieth Century Fox\\
        Springfield, USA\\
        Email: [email protected]}
    \and
    \IEEEauthorblockN{Foo Bar\\
        and Bar Foo}
    \IEEEauthorblockA{Foo Academy\\
        San Francisco, California 45454-4545\\
        Telephone: (800) 454--4545\\
        Fax: (888) 454--4545}}
    \IEEEspecialpapernotice{(Testing Paper)}

\begin{document}

\maketitle
    \begin{abstract}
            \lipsum[1]
    \end{abstract}

    \begin{IEEEkeywords}
            Broad band networks, quality of service, WDM.
    \end{IEEEkeywords}
    \vspace{2\baselineskip}
    \IEEEraisesectionheading{\section{Introduction}\label{sec:introduction}}
    \IEEEPARstart{S}{ome} author \cite{cultLIBRE}, another author or reference\cite{cisco}. some text that is used to complete\footnote{\lipsum[5]} a line.\\
    \lipsum[1-2]
    \begin{figure}[h!]
        \centering
        \noindent\includegraphics[width=\columnwidth]{example-image-a}
        \caption{Some Example}
        \label{example1}
    \end{figure}
    \vspace{3\baselineskip}
    \IEEEraisesectionheading{\section{MORE TEXT}\label{sec:MORETEXT}}
    \lipsum[3-4]
    \begin{figure}[h!]
        \centering
        \noindent\includegraphics[width=\columnwidth]{example-image-b}
        \caption{Some Example}
        \label{example2}
    \end{figure}

    \lipsum[6-8]
    \bibliographystyle{IEEEtran}

    \bibliography{references}

\end{document}

实际结果:

在此处输入图片描述

相关内容