TeXstudio: Open-source LaTeX text editor for Linux

TeXstudio is quite a feature-packed text editor and no doubt, a one-stop solution for all formatted text requirements. It has a lot of configurations available, which makes it easy to incorporate everything into one place.


LaTeX is a handy document preparation system. For those of you who don’t know, it is a system in which you can specify the components of a document, without having to format it yourself.

You can take the analogy of an HTML document, where you specify the headings and paragraphs with tags instead of having to modify the page or text.

LaTeX is widely used to display text with mathematical notations. Since it is so important, there have to be programs dedicated to editing text files with LaTeX. We’re going to talk about one such program today, TeXstudio, which can be perceived as an IDE of sorts for LaTeX.


1. Interface

The interface is very welcoming and easy to understand. The main window is divided into three parts.


TeXstudio full interface.
TeXstudio full interface

The leftmost division is a toolbar. It has several small buttons, representing different things and that can be used for various purposes.

Structure: Like any IDE, it shows the filesystem structure and the location of the current file in it.

Bookmarks: Shows the bookmark locations of the current file.


Symbols: Perhaps the most useful option, this can be used to add symbols with merely a click of the mouse, instead of even writing the code for it.


Brackets: Enters different sorts of brackets with a single click.

PSTricks commands: PPSTricks is a set of macros that allows inserting PostScript drawings directly into LaTeX. The different commands for it are shown here and can be used directly with a single click.


MetaPost commands: MetaPost produces graphic diagrams from geometric descriptions. MetaPost can directly be embedded into LaTeX documents here, and the standard tools are enlisted here, to be used directly.

Metapost commands

Tikz commands: Again, Tikz is also a tool to create graphics directly in LaTeX. Commands are available in this toolbox directly.

Asymptote commands: Asymptote is also a graphical diagram creator, which can directly be embedded into LaTeX using this toolbar.

Beamer: Beamer is a LaTeX document class for creating slides for presentations. Common commands for Beamer can be accessed here.

The middle section is the text editor itself. You will find all the standard formatting options here.


The right division is the preview for the document. There are several preview options available including zoom level, preview options, opening the document in an external reader, and some more options.

Apart from these three sections, there is also the top bar, which has several options available. Apart from the usual opening, creating, saving, and closing files, there is also the copy, cut, and paste options. There is the button to ‘Build and View‘ the written down the script. Compile, and ‘Stop Compile‘ options are available as well.

Top bar.
Top bar

The option to enter various sorts of brackets is again available on the toolbar, and subdivision options like part, chapter, section, subsection, etc. can be accessed from there as well.

2. Tools

The ‘Tools‘ menu has several useful options. Apart from those already present in the top-bar of the interface, these options are:

Commands: The option for entering commands of various toolsets are available here, like that of PDFLaTeX, LuaLaTeX, XeLaTeX, etc. There are also multiple conversions possible, like DVI to PS or PDF. Bibtex and Biber (bibliography management tools) can be accessed from here, and even some other ones, for making indexes, glossaries, etc.


There is an option available to clean auxiliary files. These are the files stored by LaTeX between various compilations, for smoother and better usage.

Clearing auxiliary files.
Clearing auxiliary files

Convert to HTML option is available, which launches a resultant formatted HTML page, that looks the same. The other option, ‘Convert Source to HTML,’ provides the HTML code for the page in the editor itself.

HTML converter
HTML converter.

Analyze text: This opens up a window describing the contents of the file. Information like relative count, total lines, phrases, etc. are enlisted and counted. You can see more about in the screenshot below.

Analyze text.
Analyze text

A random text generator window is also available in the ‘Tools‘ section.

3. LaTeX

In the LaTeX menu, you’ll find different markup tags. The general use tags, such as environment names, standalone tags, tags for boxes, spacing, font formatting, bibliography, etc. can be found here.

LaTeX menu.
LaTeX menu.

4. Math

As evident from the name, all the math-related tags can be found here. Subscripts, superscripts, fractional notation, root, equations, functions, accents, and many more things can be found in this menu.

5. Bibliography

This category contains frames for several kinds of documents’ bibliographies. Formats like article, book, thesis, patent, booklet, etc. are available. New types can even be added to the list for repeated usage. Apart from the necessary tags, it also provides optional tags (starting with OPT), that can help clarify the bibliography entries.

6. Macros

If none of the already existing templates and commands suit your needs, you can use the option of macros to create new commands yourself. TeXstudio provides this option as well, which can be accessed by clicking ‘Macros‘ in the top toolbar.

Macro editor.
Macro editor

7. Configuration

The configuration options provided are astoundingly extensive. Here is a short description of the basic options available:

  • General: The basic options of font styling and themes are available here. Update settings are available too.
  • Commands: The default commands for calling tool-sets other than LaTeX are enlisted here. Users can change these as well if required.
  • Shortcuts: The default shortcuts to common options can be changed here. Also, new shortcuts can be added.
  • Editor: The settings for the editor, like indentation mode and font styling, can be configured. Even the inline checking modes can be turned on and off, like spelling, grammar, references, citations, etc.
  • Syntax Highlighting: The default colors and configurations of syntax highlighting can be changed here, based on the command that is being configured.
  • Auto-completion and language checking configurations are also given.

8. Other features

Other features of TeXstudio include multi-cursor selections, link-overlay, assistants for images/tables/formulae, table formatting, etc. More information can be found here.

Installing TeXstudio on Linux

The program is available on all major distributions’ repositories. On Ubuntu or Debian or their derivatives, enter this command:

sudo apt-get install texstudio

TeXstudio installation.
TeXstudio installation

On Fedora and its spins use the following command:

sudo dnf install texstudio

The download links to packages for other distributions are available from the official website.

Download LaTex


TeXstudio is quite a feature-packed text editor and no doubt, a one-stop solution for all formatted text requirements. It has a lot of configurations available, which makes it easy to incorporate everything into one place. It might be a little intimidating for beginners, but a quick search here and there, and everything can be understood pretty smoothly for the most part. If you have any questions, feel free to use the comments section.

Pulkit Chandak
Pulkit Chandak is a Linux enthusiast and has been using and experimenting with open source software and hardware too since a long time. He is a huge admirer of open source software and wants to ventilate it to all around him. He is interested in reviewing and writing tutorials on Linux and its many distributions. He believes that freedom in software leads to freedom of the mind from the chains of limits.


Please enter your comment!
Please enter your name here




Top 20 Git Commands with Practical Examples

If you are here reading this post, there is a high probability that you have heard or interacted with Github, and you now want to learn Git. Before we continue with showing you some of the cool Git commands, let's understand the difference between Git and GitHub.

Top 10 New Features in Linux Kernel 5.7

Linus Torvalds has announced the release of Linux Kernel 5.7 after seven weeks of development. The release announcement comes as a piece of exciting news as it brings a host of new features for the hardware manufacturers as well as the developers.

How to install CMake on Ubuntu

CMake is a cross-platform free and open-source software tool designed to build, test, and package the software. CMake uses a simple platform and compiler-independent configuration files to control the software compilation process.

How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.


Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

Scrcpy – Control Android devices from a Linux desktop

Scrcpy is a desktop program that can be used to access your Android phone's system and interface through your computer. The app is quite convenient, and some of its best features are highlighted below.

What’s New in Ubuntu 20.04 LTS “Focal Fossa”

Ubuntu 20.04 LTS is out now! This is the successor to Ubuntu 18.04, which was released in April 2018 and still has three years of official support left. Code-named Focal Fossa, the new edition has all the bells and whistles included in it, making it one of the best Ubuntu releases yet. Let's find out more.

15 Tar command in Linux uses with examples

Tar is a famous utility that is basically used for collecting multiple files in a single archive. This file is often called a 'tarball'. Today, we are going to tell you about the different things you can do with tarballs using the tar command, with practical examples.

What is the difference between Linux and Unix?

When discussing Linux and Unix with average users, it's not uncommon that they will sometimes mistakenly interchange the terms Linux and Unix.  The two are not the same.  Though they share similarities in their overall structures and toolkits, they are decidedly not the same.