Source Code Highlighting with Minted in LaTeX
The minted package provides automatic syntax highlighting for source code listings. It uses the excellent pygments highlighter, which provides very high quality highlighting for a wide range of languages.
This example also shows how you can use minted to typeset LaTeX math embedded in your source code.
Test LaTeX file for the Rice University / Coursera Algorithmic Thinking (Part 1).
Algoritmos de Ordenação
An algorithm is a scheme for solving a problem. Can be implemented with any sequence of values or objects that have an infinite logic that is, anything that can provide a logical sequence.