75

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 '14 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 at 19:02
107

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

| improve this answer | |
  • 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 '14 at 16:46
  • 3
    And "Preferences" means "Options > Configure Texmaker". This setting is amazingly convoluted for being so basic. Thanks a lot. – Jonatan Öström Nov 30 '16 at 13:29
  • 4
    I am wondering why designers of Texstudio thought that showing the line numbers is an advanced option in an advanced editor... – Hilder Vitor Lima Pereira Mar 24 '18 at 14:12
  • I would tend to agree frankly. – Nicholas Hamilton Apr 11 '18 at 5:06
  • 1
    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 at 1:53
10

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.

| improve this answer | |
4

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)

| improve this answer | |

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