Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Update presenter stylesheet styles that dynamically depend on WindowSize and StyleHints
ResourceFunction["ConvertLegacyPresenterStylesheet"][] converts the private stylesheet of the EvaluationNotebook to use updated presenter settings. | |
ResourceFunction["ConvertLegacyPresenterStylesheet"][nbobj] converts the stylesheet NotebookObject nbobj. | |
ResourceFunction["ConvertLegacyPresenterStylesheet"][nbxpr] converts the stylesheet Notebook expression nbexpr. |
Define a stylesheet notebook expression:
In[1]:= | ![]() |
Convert the stylesheet notebook expression to use updated presenter settings:
In[2]:= | ![]() |
Out[2]= | ![]() |
Start with a working notebook whose text cells use StyleHints to set the FontColor and the WindowSize to set the FontSize:
In[3]:= | ![]() |
The conversion process restores the FontColor inheritance and the FontSize, though updated should be of the same relative size as the original:
In[4]:= | ![]() |
Out[4]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License