LaTeX forum ⇒ Community talkalgorithm2e showing errors in IEEE Access format (“Argument of \@algocf@endoption has an extra }. } ”and “Paragraph ende

General discussion about this LaTeX community.
Please no LaTeX topics here! Just community topics!
Shahidabbas76
Posts: 1
Joined: Tue Jun 22, 2021 9:13 am

algorithm2e showing errors in IEEE Access format (“Argument of \@algocf@endoption has an extra }. } ”and “Paragraph ende

Postby Shahidabbas76 » Tue Jun 22, 2021 9:18 am

\documentclass{ieeeaccess}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithm}
\usepackage[ruled]{algorithm2e}
\begin{document}
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
\doi{--.----/ACCESS.2021.DOI}
\title{Securing GA based Routing in an SDN for Blockchained Internet of Things}
\author{\uppercase{xyz} \authorrefmark{1}, \uppercase{abc} \authorrefmark{1,*}, (\IEEEmembership{Senior Member, IEEE})} \address[1]{Great University World} \corresp{*Correspondence: xyz}
\titlepgskip=-15pt
\maketitle
\begin{algorithm}[h]
\caption{LRA for Forwarding Nodes}
\label{Authentication}
% \SetAlgoLined
\KwIn{$ID_{RN},~L_{RN},~Er_{RN}$}
\KwOut{Storing or Updating the Node's Credentials}
\KwResult{$ID_{RN},~L_{RN},~Er_{RN}$ }
\eIf{$ID_{RN},~L_{RN}$ Not Stored in Blockchain}{
\eIf{$Er_{RN} \ge threshold$ }
{
$ID_{RN},~L_{RN},~ En_{RN}$\;
}
{
Reject\;
}
}
{
the $Er_{RN}$ if changed\;
}
\end{algorithm}
\EOD
\end{document}

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Ijon Tichy
Posts: 589
Joined: Mon Dec 24, 2018 10:12 am

algorithm2e showing errors in IEEE Access format (“Argument of \@algocf@endoption has an extra }. } ”and “Paragraph ende

Postby Ijon Tichy » Tue Jun 22, 2021 10:20 am

Wrong forum section. This one is for Community talk. For example General would be better.

Where can I find the class? It is not part of TeX Live and I cannot find it on CTAN.

Depends the error on the class or does it also happen with article? (Cannot test soon myself, because of the issue above and the following explained issue.)

Please use code tags for your code instead of the LaTeX tag. Only the code tag activates the online editor/compiler.

amirpku
Posts: 1
Joined: Sun Oct 31, 2021 4:54 am

algorithm2e showing errors in IEEE Access format (“Argument of \@algocf@endoption has an extra }. } ”and “Paragraph ende

Postby amirpku » Sun Oct 31, 2021 4:59 am

Abbas dadash toonesti moshkelo hal koni?


Return to “Community talk”

Who is online

Users browsing this forum: No registered users and 4 guests