我正在写一篇文章,页面顶部有一行页码。我想删除行和页码。
我尝试删除该行,但没有效果:
\renewcommand{\headrulewidth}{0pt}
这是我的整个文件:
%%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is a general template file for the LaTeX package SVJour3
% for Springer journals. Springer Heidelberg 2010/09/16
%
% Copy it to a new file with a new name and use it as the basis
% for your article. Delete % signs as needed.
%
% This template includes a few options for different layouts and
% content for various journals. Please consult a previous issue of
% your journal as needed.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% First comes an example EPS file -- just ignore it and
% proceed on the \documentclass line
% your LaTeX will extract the file if required
\begin{filecontents*}{example.eps}
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 19 19 221 221
%%CreationDate: Mon Sep 29 1997
%%Creator: programmed by hand (JK)
%%EndComments
gsave
newpath
20 20 moveto
20 220 lineto
220 220 lineto
220 20 lineto
closepath
2 setlinewidth
gsave
.4 setgray fill
grestore
stroke
grestore
\end{filecontents*}
%
\RequirePackage{fix-cm}
%
%\documentclass{svjour3} % onecolumn (standard format)
%\documentclass[smallcondensed]{svjour3} % onecolumn (ditto)
%\documentclass[smallextended]{svjour3} % onecolumn (second format)
\documentclass[twocolumn]{svjour3} % twocolumn
%
\smartqed % flush right qed marks, e.g. at end of proof
%
\usepackage{array}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{pxfonts}
\graphicspath{ {C:\Users\App\Desktop\MANUSCRIPT\LaTeX} }
%
% \usepackage{mathptmx} % use Times fonts if available on your TeX system
%
% insert here the call for the packages your document requires
%\usepackage{latexsym}
% etc.
%
% please place your own definitions here and don't use \def but
% \newcommand{}{}
\newcommand*{\tabbox}[2][t]{%
\vspace{0pt}\parbox[#1][3.7\baselineskip]{1cm}{\strut#2\strut}}
%
% Insert the name of "your journal" with
% \journalname{myjournal}
%
\begin{document}
\begin{figure}
\includegraphics[width=7cm]{twoapproaches.pdf}
\caption{Two approaches to mutli-class vehicle classification}
\label{fig:1}
\end{figure}
\end{document}
% end of file template.tex
答案1
看起来您正在使用期刊提供的 documentclass,这是论文提交的必需品。如果是这样,那么很明显您不应该进行任何布局修改。
否则,使用最适合您需求的任何文档类 - 或者,如果允许的话,制作一个复制.cls 文档,更改其名称,并根据需要编辑布局。但这有点高级。我建议您专注于内容,而不要担心格式。