13.07.2015 Views

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

164 <strong>Notebooks</strong> and <strong>Documents</strong>In[30]:=This evaluates the current selection, creating a new cell for the result, and making the currentselection be the whole of the result.SelectionEvaluateCreateCell@nb, AllDThis wraps FactorInteger around the current selection.In[31]:=NotebookApply@nb, "FactorInteger@ÉD", AllDThis evaluates the current selection, leaving the selection just before the result.In[32]:=SelectionEvaluate@nb, BeforeDThis now inserts additional text at the position of the current selection.In[33]:= NotebookWrite@nb, "a = "DOptions@obj,optionDfind the value of an option for a complete notebookOptions@NotebookSelection@objD,optionDfind the value for the current selectionSetOptions@obj,option->valueD set the value of an option for a complete notebookSetOptions@NotebookSelection@objD,option->valueDset the value for the current selectionFinding and setting options for whole notebooks and for the current selection.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!