MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Viewing packages in mathematica

  • To: mathgroup at
  • Subject: [mg102736] Re: Viewing packages in mathematica
  • From: Yves Klett <yves.klett at>
  • Date: Mon, 24 Aug 2009 07:55:26 -0400 (EDT)
  • References: <h6lmm0$dko$>


since Version 6, .m files can be handled quite nicely, including syntax
highlighting and everything. Also, headings and some other formats are

All previous initialization cells have a different cell style if you
open the .m directly: They are rendered in "Code". This cellstyle
obviously does no linewrapping. If you format long lines as "Input",
wrapping is done immediately.

I presume there must be some option to turn linewrapping for certain
cell style, but I did not find it (not that I've been searching hard).

So the question is: how to turn on linewrapping for cellstyles?

Also, .m files are always opened in a small window and do not remember
changed window size etc. - also quite annoying.

Any tips would be appreciated.


Benjamin Hell schrieb:
> Hi,
> this is a real beginner question for packages in mathematica. When I
> view a package (.m) file in mathematica, the mathematica editor doesn't
> show any indentation nor does any automatic line breaks when scaling the
> window. So whereas my code can be read quite well in a standard
> mathematica notebook, it looks ugly in a package file. Is there any way
> to setup some viewing options to change that behaviour?
> Thanks in advance,
> Benjamin

  • Prev by Date: Re: Re: Re: Incongruence? hmm...
  • Next by Date: Re: Re: Viewing packages in mathematica
  • Previous by thread: Re: Re: Viewing packages in mathematica
  • Next by thread: Re: Re: Viewing packages in mathematica