we all agreed that tab indenting for code was properly two spaces
Say what?!?? Who made that decision? In the java world, 4 spaces is pretty standard.
I've been programming since 83 in 6502, Pascal, C, C++, and now Java. Every company and every project I worked on we used 4 spaces for tabs. I have heard thru the grape vine of programmers using 2 spaces but never came across one in the wild.
Obviously one space. I really can't understand all the posters above me advocating two spaces. Where did that even come from?? You write a sentence, using single spaces between words and end it with a period as a sentence separator - Followed by a word separator, one space. Before this article, I never knew *ANYONE* used double-spaces. Moreover, I trust LyX for limiting the number of spaces to 1...
As for code, 4-space indents.
We were taught back in the day (high school, early 70's) in typing class to use two spaces.
In practice, failures in system development, like unemployment in Russia, happens a lot despite official propaganda to the contrary. -- Paul Licker