4
votes
2answers
85 views

Line numbers are outside the box in algorithm2e

Here is my code: \documentclass[11pt]{llncs} \usepackage[utf8]{inputenc} \usepackage{parskip} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{dsfont} \usepackage{float} \usepackage{multicol} ...
4
votes
1answer
208 views

Algorithm2e - Permanent fix for no italics if-clause

I am using algorithm2e to create pseudocode for my document. However, it has it so that the conditions in if clauses are italicised. This solution suggests putting an \upshape in each if condition. ...
4
votes
1answer
1k views

Algorithm2e modify line numbers

I'm using the LaTeX algorithm2e package by defining \usepackage[ruled, linesnumbered, vlined]{algorithm2e} The linesnumbered argument adds lines numbers from [1,...,n] if we have an algorithm with ...