Posts Tagged ‘spacing’

Highlighting tabs in Vim

Posted: 26th April 2012 by Tim in Vim
Tags: , , , , , , , ,

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 […]

Microsoft Word (and similar applications) give you the option to set double line spacing, 1.5 line spacing and so on. LaTeX, on the other hand, is much more flexible. The \linespread{spacing} command allows you to set any line spacing you like. For example, to get double line spacing, simply add: \linespread{2} to the top of […]