emacs-orgmode
[Top][All Lists]

## [Orgmode] Mathematical Pseudocode in Source Block

 From: Jeremiah Via Subject: [Orgmode] Mathematical Pseudocode in Source Block Date: Wed, 11 Aug 2010 12:47:28 -0700

Hi there,

I was wondering if there was any way to make the source blocks work
with LaTeX formulas. I wanted to use it for some pesudocode; for
example:

while not converged
for each state i
$$U^{'}_i = r_i + \underset{a}{argmax} \sum{Pa_{ij}U_j}$$
$$U_i \rightarrow U^{'}_i$$
end for
end while

If a source block isn't possible, is there at least a way to get a
textbox around it?

Thank you
--
Jeremiah M. Via
School of Computer Science
University of Birmingham