Latex Algorithm Name . If you would like to add line numbers to the algorithm, you can add the first. (5pt) tiny (9pt) small (10pt) normal (12pt) large (18pt) very large (20pt) huge. Latex 算法怎么写?(二):算法代码示例 知乎 from zhuanlan.zhihu.com \documentclass[a4paper, 12pt, oneside]{thesis} % use the thesis style, based on the ecs thesis style by steve gunn \graphicspath{{figures/}} % location of the graphics files (set up for graphics to be in pdf format) % include any extra latex packages required \usepackage{algorithm} \usepackage{algpseudocode} \usepackage[square, numbers, comma,. Algorithms cannot be cut, so if there is not enough place to put an algorithm with h option at a given spot, latex will place a blank and put the algorithm on the following page. How to write algorithm and pseudocode in latex ?\usepackage{algorithm},\usepackage{algorithmic} saturday 4 january 2020, by nadir soualem.