texstudio: show line numbers in editor

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


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.


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)

Tags:

Texstudio