Google-docs – How to set tab to generate 4 spaces every time it’s pressed in Google Docs

google docs

Is it possible to set the default tab to four spaces in Google Docs? I'm gonna take an interview with Google and supposed to code in Docs, but the tab is much more than the usual 4 spaces, which makes coding a pain. Does someone know how to set tab to generate 4 spaces every time it is pressed?

A related question was asked but the answer does not work in my case since I want tab to generate 4 spaces every time it's pressed.

Best Answer

Click the upper ruler on the top of the document, click "add left tab stop", then adjust it to 4 spaces from the "left indent".

Its in this link in the section "Tab stops": https://support.google.com/docs/answer/183618?hl=en

Source: https://stackoverflow.com/questions/19122111/how-set-tab-indent-to-four-spaces-in-google-docs