Talk:LaTeX/Algorithms
Add topicetoolbox
[edit source]The etoolbox package provides a vast set of if-else statements like
- \ifdimcomp{<dimen expression>}{<relation>}{<dimen expression>}{<true>}{<false>} or
- \ifboolexpr{<expression>}{<true>}{<false>}
that can be very handy. This is something for the writer him-/herself but I recommend adding a few lines regarding it. --Smoneck (discuss • contribs) 15:07, 18 April 2019 (UTC)
Algorithm package
[edit source]The algorithm package is not available. Perhaps one of these should be used? algorithm2e: Floating algorithm environment with algorithmic keywords. algorithmicx: The algorithmic style you always wanted. algorithms: A suite of tools for typesetting algorithms in pseudo-code. context-algorithmic: Algorithm handling.
I am not sure which one is referred to so i hope someone can shed some light on it.
This is not correct. \usepackage{algorithm} works just find on my Ubuntu 11.04 system. Perhaps it is simply not installed on your machine? Karategeek6 (discuss • contribs)
The naming of bundles/packages/environments appears wrong
[edit source]On my ageing Ubuntu 10.04 system, I have the following packages:
- algorithms
- algorithmics
- algorithm2e
The first (algorithms) offers the environments:
- algorithmic
- algorithm
This page, as it stands, is not sufficiently clear on the distinction between bundles, packages, and environments. Indeed, it is probably outright wrong in many places. I am afraid I haven't the time to sort this out, but the issue is worth flagging. Regards, Robbiemorrison (discuss • contribs) 14:13, 20 February 2013 (UTC)
Some guideline
[edit source]There should be some guideline which of the packages should be used as default, which is the best.
I am getting lost while deciding which one to use. 83.7.253.111 (discuss) 19:33, 23 September 2014 (UTC)