]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/Formatting_algorithms.mdwn
Ask about algorithm formatting in the forum
[ikiwiki.git] / doc / forum / Formatting_algorithms.mdwn
1 I'm using ikiwiki for a software project, and in the design process one of the things I sometimes write  
2 algorithms. It doesn't happen much, but for components of functional nature it's very useful.
3
4 I've been thinking how to write them in the wiki. I can use a numbered list and manually make  
5 keywords __bold__, but it's not optimal. I could also use plain text formatting and indent using tabs,  
6 but again there is no highlighting of any keywords or formatting of structures.  
7 Before I do that, I'd like to know if there are better options.
8
9 One option I know is LaTeX, which has some very nice packages. You write pseudo-code which looks  
10 very much like source code, and the result looks great, very readable and high quality.
11
12 I saw the [[plugins/teximg]] plugin, but the explanation there is poor: Does the plugin handle things  
13 that aren't formulas? Could it work with a LaTeX document or with an algorithm environment?
14
15 Of course, of you have other suggestions I'll be happy to hear. I want to make a careful choice before  
16 I start writing many algorithms :-)