{pseudocode} is a compact and informal description of a computer programming algorithm.

learn more… | top users | synonyms

1
vote
0answers
159 views

Formatting - Algorithm

I have following pseudocode: I want to write it as an algorithm but not able to format it properly. Following is my attempt: \documentclass{article} \usepackage{algorithm,amsmath,algpseudocode} ...
1
vote
0answers
93 views

Algorithm Environment

I want to write an algorithm into my paper but it is just a pseudocode and none of the fancy if-then loops etc. Instead, I want it to look something like Algorithm 11.1 here: What environment ...
0
votes
0answers
47 views

How to make reference to a codebox?

I am using the clrscode3e package to typeset pseudocode and I want to make reference to the procedures in codeboxes to produce something like "Procedure InsertionSort". How to do that? For example, ...
0
votes
0answers
67 views

Including Mathematica Code, in book type document

I want to include some Mathematica code in my tex file. For that I'm using this solution. As an example: \documentclass[12pt,a4paper]{book} \usepackage{graphicx} \usepackage{bm} ...