iosart2x 使用時に LaTeX の行番号を削除する方法

iosart2x 使用時に LaTeX の行番号を削除する方法

iosart2x.cls スタイルを使用すると、私の論文に行番号が表示されます。これを削除するにはどうすればよいでしょうか? 助けてください。ありがとうございます!

答え1

バージョン1.3.50 iosart2x(2022/09/12)は、https://github.com/vtex-soft/texsupport.iospress-sat/tree/master執筆時点(2024 年 3 月)では、クラス オプションはcrcready実際に機能しています(クラスのバージョン 1.3.12 では機能していませんでした)。このクラス オプションは行番号を削除します。さらに、ページ上部のジャーナル情報と著作権表示も削除され、ページ番号も削除されます。

行番号のみを削除し、残りの情報を保持するには、代わりに\numberlinesfalseafter を使用する\begin{document}か、または同等に、\AtBeginDocument{\numberlinesfalse}preamble 内で を使用します。

クラス オプションの 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}

MWE と\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

関連情報