From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Mathematical Pseudocode in Source Block Date: Thu, 12 Aug 2010 18:30:15 +0200 Message-ID: <87fwyj4wvc.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=60047 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojafb-0005fo-4B for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 12:30:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjafZ-0006sl-MO for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 12:30:18 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:35708) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjafZ-0006sd-HQ for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 12:30:17 -0400 Received: by ewy28 with SMTP id 28so836376ewy.0 for ; Thu, 12 Aug 2010 09:30:16 -0700 (PDT) In-Reply-To: (Jeremiah Via's message of "Wed, 11 Aug 2010 12:47:28 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeremiah Via Cc: emacs-orgmode@gnu.org Jeremiah Via writes: > 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? Can you rephrase your question a bit? I'm not sure to understand. Do you want to have a source block in an org file with mixed languages and export this source block so that it is properly fontified in HTML? -- Bastien