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?


6 Answers 6


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!

  • 9
    How did you make it to display the same file side-by-side? Commented Jan 1, 2018 at 16:18
  • @Christoph90 I am interested too in knowing the method. Commented Jul 9, 2018 at 6:56
  • i use: TeXstudio 2.11.2 and i cannot unsplit it, but have to reopen editor. horror
    – droid192
    Commented Mar 29, 2019 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? Commented Jul 2, 2015 at 6:51
  • @user2536125 I've added an answer that tells how to do it since no one is willing to share it.
    – Mayou36
    Commented Jun 14, 2019 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
    Commented Jun 14, 2019 at 11:32
  • In my version 4.4.2 there is only split horizontally! How can I split vertically Commented Jun 4, 2023 at 7:38

In Linux:

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

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

Background: 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.

  • 1
    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.
    – Kaya Arro
    Commented May 6, 2018 at 20:53
  • 1
    @KyleFerendo Then you may want to check this out: sourceforge.net/p/texstudio/feature-requests/964
    – ppq
    Commented May 8, 2018 at 6:48
  • @KyleFerendo s version worked for me, while the original answer didn't.
    – MaxD
    Commented Apr 9, 2022 at 8:55
  • Great suggestion. Works flawlessly and needs no administrator privileges.
    – gpr1
    Commented Apr 15, 2023 at 7:12

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .