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.

<strong>Notebooks</strong> and <strong>Documents</strong> 95StyleBox@boxes,optionsDStyleBox@boxes,"style"Drender boxes with the specified option settingsrender boxes in the specified styleModifying the appearance of boxes.StyleBox takes the same options as Style. The difference is that Style is a high-level functionthat applies to an expression to determine how it will be displayed, while StyleBox is the correspondinglow-level function in the underlying box structure.In[12]:=This shows the string "name" in italics.StyleBox@"name", FontSlant -> "Italic"D êê DisplayFormOut[12]//DisplayForm=nameIn[13]:=Out[13]//DisplayForm=nameThis shows "name" in the style used for section headings in your current notebook.StyleBox@"name", "Section"D êê DisplayFormIn[14]:=This uses section heading style, but with characters shown in gray.StyleBox@"name", "Section", FontColor -> GrayLevel@0.5DD êê DisplayFormOut[14]//DisplayForm=nameIf you use a notebook front end for <strong>Mathematica</strong>, then you will be able to change the style andappearance of what you see on the screen directly by using menu items. Internally, however,these changes will still be recorded by the insertion of appropriate StyleBox objects.FormBox@boxes, formDInterpretationBox@boxes,exprDTagBox@boxes,tagDErrorBox@boxesDinterpret boxes using rules associated with the specifiedforminterpret boxes as representing the expression expruse tag to guide the interpretation of boxesindicate an error and do not attempt further interpretationof boxesControlling the interpretation of boxes.

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

Saved successfully!

Ooh no, something went wrong!