ASCII ART 101

The ClubHouse: General Discussions - Jan -Apr. 2001: February: ASCII ART 101

Guruchaz

Monday, February 19, 2001 - 07:13 pm Click here to edit this post

Ok, I would like to know how to get an ASCII picture centered perfectly on the screen without having to add a bunch of dots?

I couldn't seem to find a command for that.

Gail

Monday, February 19, 2001 - 07:16 pm Click here to edit this post

Guru - did you try

your text


that is /c{your text} but make the / \ instead

Guruchaz

Monday, February 19, 2001 - 07:21 pm Click here to edit this post

Gail, I tried that one time in the game and it didn't look right. I think Noslonna posted something one time and I didn't see any dots. Maybe that's how she did it.

Do you center the whole thing at once or line by line?

Gail

Monday, February 19, 2001 - 07:28 pm Click here to edit this post

Gu, I am not sure let me go peek and get right back to you

Gail

Monday, February 19, 2001 - 07:30 pm Click here to edit this post

Okay - it looks like you do the \c at the beginning and then have the { at the beginning and the } at the end. If you post it and it is a mess - let me know and I will delete it for you.

Guruchaz

Monday, February 19, 2001 - 07:32 pm Click here to edit this post

Cool! Thanks Gail! I didn't have anything to post at the moment but I was just curious how to post those correctly.

We've almost got a team formed! I'm still hoping to hear from M.

Noslonna

Monday, February 19, 2001 - 07:33 pm Click here to edit this post

Guru use the code \ch{nbsp} for a non breaking space instead of a dot. Center and use the code for fixed font:

\c{\fixed{your ascii here}}

Remember to "escape" any characters that are used in formatting codes such as the comma , the backward slash \ or the curly brackets {} by putting a backslash in front of them or they won't show up.

Guruchaz

Monday, February 19, 2001 - 07:44 pm Click here to edit this post

Where do you type the   command? I'm not clear on that.

Nos, can you post an example of the coding without really using the ASCII so I can see what you do?

Gail

Monday, February 19, 2001 - 08:04 pm Click here to edit this post

Guru - check your email - see if that helps.

Guruchaz

Monday, February 19, 2001 - 08:07 pm Click here to edit this post

ok, will do. Have I been enlightened?





Thanks!

Noslonna

Monday, February 19, 2001 - 08:36 pm Click here to edit this post

Here is a simple ascii with dots for the spaces

....\|||/....
....(o.o)....
-ooO-(_)-Ooo-


You must use the fixed font code for it to line up right. The code looks like this: (notice the extra backslash to escape the \ )

\fixed{
....\\|||/....
....(o.o)....
-ooO-(_)-Ooo-}



If you don't want dots to hold the spaces then you must replace each dot with the code \ch{nbsp} - like this:

\c{\fixed{
\ch{nbsp}\ch{nbsp}\ch{nbsp}\ch{nbsp}\\|||/\ch{nbsp}\ch{nbsp}\ch{nbsp}\ch{nbsp}
\ch{nbsp}\ch{nbsp}\ch{nbsp}\ch{nbsp}(o\ch{nbsp}o)\ch{nbsp}\ch{nbsp}\ch{nbsp}\ch{nbsp}
-ooO-(_)-Ooo-}}

If you copy and paste the above text and it will format to look like this:

    \|||/    
    (o o)    
-ooO-(_)-Ooo-

Guruchaz

Tuesday, February 20, 2001 - 09:55 am Click here to edit this post

Excellent! Thanks Nos and Gail. Maybe this will help others learn how to do this too.