emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] workflow, matlab+latex in org file


From: Uwe Brauer
Subject: Re: [O] workflow, matlab+latex in org file
Date: Sat, 11 Mar 2017 08:04:44 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

    > On Friday, 10 Mar 2017 at 16:08, Uwe Brauer wrote:

    > [...]


    > You may need to add ":exports results" to the src line.

    > Also, you should also modify the code to wrap the output in an equation
    > environment:

    > disp('\begin{equation}')
    > disp(ltxjac)
    > disp('\end{equation}')


I played a bit more around, and John's code is a great help but the
matlab output for non symbolic variables is just awful

As in
#+begin_src matlab :results output 
clear all;
x=[ 1 2 2 3 4]
#+end_src

#+RESULTS:
: 
: x =
: 
:      1     2     2     3     4
: 

Does anybody know how to get a better formatted output, to get rid of
the empty lines and newline? best would be a org-table?

org-table-convert-region results in 

| :      1     2     2     3     4 |

Uwe Brauer 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]