From: Bram Kerkhof on 16 Mar 2010 06:58 Hi, I'm relatively new to Mathematica, so I'm not sure if there's a better place for this particular question or if it has already been documented. I've searched the Mathematica documentation center for an answer but AFAIK the documentation about Stylesheets is incredibly terse if it exists at all. It seems like a simple question though: how can I set/modify the styles for print output? I've worked out how to create a custom stylesheet based on one of the default stylesheets which works perfectly for the on-screen environment, but I just can't seem to figure out how to do the same for the print environment... So, what am I missing? Is there anything in the documentation for this particular topic? cheers, Bram
From: Larry Adelston on 18 Mar 2010 05:33 Hi Bram, If your stylesheet is setup to cascade correctly, you only need to make adjustments to those styles you want to tweak. Here is a sample cascading stylesheet (note, a stylesheet is a specialized notebook): Notebook[{ Cell[StyleData[StyleDefinitions -> "Default.nb"]], Cell[CellGroupData[{Cell[StyleData["Text"]], Cell[StyleData["Text", "Printout"]]}, Open]] }, StyleDefinitions -> "PrivateStylesheetFormatting.nb"] Pasting this notebook expression (i.e., stylesheet) into Mathematica will allow you to open it as a notebook immediately. There are three cells in the notebook. The first is needed to make the cascade (i.e., an inheritance of style definitions from the selected notebook). This stylesheet is inheriting from Mathematica's Default stylesheet. The next two cells are both style definitions. Both are style definitions for the Text style. There are two because the one designated: "Text, Printout" controls how Text cells print. The style definition that reads "Text" controls how Text cells appear in the "Working" environment which is optimized for on-screen typing and document editing. Here is a link to general information about editing stylesheets. http://reference.wolfram.com/legacy/v5_2/FrontEnd/StyleSheets/index.en.html Although somewhat out of date much of the information is still relevant. We are planning to revisit stylesheet documentation in a future release. Sincerely, Larry __________________________________ Larry Adelston Print Production Supervisor Wolfram Research Inc. http://www.wolfram.com On Mar 16, 2010, at 5:58 AM, Bram Kerkhof wrote: > Hi, > > I'm relatively new to Mathematica, so I'm not sure if there's a better > place for this particular question or if it has already been > documented. I've searched the Mathematica documentation center for an > answer but AFAIK the documentation about Stylesheets is incredibly > terse if it exists at all. > > It seems like a simple question though: how can I set/modify the > styles for print output? I've worked out how to create a custom > stylesheet based on one of the default stylesheets which works > perfectly for the on-screen environment, but I just can't seem to > figure out how to do the same for the print environment... > > So, what am I missing? Is there anything in the documentation for > this particular topic? > > cheers, > Bram
|
Pages: 1 Prev: Algebraic reduction Next: Axeslabel containing capital n |