sysquakeforlatex and anonymous functions

37 views
Skip to first unread message

palary

unread,
Jun 15, 2012, 4:07:20 AM6/15/12
to sysq...@googlegroups.com
Hello

anonymous functions are they supported by Sysquake for LaTeX at this time ?
or I always must use inline function ?


Pierre

Yves Piguet

unread,
Jun 15, 2012, 4:37:34 AM6/15/12
to sysq...@googlegroups.com
Hi,

Anonymous functions are supported. Try for instance

\begin{sysquake}
a = 2;
x = feval(@(x) x + a, 3)
\end{sysquake}

You will see "x = 5" in the typeset document (LaTeX should be run twice).

Hth

Yves

palary

unread,
Jun 15, 2012, 3:15:43 PM6/15/12
to Sysquake
Thanks for your response.

Sysquakeforlatex works fine excepting for anonymous function :
While compiling, my editor Texmaker, says "Not supported" at the line
placed before the statement of the anonymous function.
I don't have this trouble with inline functions.

I think I have the same problem than D.GH. He explains it in the
message " 'Color' as in matab " the 26 dec 2007. But there was not not
solution at this date.


Pierre

Yves Piguet

unread,
Jun 15, 2012, 5:26:27 PM6/15/12
to sysq...@googlegroups.com
Sorry, you're right. Currently only the Mac version supports anonymous functions. This will change in the next release.

Yves

Reply all
Reply to author
Forward
0 new messages