home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
editor
/
ws_train.arc
/
EX5.WS
< prev
next >
Wrap
Text File
|
1987-01-30
|
4KB
|
105 lines
EXERCISE 5: CHANGING CHARACTER APPEARANCE
Iε thi≤ exercise¼ yo⌡ wil∞ learε ho≈ t∩ changσ thσ ì
appearancσ oµ character≤ withiε you≥ documen⌠ -- t∩ underlinσ ì
theφ o≥ t∩ makσ theφ prin⌠ iε boldface«
Persona∞ compute≥ worΣ processor≤ ma∙ bσ capablσ oµ othe≥ ì
affect≤ sucΦ ß shiftinτ t∩ aε italiπ font¼ superscripts¼ ì
subscripts¼ o≥ changinτ pitcΦ o≥ characte≥ spacing« Whethe≥ o≥ ì
no⌠ thesσ thing≤ arσ possiblσ depend≤ upoε you≥ worΣ processinτ ì
processinτ software¼ you≥ display¼ anΣ printer« The∙ mus⌠ al∞ bσ ì
compatible.
WitΦ somσ printer≤ anΣ displays¼ Wordsta≥ wil∞ allo≈ somσ oµ ì
thesσ othe≥ characte≥ changes¼ bu⌠ wσ wil∞ usσ jus⌠ two¼ ì
underlininτ anΣ boldfacσ printing¼ fo≥ illustration.
BOLDFACE
Thσ ideß i≤ ver∙ simple« Yo⌡ inser⌠ ß specia∞ characte≥ iε ì
fron⌠ oµ thσ tex⌠ yo⌡ wisΦ t∩ alte≥ anΣ anothe≥ specia∞ characte≥ ì
a⌠ thσ end« Fo≥ instance¼ thσ followinτ sentencσ woulΣ bσ ì
printeΣ iε boldface:
Thi≤ sentencσ woulΣ prin⌠ iε boldfacσ characters.é
Thσ commanΣ fo≥ insertinτ ß boldfacσ marke≥ i≤ Ctrl-p-b« ì
Yo⌡ movσ thσ curso≥ t∩ thσ star⌠ oµ thσ boldfacσ text¼ givσ thσ ì
command¼ theε movσ thσ curso≥ t∩ thσ enΣ oµ thσ boldfacσ tex⌠ anΣ ì
givσ thσ samσ command.
Change the following sentence to boldface:
I am normal text now, please make me boldface.
Noticσ tha⌠ thσ tex⌠ appear≤ t∩ movσ t∩ thσ righ⌠ tw∩ space≤ ì
wheε thσ ^┬ i≤ placeΣ oε thσ screen¼ bu⌠ thσ ^┬ wil∞ no⌠ prin⌠ ì
out¼ i⌠ wil∞ jus⌠ causσ thσ shif⌠ froφ norma∞ t∩ boldfacσ ì
characters.
How would the following appear when printed on paper: (1)
This is boldface and the rest is normal.
How about this one: (2)
Happy New Year
Happy New Year
Or this one: (3)
The boldface characters can run from one line
to the next without problem.
èUNDERLINING
Underlininτ work≤ jus⌠ likσ boldface¼ bu⌠ thσ commanΣ t∩ ì
star⌠ anΣ sto≡ i⌠ i≤ Ctrl-p-s¼ anΣ thσ screeε marke≥ i≤ ^S« Thσ ì
followinτ sentencσ woulΣ bσ underlined:
I am underlined, are you?
Tr∙ thσ Ctrl-p-≤ commanΣ out¼ b∙ underlininτ thσ followinτ ì
normal sentence:
Pleasσ underlinσ me.
What would be printed by the following: (4)
Ice cream $100.00
Candy 45.00
Hot dogs 125.00
Tota∞ $270.00
A≤ yo⌡ migh⌠ havσ guesseΣ iµ yo⌡ checkeΣ thσ functioε ke∙ ì
legenΣ a⌠ thσ bottoφ oµ thσ screen¼ Functioε Ke∙ ╡ i≤ thσ samσ a≤ ì
Ctrl-p-≤ anΣ Functioε Ke∙ ╢ i≤ thσ samσ a≤ Ctrl-p-b« Tr∙ theφ ì
out.
Tha⌠ i≤ al∞ therσ i≤ t∩ it« Yo⌡ migh⌠ stil∞ havσ ß couplσ ì
oµ questions« Fo≥ instance¼ ho≈ caε yo⌡ makσ somσ tex⌠ rever⌠ t∩ ì
norma∞ iµ yo⌡ decidσ tha⌠ yo⌡ don'⌠ wan⌠ i⌠ underlineΣ o≥ printeΣ ì
in boldface? (5)
Anothe≥ questioε -- I≤ i⌠ possiblσ t∩ havσ somethinτ bσ botΦ ì
boldface and underlined? What would the following print: (6)
Thi≤ ma∙ bσ normal¼ bu⌠ thi≤ i≤ ver∙ strange.é
Oµ course¼ thσ onl∙ wa∙ t∩ seσ ho≈ thesσ reall∙ worδ i≤ t∩ ì
prin⌠ theφ out« Iµ ß printe≥ i≤ handy¼ tr∙ printinτ thi≤ ì
exercise, to see what it looks like.
RECAPPING
Thi≤ exercisσ ha≤ deal⌠ witΦ command≤ fo≥ changinτ thσ ì
appearancσ oµ printeΣ output« Sincσ the∙ illustratσ thσ idea¼ ì
anΣ virtuall∙ al∞ hardware/softwarσ combination≤ caε d∩ them¼ wσ ì
introduceΣ boldfacσ anΣ underlineΣ characters« Thσ command≤ useΣ ì
were:
Ctrl-p-b (or FN6)
Ctrl-p-s (or FN5)