
В моей статье появляется нумерация строк, когда я использую стиль iosart2x.cls. Так как же ее убрать? Пожалуйста, помогите мне. Спасибо!
решение1
Для версии 1.3.50 от iosart2x
(12.09.2022), которая доступна наhttps://github.com/vtex-soft/texsupport.iospress-sat/tree/masterна момент написания статьи (март 2024 г.) опция класса crcready
фактически работает (чего не было в версии 1.3.12 класса). Эта опция класса удаляет номера строк. Кроме того, она также удаляет информацию о журнале в верхней части страницы и уведомление об авторских правах, а также удаляет номера страниц.
Чтобы удалить только номера строк и сохранить остальную информацию, можно использовать \numberlinesfalse
после \begin{document}
или, что эквивалентно, \AtBeginDocument{\numberlinesfalse}
в преамбуле.
MWE для варианта класса:
% additional options: [seceqn,secthm,crcready]
\documentclass[isp,crcready]{iosart2x}
%% Packages
\usepackage{dcolumn}
%% Definitions
\newcolumntype{d}[1]{D{.}{.}{#1}}
%% Article Info
\firstpage{1}
\lastpage{6}
\volume{1}
\pubyear{2021}
\begin{document}
\begin{frontmatter} % The preamble begins here.
%
%\pretitle{Pretitle}
\title{Instructions for the preparation of a camera-ready paper in \LaTeX\thanks{Footnote in title.}}
\runtitle{Instructions for the preparation of a camera-ready paper in \LaTeX}
%\subtitle{Subtitle}
\begin{aug}
\author[A]{\inits{F.}\fnms{First} \snm{Author}\ead[label=e1]{[email protected]}}
\author[B]{\inits{S.}\fnms{Second} \snm{Author}\ead[label=e2]{[email protected]}}
\author[B]{\inits{T.}\fnms{Third} \snm{Author}\ead[label=e3]{[email protected]}}
\address[A]{Journal Production Department, \orgname{IOS Press}, Nieuwe Hemweg 6b, 1013 BG, Amsterdam, \cny{The~Netherlands}}
\address[B]{Department first, \orgname{University or Company name},
Abbreviate US states, \cny{Country}}
\end{aug}
\begin{abstract}
The abstract should be clear, descriptive, self-explanatory and no longer than 200 words. It should also
be suitable for publication in abstracting services. Do not include references or formulae in the abstract.
\end{abstract}
\begin{keyword}
\kwd{Keyword one}
\kwd{keyword two}
\kwd{keyword three}
\kwd{keyword four}
\kwd{keyword five}
\end{keyword}
\end{frontmatter}
\section{Introduction}
The instructions are designed for the preparation of a camera-ready and accepted paper in \LaTeX{} and should be read carefully.
Prepare your paper in the same style as used in this sample pdf file.
These instructions also contain the necessary information for manual editing.
Manuscripts must be written in English. Authors whose native language is not English are recommended to seek the advice of a native English speaker,
if possible, before submitting their manuscripts. In the text no reference should be made
to page numbers; if necessary, one may refer to sections. Try to avoid excessive use of italics and bold face.
\end{document}
МВЭ с \numberlinesfalse
:
% additional options: [seceqn,secthm,crcready]
\documentclass[isp]{iosart2x}
%% Packages
\usepackage{dcolumn}
%% Definitions
\newcolumntype{d}[1]{D{.}{.}{#1}}
%% Article Info
\firstpage{1}
\lastpage{6}
\volume{1}
\pubyear{2021}
\begin{document}
\numberlinesfalse
\begin{frontmatter} % The preamble begins here.
% etc, same as above
Для версии 1.3.12 iosart2x
(2019/11/20) решение немного отличается отдругой ответ. Следующий код удаляет номера строк (обратите внимание, что добавленный код необходимо разместитьпосле \begin{document}
):
\begin{document}
\makeatletter
\let\put@numberlines@box\relax
\makeatother
\begin{frontmatter} % The preamble begins here.
Обратите внимание, что crcready
опция класса не используется (вопреки инструкциям, которые в настоящее время содержатся в руководстве по классу).
Результат:
решение2
Добавьте следующее после \documentclass{iosart2x}
:
\makeatletter
\let\numberlines@hook\relax
\makeatother