Rank: 41 based on 651 downloads (last 30 days) and 2 files submitted
photo

Florian Knorn

E-mail
Company/University
Senior R&D engineer, ResTech Pty Ltd, Newcastle, Australia
Lat/Long
-32.88909, 151.6975

Personal Profile:

Homepage: http://www.florian-knorn.com

Professional Interests:

 

Watch this Author's files

 

Files Posted by Florian View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Aug 2012 Screenshot M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn bugs, source code highlight..., latex, mcode, development environme..., package 635 176
  • 4.87234
4.9 | 97 ratings
23 Jun 2008 Screenshot Arrowhead arrowh draws a solid 2D arrow head into the current plot. Author: Florian Knorn annotation, head, arrow, plot, customization, line 16 11
  • 4.90909
4.9 | 11 ratings
Comments and Ratings by Florian View all
Updated File Comments Rating
29 May 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

Hi Bob,

That means there's still something wrong with your TeX installation (textcomp requires more than just a .sty file chucked in the same path).

If you can't get it working, you can also disable it, by removing / commenting out the following in mcode.sty:

\ifx\textquotesingle\undefined%
\RequirePackage{textcomp}%
\fi

as well as

upquote=true, % upright quotes

09 Apr 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

@ kevin: Strange, I haven't observed this behaviour. Can you email me a minimal working example that reproduces the problem?

06 Feb 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

@ Jon: Yeah, there's something wrong with your LaTeX installation. In particular, you are missing the "pcr" font (that's the Courier font used by the package to display stuff in monospaced font, similar to Matlab...).

26 Oct 2012 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

Thanks @Eric. I've had a look at getting the slim line working. Half got there using this "literate programming" string:

{\%\%}{{{\color[gray]{.85}{\makebox[0em][l]{\raisebox{2ex}[0pt][0pt]{\rule{\linewidth}{.4pt}}}}}\%\%}}{2}

Problem: Cell comment (%%) must begin on the beginning of the line, but worse: the remainder of the line no longer gets printed in green. Not sure how you can use the "literate programming" feature but still trigger the comment-formatting...

30 Aug 2012 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

@Juan: Not sure why you are having this issue. The package should load the textcomp package in case \textquotesingle is not defined already. Try manually including the textcomp package before loading mcode to see if that helps...

Comments and Ratings on Florian's Files View all
Updated File Comment by Comments Rating
12 Jun 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn Thul, Matthias

Excellent!

29 May 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn Knorn, Florian

Hi Bob,

That means there's still something wrong with your TeX installation (textcomp requires more than just a .sty file chucked in the same path).

If you can't get it working, you can also disable it, by removing / commenting out the following in mcode.sty:

\ifx\textquotesingle\undefined%
\RequirePackage{textcomp}%
\fi

as well as

upquote=true, % upright quotes

29 May 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn Bob

@Florian Knorn : Whenever I load this package I consistently get the following error:

! Package Listings Error: Option `upquote' requires `textcomp'package.
(Listings) The option has been disabled.

I've installed the textcomp package, as well as yours, and both sty files are in my tex directory.

Any help would be appreciated!

17 May 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn Tamimi, Sadi

12 Apr 2013 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn kevin

@Florian Knorn : I double checked it and found the problem occured only when I had "\usepackage[papersize={3000mm,250mm}]{geometry}" in the preamble

Top Tags Applied by Florian
annotation, arrow, bugs, customization, development environment
Files Tagged by Florian View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Aug 2012 Screenshot M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn bugs, source code highlight..., latex, mcode, development environme..., package 635 176
  • 4.87234
4.9 | 97 ratings
23 Jun 2008 Screenshot Arrowhead arrowh draws a solid 2D arrow head into the current plot. Author: Florian Knorn annotation, head, arrow, plot, customization, line 16 11
  • 4.90909
4.9 | 11 ratings

Contact us