2

I want to write an algorithm into my paper but it is just a pseudocode and none of the fancy if-then loops etc. Instead, I want it to look something like Algorithm 11.1 here:

enter image description here

What environment should I use to make that happen?

  • 2
    The font used there is just a sans serif font. You can use inside the environment \sffamily or you can use just for a piece of text \textsf{}. – Sigur Jul 16 '14 at 13:52
  • 2
    The environment just looks like an ordinary enumerate with a different choice of font. – Andrew Swann Jul 16 '14 at 13:53
  • 1
    This does not need any package for algorithms. If you would like to use one, just click on the tag you used for your question. The document is done in TeX and the authors E-Mail-address is on the last page. If you suspect something special in his code, send him a friendly message to share that algorithm with you. – LaRiFaRi Jul 16 '14 at 14:21
  • 1
    Yeah, as others noted, it appears to be an enumerate with sans serif font. The beginning portion appears to simply be a theorem-like environment (perhaps using amsthm and lines like \theoremstyle{definition}\newtheorem{algorithm}{Algorithm}[section] or something similar?)... – Alex Nelson Jul 16 '14 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.