Rank: 50087 based on 0 downloads (last 30 days) and 0 file submitted
photo

viktor

E-mail

Personal Profile:

student


 

Watch this Author's files

 

Comments and Ratings by viktor View all
Updated File Comments Rating
24 Feb 2010 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

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

17 Jan 2010 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

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

17 Jan 2010 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

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
\listingspath{C:/........} (doesn't work, already tried}

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?

08 Dec 2009 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

never mind. already guessed it!
just add \lstinputlisting[firstnumber=5,firstline=5,lastline=8]{plo..

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

08 Dec 2009 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

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

Contact us