11

Wolfram Repository Function (WFR) entries: DraculaTheme DarkMode (DarkMode is hard to find using WFR's search interface...)


9

SetOptions[Dataset, HeaderBackground -> Black, HeaderStyle -> White, ItemStyle -> Red]; ds = Dataset[{<|"a" -> 1, "b" -> 3|>, <|"a" -> 2, "b" -> 4|>}] ds[1] A cumbersome way to inject the options is to wrap dataset objects with Dataset[#, Options[Dataset]]&: {Dataset[#,Options[...


5

You can change the default stylesheet as follows: Go to menu: Format > Options Inspector Set the scope dropdown menu to "Global Preferences" Download the stylesheet notebook of ResourceFunction@"DarkMode" from here. Set the DefaultStyleDefinitions path to wherever you saved the notebook. Now when you do File > New (cmd + n), you will have what you want. ...


4

This addition to your style definition should do what you need: TaggingRules -> {"done" -> True}, CellDingbat -> Cell[BoxData[ CheckboxBox[ Dynamic[CurrentValue[ ParentCell[EvaluationCell[]], {TaggingRules, "done"}] ]]]


4

The Default.nb styles define them up to "Subsubsubsubsection" so you have two more levels to go. They are not included in the Format>Style menu but you can use shortcuts. Hit Tab/Backspace to navigate down/up in section level. (coursor needs to be a the beginning of the cell). If you need more you can define/edit a custom stylesheet and add ...


3

Pressing the “enter” key in the Python External Evaluation cell becomes “run” instead of “line break” I think the python code cell is not evaluated. The "Enter" key merely creates a new cell rather than inserts a new line. (If you have confirmed that the statement above isn't true, please edit the question.) This is due to an option ...


2

It sounds like your use-case was similar to mine, where you just need certain settings to be always applied to a single output cell, and be re-applied e.g. if that cell is deleted and re-created. Note that GeneratedCellStyles can be applied directly to a single cell programatically, without touching a single stylesheet: SetOptions[EvaluationCell[], "...


2

I've just answered a similar question here. Checkout that answer for an explanation of how what you want can be done in version 12.1+:


1

Here's something you can add to your StyleDefinitions CellDynamicExpression -> Dynamic[ Block[{g, e = EvaluationCell[]}, g = StylesheetFunctions`enclosingGroup[e]; SetOptions[ e, { CellMargins -> StylesheetFunctions`getMarginsFromGroup[e], CellDynamicExpression -> None } ] ], TrackedSymbols :> {}, ...


1

Input cells use "StandardForm" styles in addition to any styles specified by the "Input" style. So, using Cell[StyleData["StandardForm"], LineSpacing->{2,0}] instead should work.


1

After posing this question to Wolfram Technical Support and them huddling for quite a while, it turns out that code-like cells (input, output, print, and perhaps others) are subject to a slightly different regime. For them what needs to change is the option StyleHints->{"CodeFont"->"Georgia"} which I did by opening the stylesheet, selecting the Print ...


1

I can answer on that: Why the hell is there no straightforward way to embed entire custom stylesheets in a notebook? Don't hack this on any important document! Open the notebook where you want to embed style with a text editor, look for a line like StyleDefinitions->"myJournalArticle.nb" Find this file in your system. It could be anywhere in $...


1

I also created my own Mathematica stylesheet (github.com/MJSteil/Mathematica-DarkTheme) which includes a dark themed Screen Environment. There are multiple advantages of defining the dark theme for a given stylesheet using a so called style environment in the stylesheet (in addition to the canonical environments Working, Printing and Presentation) instead ...


Only top voted, non community-wiki answers of a minimum length are eligible