Message Boards Message Boards

0
|
11112 Views
|
7 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Split window

Posted 10 years ago

Is there a mean to split horizontally the Mathematica window? This would be very useful in comparing code within a notebook that contains a lot of code of several pages. Please introduce this in your next version of Mathematica.

POSTED BY: Ulrich Utiger
7 Replies
Posted 5 years ago

Hey Jos, thanks for your suggestion. I will try this out...

POSTED BY: Ulrich Utiger

Maybe this will help?

Hyperlink["https://mathematica.stackexchange.com/questions/9280/open-\ two-copies-of-the-same-notebook", \

CreatePalette[
  Button["Duplicate Active Notebook", 
   NotebookPut[
    NotebookGet[
      InputNotebook[]] /. {Rule[DockedCells, _] :> Sequence[], 
      Rule[WindowMargins, _] :> 
       Rule[WindowMargins, {{0, Automatic}, {0, Automatic}}], 
      Cell[x___] :> Cell[x, Evaluatable -> False]}, 
    Background -> GrayLevel[0.95], Editable -> False, 
    "ClosingSaveDialog" -> False, 
    DockedCells -> 
     With[{sourcenb = InputNotebook[]}, 
      Cell[BoxData[
        ToBoxes[Button["Update", 
          SelectionMove[InputNotebook[], All, Notebook];

          NotebookWrite[InputNotebook[], 
           NotebookGet[sourcenb] /. 
            Cell[x___] :> Cell[x, Evaluatable -> False]]]]], 
       "DockedCell", CellContext -> Cell]], 
    WindowTitle -> 
     "Duplicate of " <> 
      AbsoluteOptions[InputNotebook[], WindowTitle][[1, 2]]];
   SetSelectedNotebook[InputNotebook[]]], WindowTitle -> "Duplicate"];

Regards,...Jos

POSTED BY: Jos Klaps
Posted 5 years ago

No it has not been implemented. It's really crazy. You can do the most exotic things with Mathematica but you cannot split the same notebook into two parts. This is like driving a Mercedes that has no rear-view mirrors.

Stephen Wolfram, read this:

WE NEED TO SPLIT NOTEBOOKS INTO TWO WINDOWS BECAUSE THEY ARE USUALLY VERY LONG. SO PLEASE INSERT THIS SIMPLE CODE INTO MATHEMATICA AFTER ASKING FOR IT FOR SEVERAL YEARS! GOT IT?

POSTED BY: Ulrich Utiger
Posted 5 years ago

Four years have passed... Has this feature now been implemented in Mathematica 12?

POSTED BY: Ulrich Utiger
Posted 10 years ago

One alternative is to open a second instance of Mathematica by right-clicking on the icon in the task-bar and then clicking on the icon again. Then open the same notebook in both instances and but them side-by-side. But the problem here is that a modification in one instance will not be delegated to the other instance. So modifications should only be made in one instance otherwise parts will be lost. So it's also a "low-tech" solution.

POSTED BY: Ulrich Utiger

This has long been on my wish list as well...

POSTED BY: David Reiss

That would be a very useful new feature in Mathematica. I often use a "low-tech" solution with my desktop and laptop computers open side-by-side.

POSTED BY: S M Blinder
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract