Document ClassesWhat kind of algorithm package used in this PDF?

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
beegii
Posts: 5
Joined: Tue Nov 09, 2010 10:29 pm

What kind of algorithm package used in this PDF?

Post by beegii »

I'm looking for a latex algorithm package which is used in the following PDF:

http://siret.ms.mff.cuni.cz/skopal/pub/dfile.pdf

Where can I download it?

Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

What kind of algorithm package used in this PDF?

Post by localghost »

I assume that it's algorithm2e. You can install it very easy with the package manager of your LaTeX distribution.

As soon as the problem is sored out, please act exactly according to Section 3 of the Board Rules.


Best regards and welcome to the board
Thorsten
beegii
Posts: 5
Joined: Tue Nov 09, 2010 10:29 pm

What kind of algorithm package used in this PDF?

Post by beegii »

Thank you very much. So how can I customize the package, for example to change keywords: begin -> { , end -> } etc...
and if the block contains only 1 row how do eliminate { and } (please see below).

Code: Select all

double func(param1) {
  if cond1 then {
    .....
    if cond2 then         // this block contains only 1 statement and 
       res = 1            // without parentheses
  } else {           
    .....
  } 
  return res }
Post Reply