83

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.

Zohar Levi
  • 1,237

3 Answers3

116

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

Torbjørn T.
  • 206,688
22

In newer versions (at least in TeXstudio 2.12 to 4.3.1 on Win10&11) 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)

  • @auditiv02 For current Versions there is no need any more to activate "Show Andvanced Option"-Box for enabling line-numbers. However I generally recommend it to activate it. – JoKalliauer Nov 12 '22 at 18:21
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.