Skip to main content

Topic: Preserving Spaces (Read 3576 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • jonrysh
  • [*]
Preserving Spaces
Is there any way to preserve multiple spaces or indentation in a posting to this list, other than posting in a code box?  For example:
Code: [Select]
Here's some indented text inside a code box:
left margin
   Four spaces in
     4    sp  in
Here's the same text not inside a code box:
left margin
   Four spaces in
       4  sp  in

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
Preserving Spaces
Reply #1
No, because that' the purpose of codebox (also, this is a forum, not a list ).
  • Last Edit: 23 April, 2010, 03:51:10 AM by dv1989

  • ojdo
  • [*][*][*][*][*]
Preserving Spaces
Reply #2
You can use [ indent ] to structure text. It supports nesting, too:

a[blockquote]b1[blockquote]c[/blockquote]b2[/blockquote]aaa!

For everything else (like text tables) better use code and codebox
.

  • Yirkha
  • [*][*][*][*][*]
  • FB2K Moderator
Preserving Spaces
Reply #3
You   can  also
    use        some   other    character
          than  the plain    space,
e.g.  the
              non-breaking space    (Alt+0160)
  or other.

See also http://en.wikipedia.org/wiki/Space_(punctu...Table_of_spaces
Full-quoting makes you scroll past the same junk over and over.

  • ojdo
  • [*][*][*][*][*]
Preserving Spaces
Reply #4
some   other    character          than  the plain    space

Damm, I had only thought of trying   which is escaped by the forum software.

Short ascii-art test:
  ____                                                          ____
 | @ @|    "The chicken is now plantsching with the            |o|o |
X| _|_|X   fish in the soup on the floor because of           X|_|_ |X
 [##V#]    the running gag."                           MIST    |_|__|


Nice 
  • Last Edit: 23 April, 2010, 11:06:49 AM by ojdo

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
Preserving Spaces
Reply #5
I forgot [code], didn't think of Courier New, and didn't even know about the other methods. Off to the dunce's corner with me.

  • jonrysh
  • [*]
Preserving Spaces
Reply #6
You   can  also
    use        some   other    character
          than  the plain    space,
e.g.  the
              non-breaking space    (Alt+0160)
  or other.

See also http://en.wikipedia.org/wiki/Space_(punctu...Table_of_spaces

Very clever! 

How can the substitution be made using a common Linux text editor: vi, emacs, tomboy, etc?

  • Yirkha
  • [*][*][*][*][*]
  • FB2K Moderator
Preserving Spaces
Reply #7
http://en.wikipedia.org/wiki/Unicode_input seems to have answers to that question.
Full-quoting makes you scroll past the same junk over and over.