84

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.

3
  • i don't use texstudio, but u can check out view option of the studio.
    – Ahmad
    Commented 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
    Commented May 20, 2020 at 19:02
  • Very similar, I cannot find any option to show column count.
    – matheburg
    Commented Aug 25, 2021 at 6:16

3 Answers 3

117

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

5
  • 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
    Commented 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. Commented Nov 30, 2016 at 13:29
  • 8
    I am wondering why designers of Texstudio thought that showing the line numbers is an advanced option in an advanced editor... Commented Mar 24, 2018 at 14:12
  • I would tend to agree frankly. Commented Apr 11, 2018 at 5:06
  • 5
    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
    Commented Feb 7, 2020 at 1:53
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)

1
  • @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. Commented Nov 12, 2022 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .