Jump to content

Talk:LaTeX/Algorithms

Page contents not supported in other languages.
Add topic
From Wikibooks, open books for an open world
Latest comment: 6 years ago by Smoneck in topic etoolbox

etoolbox

[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 (discusscontribs) 15:07, 18 April 2019 (UTC)Reply

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 (discusscontribs)

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 (discusscontribs) 14:13, 20 February 2013 (UTC)Reply

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)Reply