Tagged Questions
4
votes
0answers
67 views
How to convert a notebook cell to a string retaining all formatting, colorization of identifiers etc?
I have an opened Mathematica notebook containing several cells. Suppose, I am interested in one of them -- it may contain a complete or incomplete expression (e.g. with syntax errors, highlighted ...
9
votes
1answer
129 views
Notebook vs. DocumentNotebook; display a Notebook inline, like a DocumentNotebook
If you evaluate a DocumentNotebook[] expression in the front-end, it nicely displays inline, inside of an output cell in the current notebook:
For my purposes, ...
5
votes
1answer
79 views
Extracting text from cells, preserving non-ASCII characters
Consider the following setup, based on this answer by WReach:
...
3
votes
0answers
83 views
Unexpected result when reading Cell with comment-lines by NotebookRead
When considering this question about re-formatting Cell (also this one), I encountered an issue which confuses me. I'll let the code itself speak:
Consider the ...
7
votes
3answers
121 views
How to avoid spaces between numbers when displaying TagBox(es)
The instruction :
DisplayForm[RowBox[List[0,1,Superscript[2,3],Superscript[1,2],a]]]
displays a gap between the first two items of the list
but if one is ...
