# What is the recommended way to Typset/Format Algorithm-related questions? [closed]

What is the recommended way to typeset algorithms?

For example, I have a question about an algorithm related to automata theory, and I would like to render the algorithm in my question.

In Latex I would use the algorithmic package and then get on with STATE and WHILE, etc. This does not seem to work here however, so is it recommended that I format the algorithm in html, with a numbered, ordered list and the individual details in jsmath/latex or is there some other tacitly agreed upon protocol?

-

## closed as off topic by Loop Space, Scott Morrison♦Jun 25 '10 at 15:50

Questions on MathOverflow are expected to relate to research level mathematics within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This type of question is more appropriate over at the meta site. –  Loop Space Jun 25 '10 at 8:48
Closed: this is for meta. –  Scott Morrison Jun 25 '10 at 15:50

factorial :: Integer -> Integer

If you need to put some code inline, then put it in backticks -- "Integer is a type". Unfortunately the code block code seems to suppress jsMath, however.