## LaTeX forum ⇒ Page Layout ⇒ Algorithm size

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
uzmeed
Posts: 1
Joined: Mon Aug 24, 2020 10:38 am

### Algorithm size

Hi

I want to write an algorithm using latex
I am using
`\usepackage{algorithm2e}`

My problem is

When my algo is small like about 20 - 22 lines it has proper formatting

However, when it has more lines exceeding 23 the formatting is disturbed

How can I write a large algorithm

Best Regards
uzmeed
Last edited by cgnieder on Tue Aug 25, 2020 8:52 am, edited 1 time in total.
Reason: added inline code formatting