I would like to open two .tex files in TeXstudio side by side. I can image two possible answers, but I did not figure out how to exactly do it:

  1. Find a split screen button in TeXstudio (like in kate for example).
  2. Open a second instance of TeXstudio . When I do this in Linux, the old TeXstudio window gets focused but no new Window appears.

What can I do?


Split screen is supported in TeXstudio since update hg 5927 (0ce664cc1a7e) in 2016-03.

You can split the screen by right clicking on the file tabs and selecting the appropriate options.

Editing multiple files with split screen view

Two Tex Files!

  • 8
    How did you make it to display the same file side-by-side? Jan 1 '18 at 16:18
  • @Christoph90 I am interested too in knowing the method. Jul 9 '18 at 6:56
  • i use: TeXstudio 2.11.2 and i cannot unsplit it, but have to reopen editor. horror
    – qrtLs
    Mar 29 '19 at 14:34

On windows I managed to have two TeXstudio sessions in two different processes by modifying the program shortcut (I keep mine on the taskbar) with what Tim Hoffmann said: you have to right click on the shortcut, go to properties and then on the shortcut tab you have to add --start-always in the Target field.

The shortcut's Target field should look like this:

"C:\Program Files (x86)\TeXstudio\texstudio.exe" --start-always

Note that there is a space between the " and --! That is important!

Now all you have to do is start the program twice and work on two different files. I suspect that working on the same file twice will create problems with the auxiliary files so one should be a bit careful. I work on two different TeX files in the same directory but they have different names so there is no overlap.

I have no idea how to do this in Linux but I suspect something similar should be possible!


Split screen is now supported since 2.11.0. Use the options from the context menu of the tab.

Split screen is currently not supported.

You can use the option --start-always to open multiple instances of TXS. See the manual. Note: all instances save their settings to the same location when exiting, so the settings of the last close instance will persist.

  • A bit late, but I will give it a try. Can you please tell where exactly do I have to add this command? Jul 2 '15 at 6:51
  • @user2536125 I've added an answer that tells how to do it since no one is willing to share it.
    – Mayou36
    Jun 14 '19 at 11:10

None of the answer actually tell what to do:

View a file in parallel:
right click on tab -> "move to other view"

Change the split style:
right click on tab -> "split horizontally/vertically"

  • Yes, you're right, I've misread that. Thanks for the correction, I've removed the comments.
    – Mayou36
    Jun 14 '19 at 11:32

In Linux:

cp /usr/share/applications/texstudio.desktop ~/.local/share/applications/
nano ~/.local/share/applications/texstudio.desktop

change Exec=texstudio %F to Exec=sh -c "texstudio --start-always %F", save with CTRL+o, exit with CTRL+x.

Background: The sh -c "foo" part is necessary because command line options with more than one dash are not supported in .desktop files. By using a user-level copy of the system-wide .desktop file, we make sure our change is not overwritten on updates. The one in /usr does not need to be deleted because user-level .desktop files have a higher priority.

  • I know this is two years old, but thanks so much! This was exactly the fix I was looking for. Except I use Exec=texstudio --start-always %F. This variant gives me better behavior when opening files with spaces in the name. Using Kubuntu 18.04. May 6 '18 at 20:53
  • 1
    @KyleFerendo Then you may want to check this out: sourceforge.net/p/texstudio/feature-requests/964
    – ppq
    May 8 '18 at 6:48

In Linux: Open a terminal and type: texstudio --start-always

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.