Latex: Difference between revisions

548 bytes added ,  23 April 2020
Line 207: Line 207:
</syntaxhighlight>
</syntaxhighlight>


==algorithm2e==
==Algorithms==
How to insert pseudocode into your Latex document.
 
See [https://tex.stackexchange.com/questions/229355/algorithm-algorithmic-algorithmicx-algorithm2e-algpseudocode-confused algorithmc vs algorithmcx vs algorithm2e]<br>
Also [[Wikibooks: LaTeX/Algorithms]] for several examples
 
===algorithmc===
[http://mirrors.rit.edu/CTAN/macros/latex/contrib/algorithms/algorithms.pdf The algorithms bundle]
 
===algorithmcx===
[http://mirror.ox.ac.uk/sites/ctan.org/macros/latex/contrib/algorithmicx/algorithmicx.pdf The algorithmicx package]
 
===algorithm2e===
See [https://en.wikibooks.org/wiki/LaTeX/Algorithms#Typesetting_using_the_algorithm2e_package https://en.wikibooks.org/wiki/LaTeX/Algorithms#Typesetting_using_the_algorithm2e_package]
See [https://en.wikibooks.org/wiki/LaTeX/Algorithms#Typesetting_using_the_algorithm2e_package https://en.wikibooks.org/wiki/LaTeX/Algorithms#Typesetting_using_the_algorithm2e_package]
<syntaxhighlight lang="latex">
<syntaxhighlight lang="latex">