Some people like to indent code with tabs, and others like to indent with spaces. There are advantages and disadvantages to both. Regardless of which you prefer, it can be useful to see which indent style has been used. In Vim, you can do this by adding the following line to you .vimrc file (which [...]
Posts Tagged ‘indent’
Highlighting tabs in Vim
Posted: 26th April 2012 by Tim in VimTags: highlight, indent, spacing, style, tab, tabs, vi, vim, vimrc
0
Indenting a block of text in LaTeX
Posted: 15th August 2009 by Tim in LaTeXTags: document, indent, LaTeX, layout, page, paragraph
To indent a block of text, you can use the \addtolength{length_variable}{length} command. For this task, we need to add to the \leftskip value for the block of text. For example, to indent a block of text by 5mm we would do the following: {\addtolength{\leftskip}{5mm} …indented text here… }
Removing Paragraph Indenting in LaTeX
Posted: 5th July 2009 by Tim in LaTeXTags: indent, LaTeX, layout, par, paragraph
This may seem like a simple request, but I don’t want the first line of each paragraph in my LaTeX documents to be indented. I was surprised to find that I needed to traverse a page and a half of google search results to find the answer. So here it is. LaTeX will classify anything [...]