home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / editor / ws_train.arc / EX5.WS < prev    next >
Text File  |  1987-01-30  |  4KB  |  105 lines

  1.  
  2.            EXERCISE 5:  CHANGING CHARACTER APPEARANCE
  3.  
  4.      Iε thi≤  exercise¼ yo⌡ wil∞ learε ho≈ t∩ changσ thσ ì
  5. appearancσ oµ character≤ withiε you≥ documen⌠ -- t∩ underlinσ ì
  6. theφ o≥ t∩ makσ theφ prin⌠ iε boldface«  
  7.  
  8.      Persona∞ compute≥ worΣ processor≤ ma∙ bσ capablσ oµ othe≥ ì
  9. affect≤ sucΦ ß shiftinτ t∩ aε italiπ font¼ superscripts¼ ì
  10. subscripts¼ o≥ changinτ pitcΦ o≥ characte≥ spacing«  Whethe≥ o≥ ì
  11. no⌠ thesσ thing≤ arσ possiblσ depend≤ upoε you≥ worΣ processinτ ì
  12. processinτ software¼ you≥ display¼ anΣ printer«  The∙ mus⌠ al∞ bσ ì
  13. compatible.
  14.  
  15.      WitΦ somσ printer≤ anΣ displays¼ Wordsta≥ wil∞ allo≈ somσ oµ ì
  16. thesσ othe≥ characte≥ changes¼ bu⌠ wσ wil∞ usσ jus⌠ two¼ ì
  17. underlininτ anΣ boldfacσ printing¼ fo≥ illustration.
  18.  
  19. BOLDFACE
  20.  
  21.      Thσ ideß i≤ ver∙ simple«  Yo⌡ inser⌠ ß specia∞ characte≥ iε ì
  22. fron⌠ oµ thσ tex⌠ yo⌡ wisΦ t∩ alte≥ anΣ anothe≥ specia∞ characte≥ ì
  23. a⌠ thσ end«  Fo≥ instance¼ thσ followinτ sentencσ woulΣ bσ ì
  24. printeΣ iε boldface:
  25.  
  26.      Thi≤ sentencσ woulΣ prin⌠ iε boldfacσ characters.é  
  27.  
  28.      Thσ commanΣ fo≥ insertinτ ß boldfacσ marke≥ i≤ Ctrl-p-b«  ì
  29. Yo⌡ movσ thσ curso≥ t∩ thσ star⌠ oµ thσ boldfacσ text¼ givσ thσ ì
  30. command¼ theε movσ thσ curso≥ t∩ thσ enΣ oµ thσ boldfacσ tex⌠ anΣ ì
  31. givσ thσ samσ command.
  32.  
  33.      Change the following sentence to boldface:
  34.  
  35.      I am normal text now, please make me boldface.
  36.  
  37.      Noticσ tha⌠ thσ tex⌠ appear≤ t∩ movσ t∩ thσ righ⌠ tw∩ space≤ ì
  38. wheε thσ ^┬ i≤ placeΣ oε thσ screen¼ bu⌠ thσ ^┬ wil∞ no⌠ prin⌠ ì
  39. out¼ i⌠ wil∞ jus⌠ causσ thσ shif⌠ froφ norma∞ t∩ boldfacσ ì
  40. characters.
  41.  
  42.      How would the following appear when printed on paper: (1)
  43.  
  44.           This is boldface and the rest is normal.
  45.  
  46.      How about this one: (2)
  47.  
  48.           Happy New Year
  49.           Happy New Year
  50.  
  51.      Or this one: (3)
  52.  
  53.           The boldface characters can run from one line
  54.           to the next without problem.
  55. èUNDERLINING
  56.  
  57.      Underlininτ work≤ jus⌠ likσ boldface¼ bu⌠ thσ commanΣ t∩ ì
  58. star⌠ anΣ sto≡ i⌠ i≤ Ctrl-p-s¼ anΣ thσ screeε marke≥ i≤ ^S«  Thσ ì
  59. followinτ sentencσ woulΣ bσ underlined:
  60.  
  61.           I am underlined, are you?
  62.  
  63.      Tr∙ thσ Ctrl-p-≤ commanΣ out¼ b∙ underlininτ thσ followinτ ì
  64. normal sentence:
  65.  
  66.      Pleasσ underlinσ me.
  67.  
  68.      What would be printed by the following:  (4)
  69.  
  70.           Ice cream      $100.00
  71.           Candy            45.00
  72.           Hot dogs        125.00
  73.      
  74.           Tota∞          $270.00
  75.  
  76.      A≤ yo⌡ migh⌠ havσ guesseΣ iµ yo⌡ checkeΣ thσ functioε ke∙ ì
  77. legenΣ a⌠ thσ bottoφ oµ thσ screen¼ Functioε Ke∙ ╡ i≤ thσ samσ a≤ ì
  78. Ctrl-p-≤ anΣ Functioε Ke∙ ╢ i≤ thσ samσ a≤ Ctrl-p-b«  Tr∙ theφ ì
  79. out.
  80.  
  81.      Tha⌠ i≤ al∞ therσ i≤ t∩ it«  Yo⌡ migh⌠ stil∞ havσ ß couplσ ì
  82. oµ questions«  Fo≥ instance¼ ho≈ caε yo⌡ makσ somσ tex⌠ rever⌠ t∩ ì
  83. norma∞ iµ yo⌡ decidσ tha⌠ yo⌡ don'⌠ wan⌠ i⌠ underlineΣ o≥ printeΣ ì
  84. in boldface?  (5)
  85.  
  86.      Anothe≥ questioε -- I≤ i⌠ possiblσ t∩ havσ somethinτ bσ botΦ ì
  87. boldface and underlined?  What would the following print:  (6)
  88.  
  89.      Thi≤ ma∙ bσ normal¼ bu⌠ thi≤ i≤ ver∙ strange.é          
  90.  
  91.      Oµ course¼ thσ onl∙ wa∙ t∩ seσ ho≈ thesσ reall∙ worδ i≤ t∩ ì
  92. prin⌠ theφ out«  Iµ ß printe≥ i≤ handy¼ tr∙ printinτ thi≤ ì
  93. exercise, to see what it looks like.
  94.  
  95. RECAPPING
  96.  
  97.      Thi≤ exercisσ ha≤ deal⌠ witΦ command≤ fo≥ changinτ thσ ì
  98. appearancσ oµ printeΣ output«  Sincσ the∙ illustratσ thσ idea¼ ì
  99. anΣ virtuall∙ al∞ hardware/softwarσ combination≤ caε d∩ them¼ wσ ì
  100. introduceΣ boldfacσ anΣ underlineΣ characters«  Thσ command≤ useΣ ì
  101. were:
  102.  
  103.           Ctrl-p-b  (or FN6)
  104.           Ctrl-p-s  (or FN5)
  105.