Group Abstract Group Abstract

Message Boards Message Boards

0
|
12.9K Views
|
7 Replies
|
1 Total Like
View groups...
Share
Share this post:

Split window

Posted 11 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 6 years ago
POSTED BY: Ulrich Utiger
Posted 6 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 6 years ago

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

POSTED BY: Ulrich Utiger
Posted 11 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