How do I show line numbers in the editor? According to the picture in the doc (e.g. about bookmarks) there should appear by default.

I'm using Texstudio version 2.7, win8.1.

  • i don't use texstudio, but u can check out view option of the studio.
    – Ahmad
    Jun 8, 2014 at 13:24
  • This is bad usability if someone has to ask how to do something as trivial as turning on line numbers!
    – Yan Foto
    May 20, 2020 at 19:02
  • Very similar, I cannot find any option to show column count.
    – matheburg
    Aug 25, 2021 at 6:16

3 Answers 3


Under preferences, tick the 'Show Advanced Options' checkbox in the bottom left of the window, several new menu items are made available, including 'Adv. Editor'.

Under 'Adv. Editor', under Appearance section, there is a drop-down box 'Show Line Numbers':

enter image description here

  • 2
    Finally. I read about the advanced options, but somehow I missed the checkbox, and I thought they talked about an old version. Thanks for the image.
    – Zohar Levi
    Jun 8, 2014 at 16:46
  • 4
    And "Preferences" means "Options > Configure Texmaker". This setting is amazingly convoluted for being so basic. Thanks a lot. Nov 30, 2016 at 13:29
  • 5
    I am wondering why designers of Texstudio thought that showing the line numbers is an advanced option in an advanced editor... Mar 24, 2018 at 14:12
  • I would tend to agree frankly. Apr 11, 2018 at 5:06
  • 3
    Update! I was looking for this too, and it has now been moved to the normal "Editor" settings. Finding it by using the filter function works too.
    – Zorobay
    Feb 7, 2020 at 1:53

In newer versions (at least in TeXstudio 2.12.22 on Win10) you find it in "Editor" (not any more "Advanced Editor")

Step by step:

  • Options
  • Configure TeXstudio
  • Use Editor options ("Editor" on the left)
  • Activate line numbers (select "All lines and numbers" in drop down menu "Show line numbers")

enter image description here

alternatively you could use the "(option filter)" to find it faster (Type it in the current GUI-language, not in english)


OK, here are the complete instructions for turning on line numbering for the linux version of TexStudio: Options > Configure TexStudio (then tick Show Advanced Options box in lower left corner of window. At that point a new entry will appear Adv. Editor. Select that. On the third line down in the new window will be an option to turn on line numbering.

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