File Comment by Comment
24 Feb 2010 export_fig Exports figures nicely to a number of vector & bitmap formats. viktor

viktor

Hi Oliver,

Your file works great but is there a way to apply it to simulink systems? you can print a picture of your model but cropping is very hard.

Viktor

4
17 Jan 2010 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. viktor

viktor

Heej Florian,

Windows does use backslashes but because ' \ ' js a latex command you have to use '/ ' it is just weird that

\graphicspath{C:/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/}

works fine. it is able to find the pictures. but when i type

lstlisting{D:/my documents/MATLAB/plotter.m}

it is unable to find the file but when you type

lstlisting{D:/latex/mfilefolder/plotter.m} (so with no spaces) it works fine. Thanks for the help but i will try to ask the listing developers

Comment only
17 Jan 2010 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. viktor

viktor

Hello i am still using this package with great pleasure but is there a way to specify the path where the package looks for the files? just the same with graphics

\graphicspath{C:/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/}

forinstance

because if i type the full path name within the lstlistings{...} command it does not work. I think it is due to the fact that the path name has spaces in them. Is there a way to solve this problem in the same way with graphics?

Comment only
08 Dec 2009 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. viktor

viktor

now i dare to say the file is perfect, it saved me a lot of time!

Comment only
08 Dec 2009 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. viktor

viktor

The file works great all over the document, also in the appendix. so thank you Florian!

but i have one question, if i only compile a small part of a m-file for instance \lstinputlisting[firstline=5,lastline=8]{plo... is there a way to edit the numbering in the latex file because it always starts with 1 and not the original line number from the m-file

5