Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Over on Meta: A wishlist for Mathematica

I got an interesting comment on the following suggestion and thought it merited a stand alone question:


Dock palettes -- When I use palettes, I'd love the ability to just stick them on to the side of a notebook window so I don't have to keep searching for them.


This may be able to be done using docked cells. @rcollyer

See: DockedCells in the documentation.

I recognize that Wolfram builds palettes as notebooks and I can imagine that one could create a custom palette whose cells one could dock at the top of another notebook (this would work great if one could split a notebook into panes and scroll through them separately so one always had access to the palette). Just not certain I see a clear way to do this with a supplied palette.

So, does anyone know how to dock a palette to a notebook (or any reasonably functional equivalent)?

share|improve this question
404 "A wishlist for Mathematica" – alancalvitti Sep 4 '14 at 23:12
Your link for the wish list does not work any more! – H. R. Jan 27 at 17:01
up vote 15 down vote accepted

You can simply assign the content of the palette to the docked cells, however this won't give any nice results for palettes that where not designed to be used as such:

For instance, first open up a palette, I chose Basic Math input, then run

plt = Notebooks[][[1]]
CreateWindow[DockedCells -> NotebookGet[plt][[1]]]

What you then end up with is a notebook with that palette docked, in this case and with most other palettes the result is quite horrible to look at.

share|improve this answer
I thought it might look more horrible than it actually does... Nice trick! – Thomas Sep 19 '12 at 15:24
Nice trick indeed. Thx. – Jagra Sep 19 '12 at 15:30
Hehe, now we need to do this automatically for every palette, throw in some bright colors and then it'll look like my mom's Internet Explorer window :D – R. M. Sep 19 '12 at 15:30
@Jagra I think the important thing to note is that you have access to everything in the palette, so if you wanted to perhaps dock a couple of the buttons, you could just fish them out and use them in your own custom dock. But of cause then your close to just building your own dock from scratch. – jVincent Sep 19 '12 at 15:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.