From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: workflow, matlab+latex in org file Date: Mon, 11 Jul 2016 14:11:05 +0000 Message-ID: <87shvg6z9i.fsf@mat.ucm.es> References: <8760sc8ids.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMbve-0004hx-7q for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 10:11:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMbvZ-0000aq-6k for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 10:11:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:44063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMbvY-0000a0-Vh for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 10:11:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bMbvT-0002eQ-T6 for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 16:11:11 +0200 Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2016 16:11:11 +0200 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2016 16:11:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org >>> "John" == John Kitchin writes: > Here is an example using sympy. I think you will have to wrap the matlab > output in $$ yourself if that is what you want. Right. Using your example I obtain: ,---- | | | < M A T L A B (R) > | Copyright 1984-2010 The MathWorks, Inc. | Version 7.10.0.499 (R2010a) 32-bit (glnx86) | February 5, 2010 | | | To get started, type one of these: helpwin, helpdesk, or demo. | For product information, visit www.mathworks.com. | | >> >> >> >> >> >> | ltxjac = | | \left(\begin{array}{cc} {\left(\left(e + p\right)\, R^2 + e\right)}^{\frac{g}{2} - \frac{3}{2}}\, \left(R^2 + 1\right)\, \left(\frac{g}{2} - \frac{1}{2}\right) & R^2\, {\left(\left(e + p\right)\, R^2 + e\right)}^{\frac{g}{2} - \frac{3}{2}}\, \left(\frac{g}{2} - \frac{1}{2}\right)\\ \frac{R\, \sqrt{R^2 + 1}}{\left(e + p\right)\, R^2 + e} - \frac{R\, {\left(R^2 + 1\right)}^{\frac{3}{2}}\, \left(e + p\right)}{{\left(\left(e + p\right)\, R^2 + e\right)}^2} & \frac{R\, \sqrt{R^2 + 1}}{\left(e + p\right)\, R^2 + e} - \frac{R^3\, \sqrt{R^2 + 1}\, \left(e + p\right)}{{\left(\left(e + p\right)\, R^2 + e\right)}^2} \end{array}\right) | | >> `---- That is not perfect but much better than the original solutions, thanks Uwe