Advertisement
Guest User

Untitled

a guest
Oct 28th, 2013
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. printCells[cells_] := RawBoxes@GridBox[
  2. First@Cases[
  3. ToBoxes@DocumentNotebook[
  4. Replace[cells,
  5. x_ :> RawBoxes[x],
  6. 1]
  7. ],
  8. ItemBox[GridBox[x__, ___], ___] :> x, {0, Infinity}
  9. ]
  10. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement