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> 127We have already seen how to apply things like alignment and background to a grid as a whole,or to individual columns or rows. What we have not seen though is how to override that for anindividual element. Say you want your whole grid to have the same background, except for afew special elements. A convenient way to do that is to wrap each such element in Item, andthen specify options to Item which override the corresponding option in Grid.Grid@Partition@Table@If@PrimeQ@iD, Item@i, Background Ø LightYellowD, iD,8i, 1, 100

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

Saved successfully!

Ooh no, something went wrong!