I noticed that the documentation contains some beautifully formatted notebooks which I would like to use for my file. However, simply copying the cells does not work. So how can I get the formats of such files, for example, the header, main paragraph, latex display, etc. shown in this screenshot? This file is located at SystemFiles\Components\PDEModels\PDEModels\Documentation\Tutorials\MassTransport\ModelCollection. enter image description here


1 Answer 1


What you want is a new "Tech Note" from the documentation tools palette. There was a tech talk on this:


If you just want to tweak that notebook, this might do the trick for you:

fn = "/Library/Wolfram/Documentation/13.0/en-us/Documentation/English/Paclets/PDEModels/Tutorials/MassTransport/ModelCollection/CatalystDeactivation.nb";
nb = NotebookPut[Import@fn];
sd = Insert[CurrentValue[nb,StyleDefinitions],
       Cell[StyleData[All], Saveable->True, Editable->True, Deletable->True], {1,1}];
  • $\begingroup$ Thanks! How about the references part? Is that italic styling and linking completely manual? $\endgroup$
    – t-smart
    Feb 16, 2022 at 5:41
  • $\begingroup$ I think that's manual, it's just an ItemNumbered cell. Were you able to try using the "Documentation Tools" paclet? $\endgroup$
    – M.R.
    Feb 16, 2022 at 6:49
  • $\begingroup$ I'm sorry, but it seems that all modifications to that generated notebook cannot be saved. Why? $\endgroup$
    – t-smart
    Feb 21, 2022 at 16:37
  • $\begingroup$ Now it should be... $\endgroup$
    – M.R.
    Feb 21, 2022 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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