当我将论文上传到 EDAS 时出现以下错误:The right margin is 1.422 cm on page(s) 4 (widths: 18.1; 18.1; 18.1; 18.1; 18.1; 8.9 cm), which is below the required margin of 1.6 cm for A4-sized paper.
这是我的标题:
\documentclass[conference,a4paper]{IEEEtran}
\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{siunitx}
\usepackage{url}
\usepackage{pgf}
\usepackage{pgfplots}
\usepackage{algorithm,algpseudocode}
\addtolength{\topmargin}{+0.122cm}
\addtolength{\rightmargin}{+0.178cm}
\usepackage[mode=buildnew]{standalone}% requires -shell-escape
\usepackage{tikz}
\usetikzlibrary{positioning}
\pgfplotsset{compat=1.15}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\newcommand{\todo}[1]{}
\renewcommand{\todo}[1]{{\textbf{\color{red} TODO: {#1}}}}
如您所见,我\addtolength{\rightmargin}{+0.178cm}
尝试修复该问题,但错误仍然出现。有什么想法吗?
答案1
尝试添加这些行,它对我有用。
\newcommand{\CLASSINPUTtoptextmargin}{2.4cm}
\newcommand{\CLASSINPUTbottomtextmargin}{4.6cm}
%\newcommand{\CLASSINPUToutersidemargin}{1.3cm}
%\newcommand{\CLASSINPUTinnersidemargin}{1.3cm}
\documentclass[conference]{IEEEtran}
答案2
我通过使用该geometry
包并删除\addtolength
命令解决了这个问题:
\usepackage[left=1.62cm,right=1.62cm,top=1.9cm]{geometry}