home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / wset-os2.zip / Tutorial / 5_Fonts.ws < prev    next >
Text File  |  2003-05-15  |  3KB  |  81 lines

  1.  
  2.    Lesson 5: Font Selection
  3.  
  4. .lh10
  5. Fonts are selected by using specific dot commands. Fonts are represented by a ì
  6. font letter which is a shortcut for a specific font description. Font ì
  7. letters are case-sensitive, so you can use A to Z and a to z for a total of 52 ì
  8. fonts.
  9.  
  10. The font definition is stored in an ASCII file FONTS.INI which can be viewed ì
  11. and edited from the WSformat menu bar. Enter "Settings - Font Definition". ì
  12. Please view this file.
  13.  
  14. The file is self-explanatory. It is best if you do not change the "..Fonts ì
  15. available on every system" section. You can then exchange WS files with other ì
  16. Write&Set users and the fonts will be the same on both computers. The file was ì
  17. generated when running WSformat the first time and is made for your specific ì
  18. computer installation.
  19.  
  20.  
  21. Default font values
  22.  
  23. Activate the WSformat Settings Notebook: Click on the WSformat menu item ì
  24. "Settings", then on "Settings Notebook", page "Format". Here you can enter the ì
  25. default font letter for the normal and alternate fonts.
  26.  
  27.  
  28. Alternate font
  29.  
  30. The "Alternate font" is the font which occurs when you have set the "Alternate ì
  31. Font" character in front of a paragraph:
  32.  
  33. To select an alternate font in WSedit, move the cursor to the beginning of a ì
  34. paragraph and select the menu entry "Emphasize" - "Alternate Font" or press ì
  35. Ctrl-PA. The "Alternate Font" is valid up to the end of the paragraph, that ì
  36. means until you press Return.
  37.  
  38.  
  39. Select another font
  40.  
  41. To change a font within your running text, use the "Select Font" command, ì
  42. which is .SF; for example:
  43.  
  44. .SFG
  45.  
  46. The normal font is now Helvetica 12 or Arial 12 (depending on your system).
  47.  
  48. .SAM
  49. To change the alternate font, use ".AF" instead of ".SF". ".AF" alone does not ì
  50. have any effect. It only means that future paragraphs beginning with the ì
  51. alternate font character will use the newly specified font.
  52.  
  53. This is the Courier 12 font with a fixed character width (non-proportional ì
  54. font).
  55.  
  56.  
  57. Dialog window for selecting a font
  58.  
  59. If you don't remember font letters, then enter
  60.  
  61. .SF
  62.  
  63. and double-click it. If WSformat is running, the "Insert Dot commands" window ì
  64. opens and you can select a font from the dropdown box.
  65.  
  66. If you have already used a ".SF" command and want the definition of the font ì
  67. letter, simply move the mouse over the ".SF" command. A small window opens ì
  68. with the name of the font and a font sample text. But this also only works if ì
  69. WSformat is running, because this functionality is part of WSformat, not ì
  70. WSedit.
  71.  
  72. Inserting ".SF" without a font letter changes the font to the default value ì
  73. which is defined in the Settings Notebook.
  74.  
  75.  
  76. Fonts for headings
  77.  
  78. It is not necessary to use the ".SF" command for highlighting headings. ì
  79. Heading fonts can be defined separately. The subject of the next chapter is ì
  80. headings.
  81.