{algorithm2e} List of Algorithm no space after title

by Kaspar Johannes Schneider   Last Updated September 21, 2019 15:23 PM - source


I am creating a document containing an algorithm using the packagealgorithm2e. The document contains a List of Algorithms in the end, that is not being generated correctly. I am using Overleaf to compile the project.

Summary of the document:



   % The algorithm with \label{} (works as expected, appears in List of Algorithms)

   \addcontentsline{toc}{section}{List of Figures}
   \addcontentsline{toc}{section}{List of Algorithms}

The problem:

The generated List of Figures looks as expected, however, the List of Algorithms has no space after the title, see screenshot below. The content of the List of Algorithms is as expected.

List of Algorithms

Related Questions

Big algorithm causing big mess

Updated April 04, 2015 18:09 PM

Reducing vertical space after algorithm2e

Updated August 18, 2016 08:09 AM

algorithm2e: how to add space after SetKwInOut?

Updated October 25, 2016 08:09 AM