Do Run Run STWRITER.PRGˆR„!B„!12 4 0 5 0 10 75 2 12 132Page @1 S T W R I T E R T U T O R I A LTEXT Version 1.80September, 1987 Note: Header moved down from top to prevent printing on page 1. 10755-ST Writer, Ver. 1.85-TUTORIAL4 [This is a revised and updated version of the original documentation supplied with ST Writer. This Tutorial and the accompanying Reference Manual reflect the enhancements added with TEXT Version 1.8. In addition, the format of the manual has been revised extensively to help show-off the formatting capabilities of ST Writer. Hope you enjoy it! -- Joe Waters]1-TABLE OF CONTENTS1. INTRODUCTION: WHAT IS A WORD PROCESSOR2. GETTING STARTED 2.1 What's On the Menu 2.2 Talking to ST Writer ... and Making It Run 2.3 Clean Copy in Minutes 2.4 Quick Editing with ST Writer 2.5 From Screen to Paper 2.6 How Much Can You Write With ST Writer? 2.7 How To Save a Text File 2.8 How to Load a Text File 2.9 A Word Processing Wonderland3. ADVANCED EDITING WITH ST WRITER 3.1 Deleting Blocks of Text 3.2 Moving Blocks of Text 3.3 Search and Replace with ST Writer 3.4 Notes on Search and Replace4. GETTING YOUR FILES IN SHAPE 4.1 Print Preview 4.2 Overall File Formatting 4.3 Formatting Variations Within a File 4.4 Elongated Print 4.5 Centered Text 4.6 Blocking Text Right 4.7 Headers and Footers 4.8 Numbering Pages5. MANAGING YOUR FILES6. SOME FURTHER FEATURES OF ST WRITER 12 90 8-9-1. INTRODUCTION: WHAT IS A WORD PROCESSOR?8-Whether you're a student facing a term paper, a business professional with frequent reports to write, or an aspiring novelist, ST Writer can help you beat those deadlines -- with time to spare. No more tedious typing and retyping of drafts; ST Writer lets you edit and reorganize your copy until it's just right.What exactly can ST Writer do for you? One advantage is that you never have to press the [Return] key to end a line of text while typing -- the program does it for you automatically. Also, you can change all or any incidences of a given word in your text to another word -- for instance, you can instantly change the word "pleased" to "glad" anywhere it appears in your text with just a few keystrokes. ST Writer lets you center text or print it flush against the right margin, and you can print with left and right justification. You can mark a block of text and then delete it, copy it, or move it to anywhere else in the text (or to another file!). Made a mistake? Just press the [Undo] key and start fresh! There's lots more, and you'll find out about it by reading this manual.Quickly and step by step, this guide shows you everything you need to know to use ST Writer. The first section tells you how to load ST Writer into your ATARI ST computer, and presents an overview of the program. The second section gives you a brief text to enter, edit, and print, along with how-to instructions for each step; after printing your first ST Writer document, you'll also learn how to store and retrieve what you write using a disk drive. By working with a longer passage in the third section, you'll learn about the advanced editing, formatting, and printing features of ST Writer. Finally, you'll find a complete, alphabetical Reference Guide to all the features of ST Writer in the back of the guide.9-1. GETTING STARTED8-Here's how to load your ST Writer word processing program into your Atari ST computer. -3 2 01. With your computer turned off, turn on your monitor and disk drive(s). Insert your ST WRITER disk. If you do not have TOS in ROM, you will have to insert your TOS System Disk instead. Turn on your computer.2. When the GEM desktop appears, remove your TOS System Disk (if you have used it) and place your ST Writer disk in the drive, or if you have two drives, place the ST Writer disk in the second drive. Open a window for the disk drive by double-clicking on the icon for that drive.3. Run ST Writer by clicking twice on the icon (or text filename) labelled STWRITER.PRG. 5 4 Note: You can run ST Writer in any of the ST's three resolutions: low, medium, and high. Low resolution gives you 22 lines and 40 columns; with medium and high resolutions you get 22 lines and 80 columns. Also, using high resolution gives you the option of 37 screen lines. Simply use the GEM desktop to set the resolution you desire before running ST Writer. You may also wish to change the default screen colors and key repeat rate from the desktop before running ST Writer, since you cannot change these once ST Writer is running.59-2 What's On The Menu?8-Take a minute now to look over the selections available and see what you can use each one for. While working with ST Writer, you can return to this menu at any time by pressing the [Esc] key in the upper left corner of your computer keyboard.ST WRITER MENU========================================| CREATE File LOAD File || DELETE File PRINT File || EDIT File SAVE File || FORMAT Disk RECEIVE from 850 || INDEX of Files TRANSFORM Colors || QUIT |======================================== 1884 -182CREATE File...... Start writing a new text file.DELETE File...... Erase a file that you've stored on diskette.EDIT File........ Revise a file that you've just printed or loaded from diskette.FORMAT Disk...... Format a data diskette for storing text files you write with ST Writer.INDEX of Files... Call up a listing of the text files on a diskette.HIRES Flip-flop.. (high res only) switch high res display between 22 lines and 37 lines.LOAD File........ Load a file from diskette into your computer.PRINT File....... Print a text file on the printer, the screen, or to a disk file.SAVE File........ Save a file on diskette.RECEIVE from 850. Receive file transmitted from 8-bit Atari Computer using Atari 850 Interface Module.TRANSFORM Colors. reverse screen colors -- black to white and vice-versa.QUIT............. Stop using ST Writer and exit to the desktop. 1290 4449-2 Talking to ST Writer ... and Making It Run8-With the ST Writer menu on the screen, type C for Create File. Take a few minutes to become familiar with the edit screen that now appears. The small flashing rectangle (or square) near the upper left corner of the screen is the cursor. It shows you where you are on the screen while you're working with ST Writer -- whether you're writing, editing, or responding to the prompts and questions that appear in the Message Window at the bottom of your screen. Many of the questions that ST Writer asks you require a yes or no response. You can answer by typing Y or N.If ST Writer finds a mistake in an entry or command, or detects a problem in your computer system, it displays an error message in the Message Window. In most cases when you see an error message, you must press a key before continuing.In this guide you'll find several instructions such as "press [Control]P" or "press [Shift Tab]." NOTE: We will abbreviate the [Control] key with the symbol "^". Thus ^P is equivalent to holding down the [Control] key and then pressing the "P" key. To execute these keystroke combinations, hold down the first key while typing the second. You may already be familiar with this technique; if not, you'll soon get the hang of it.59-2 Clean Copy In Minutes8-When they first learn to use a word processing system, many people want to tell their friends about it. So here's a letter for you to type, edit, and print that won't just teach you about ST Writer -- you can also use the finished copy to show a friend what a fine word processor you are using.But first, a couple of features of ST Writer that you'll need to understand to type your letter. With ST Writer you don't use the Return key on your computer keyboard the way you do on a conventional typewriter. When you're typing a word that will overflow the right margin of the screen, ST Writer automatically moves the cursor -- and the word -- to the beginning of the next line. Press [Return] (or [Enter]) at the end of each paragraph, or to insert blank lines in what you're writing. ST Writer inserts an inverse video "less-than" sign (<) (colored red in low and medium res) at that point to show the [Return] and moves the cursor to the left margin of the next screen line.To mark the beginning of a paragraph, press ^P. ST Writer displays an inverse video (red in low and medium res) letter P at that point on the screen. (Note: the red is taken from the default colors in your control panel. If you have changed those colors, it might be different.)Now you're ready to go. Select Create File from the ST Writer menu, if you haven't already. The display switches to the editing screen. For now, ignore the Print Formatting Block at the top of the screen. Just enter today's date on the first line, fill in the name of the person you want to write to after the word "Dear," and type away. And don't worry about typos -- you'll be able to fix them in a jiffy when you edit with ST Writer.4Today's date [Return] [Return] [Return] Dear .........[Return] [Return] [^P]As you can see, I'm not writing this letter on my old typewriter. Instead, I'm breaking in my new ST Writer word processing program, composing and editing on my monitor screen. When I've finished writing, I can print a copy -- or dozens of copies -- justby pressing a few keys on my computer console. [Return] [^P]And no more typos -- or at least, no more retyping to get rid of them. I can easily delete or change letters, words, sentences, or paragraphs. Or say I use a word or phrase several times in a piece of writing, and decide later that I want to change it. I can have the computer automatically search out every use of it and substitute something different. [Return] [^P]ST Writer will print the things I write just about any way I want. I can vary the margins, in- dent paragraphs or blocks of text, and change line spacing just as with a typewriter, but more easily. I canalso print pages with justified right margins. [Return] Now add a paragraph of your own if you like, preceded by ^P and followed by [Return]; then add a closing and press [Return] again.59-2 Quick Editing with ST Writer8-Now that you've created your first text file, you can go back and fix any mistakes you made. And if you want to rephrase anything to make it more your style -- by all means!No need to return to the ST Writer menu and select Edit File; you can edit a text file while still in the Create File mode (select Edit File to revise a text file that you've retrieved from diskette, as explained in "To load a text file").While editing, you'll probably want to move the cursor quickly around the screen from one problem area to the next. Use the four arrow keys (left, right, up and down) to move the cursor where you want. There are also other keys combinations you can use to move faster.To start editing at the top of your letter, for example, press [Shift F1] to move to the top of your file. [F1] is the first key in the row of ten function keys at the top of your keyboard. Now you can use [down arrow] to scan quickly through what you've typed, and [left arrow] and [right arrow] to move the cursor to anything you want to change or correct. When you reach the last line of text on the screen, just keep moving the cursor down -- the text will scroll up to show more of what you've written. You can also page through your text file, up or down, by pressing [Shift up arrow] or [Shift down arrow]. Press ^A, or ^(left arrow) to move to the beginning of a line, and ^Z, or ^(right arrow) to move to the end of a line. To move instantly to the end of a file, press [F1].To correct a typo or replace a word or phrase, you first must delete the wrong characters or words. Refer to the Delete text commands in your Quick Reference Guide.After deleting what you want, just type in your correction or change. ST Writer automatically makes room for as much new material as you want to add. To insert a whole new sentence, paragraph, or more, just position the cursor where you want to add text and type in the new material.12NOTE: Whenever you delete a line or block of text, the last line or block deleted is retained in the failsafe text buffer of your computer. To restore the deleted text, press [Undo] to insert the deleted text at the current cursor position.8-59-2 From Screen to Paper8-You're now ready to print your clean, edited letter. Make sure that your printer is properly connected to your computer and turned on. Press [Esc] to return to the ST Writer menu, and select Print File by pressing [P].Then press [Return] three times at the three prompts with which ST Writer presents you -- they will be discussed in detail later in this manual. Next ST Writer looks for a printer configuration file on your disk (see Printer Configuration File in Reference Guide). Now ST Writer formats, then prints your letter. To halt printing at any time, press the [Esc] key (or ^S to pause) on your computer keyboard.You may have to experiment a bit, adjusting the paper in your printer before printing your files, to get the correct top margin on your printed pages. The top margin on your letter should be about one inch.59-2 How Much Can You Write with ST Writer?8-You can enter about 180,000 (more or less depending on system) characters, or bytes, in ST Writer's text editor. If you are using a 1040ST or a 520ST upgraded to one megabyte, you could enter about 863,000 characters, enough for almost 500 double-spaced typescript pages! While editing or creating a file, the amount of remaining free memory appears constantly in the Message Window. The free edit space is shown in bytes. A byte is roughly equivalent to one typed character. You can figure on about 1500 bytes for each standard double-spaced page. It's a good idea to leave yourself an adequate margin of free memory in every file you write, just in case you want to add to a file later on.When your computer is close to running out of free memory, the message: "WARNING - memory low" (at 500 bytes left)or "!!!WARNING!!! Almost out of memory" (at 200 bytes left)appears in the Message Window. When this happens, it's a good idea to stop writing and save what you've written -- you'll need a margin of free memory if you decide to revise or add to the file later on. After saving the text, start a new file to continue the document you're working on.59-2 How To Save a Text File8-Here's the procedure for saving a text file. Try it now with the letter you've written about ST Writer. First return to the ST Writer menu and select Save File by pressing [S]. ST Writer prompts you to enter the Save filename. Insert a formatted diskette (if your disk isn't formatted, you can have ST Writer format it for you -- see Format Disk in the Reference Guide). Then type a filename or Path name for your text file. Filenames may be up to eight characters in length, optionally followed by a period and an extender of up to three characters (e.g. STWRITER or STWRITER.LET). A path name indicates the name of a folder that is to contain the file, as well as the file name, separated by a slash (e.g. LETTERS\STWRITER). See Path name in the Reference Guide for further information. All alphanumeric characters (A-Z, a-z, and 0-9), except a space, and punctuation can be used in ST Writer filenames. If you enter lower case letters, they will be converted to upper case. After entering the filename, press [RETURN].If, while saving a file, ST Writer finds that there's not enough space on your diskette to accommodate the file, the program gives you the message Disk is full. Press any letter to return to the main menu and try another disk -- format one if necessary.If you want to lock (prevent overwriting) a text file that you've saved to diskette, see Locking files in the Reference Guide.It's always a good idea to make a backup copy of every diskette you store files on -- just so you'll have a duplicate in the event that something happens to your original diskette. If your original disk becomes damaged, you cannot, generally, recover the data on that disk. That means you will have LOST all the information you had on the disk. If you don't want to have to re-type all that information (assuming you had printed copies), be sure to have a backup disk available.Long documents -- anything that will more than fill your computer's memory -- must be created and saved in segments, with each segment assigned a different filename. This is where the filename extender comes in handy. You can tie together the various segments of a long piece of writing by giving them all a common filename, and use the extender for each to keep track of their proper order. As you saved each segment of a document named REPORT, for example, you could name successive segments REPORT.1, REPORT.2 and so forth. You can easily print the various segments of such a document in any order you wish; see Chaining print files in the Reference Guide.59-2 How To Load a Text File8-Using ST Writer to load a text file from a disk drive into your computer's memory is much like saving a file. You just move the file in the opposite direction. Here's the procedure; try it now with your letter about ST Writer.Though you've just saved the letter, it also remains in your computer's memory. To load it back in from your disk drive, first return to the ST Writer menu and select Create File by pressing [C]. ST Writer asks, Erase file in memory, Y/N?Type Y. ST Writer erases the letter from your computer's memory and presents you with an empty edit screen.Now return to the menu (press [Esc]) and select Load File by pressing L, at which point ST Writer asks, Load File:Insert the data diskette that contains the file you want to load and type the complete filename or path name for that file and press [Return].If while loading a file ST Writer overflows your computer's free memory, the loading process is halted and the message Buffer full, file not loaded appears on your screen. That part of the file that was loaded prior to this message is erased from memory.59-2 A Word Processing Wonderland8-To show you more of what you can do with ST Writer, this section gives you another text file to type, edit, format, and print. You may recognize it.Go to the menu and select Create File. If there's a file in your computer's memory, ST Writer asks, Erase File in Memory, Y/N?Type Y to erase the file from your computer's memory.Again, ignore the Print Formatting Block at the top of your screen for now -- you can experiment with various formats after you've typed and edited the text file. Just type the passage below (from Alice in Wonderland) as it appears, but do not type the paragraph numbers in the left margin -- they're for ease of reference during the editing you'll do later on. Before you begin typing, here's a tip and a reminder.To begin underlining some text, press [Shift F3], which inserts an underline character. To turn underlining off, press [Shift F3] again to insert another underline character. All text between pairs of underline characters, including spaces between words, will be underlined although you will not see the underlining on the screen. The underlining will only be visible when you print your document. (If you forget to press Shift F3 to turn underline off when you want the underlining to stop, you may find your whole documented underlined when you send your document to the printer!) You can underline as you type, or return to a document after it's typed to indicate passages for underlining.Don't forget to mark the beginning of each paragraph by pressing ^P, and the end of each paragraph by pressing [Return]. Note: the paragraph numbers on the left are for latter reference; do not type them in. -3 2 15 87 1 "Why," said the Dodo, "the best way to explain it is to do it." (And, as you might like to try the thing yourself, some winter day, I will tell you how the Dodo managed it.) 2 First it marked out a race-course, in a sort of circle, ("the exact shape doesn't matter," it said,) and then all the party were placed along the course, here and there. There was no "One, two, three, and away!" but they began running when they liked, and left off when they liked, so that it was not easy to know when the race was over. However, when they had been running half-an-hour or so, and were quite dry again, the Dodo suddenly called out, "The race is over!" and they all crowded round it, panting, and asking, "But who has won?" 3 This question the Dodo could not answer without a great deal of thought, and it stood for a long time with one finger pressed upon its forehead, (the position in which you usually see Shakespeare, in the pictures of him), while the rest waited in silence. At last the Dodo said, "Everybody has won, and all must have prizes." 4 "But who is to give the prizes?" quite a chorus of voices asked. 5 "Why, she, of course," said the Dodo, pointing to Edith with one finger; and the whole party at once crowded round her, calling out, in a confused way, "Prizes! Prizes!" 6 "But she must have a prize herself, you know," said the Mouse. 7 Edith had no idea what to do, and in despair she put her hand in her pocket, and pulled out a box of comfits (luckily the salt water had not got into it), and handed them round as prizes. There was exactly one a-piece, all round. 8 "Of course," the Dodo replied very gravely. "What else have you got in your pocket?" it went on, turning to Edith. 9 "Only a thimble," said Edith sadly.10 "Hand it over here," said the Dodo.11 Edith thought it rather absurd to give away her thimble just so the Dodo could give it back to her. But she handed it over, just to humor the old bird.12 Then they all crowded round her once more, while the Dodo solemnly presented the thimble, saying, "We beg your acceptance of this elegant thimble"; and, when it had finished this short speech, they all cheered. 12 90 0 5 49-1. ADVANCED EDITING WITH ST WRITER8-If you recognized the passage you just typed -- it's from Lewis Carroll's whimsical Alice in Wonderland -- you may be aware that it contains some errors. Here are some ST Writer techniques for putting it in order. Each of these major functions is also highlighted in the Reference Manual.59-2 Deleting Blocks of Text8-With ST Writer you can delete a long passage from a piece of writing without having to erase it letter by letter or line by line. In your passage from Alice in Wonderland, for example, paragraph 11 doesn't belong there and should be deleted.To delete a block of text you must first place markers at the beginning and end of the text to be deleted. First position the cursor under the first character of the passage you want to delete -- in this case, under the paragraph marker before "Edith thought it..." -- and press [Shift F5]. ST Writer inserts an inverse quotation mark at that point on the screen.Next, move the cursor down to the end of what you want to delete -- in this case, under the paragraph marker at the beginning of paragraph 12 (in order to include the [Return] symbol at the end of the passage you want to delete) -- and press [Shift F5] again. ST Writer places another inverse quote mark at that point.To erase the text block, press [F5]. The block will be erased without any prompts. However, if you change your mind about deleting the block, you can bring it back simply by pressing the [Undo] key. In fact, you can insert the deleted block anywhere in your text by moving the cursor to the desired location, then pressing [Undo].Each time you delete a line or block of text, a failsafe text buffer (a temporary holding section of memory) is reinitialized and the deleted text is placed in the buffer, and remains there until the next deletion. The failsafe buffer holds about 20,000 characters. If a block is too large for the buffer, the prompt Too large for Cut Buffer, cut anyway? appears. Pressing Y will delete the block without saving it in the buffer.59-2 Moving Blocks of Text8-There's also a paragraph in your passage that's out of place -- the Mouse's remark in paragraph 6 should follow paragraph 7. To put things in order, you don't have to delete the out-of-place paragraph and retype it where it should be. ST Writer will move a block of text for you.The procedure for moving a block of text is much like that for deleting a block of text. Press [Shift F5] at the beginning of what you want to move and again at the end. ST Writer places an inverse quotation mark at each point.Finally, place the cursor where you want to reposition the text to be moved -- in this case, under the paragraph marker that begins paragraph 8 -- and press [Shift F2]. ST Writer deletes the specified text block from its old place and inserts it where it belongs.59-2 Search and Replace8-In your passage from Alice in Wonderland, the girl who hands out the prizes is of course not Edith, but Alice herself. But with ST Writer, you don't have to go back and change each use of Edith to Alice. ST Writer will search out and replace any specified string wherever it appears in a text file.To use this search-and-replace function, first position the cursor at the top of your file (a quick way is to press [Shift F1]), then press [Shift F7]. When ST Writer prompts you to enter the Replace : string, type in the word "Edith" and press [Esc]. Using the [Esc] key to terminate search strings allows you to search for strings that include the [Return] character. This is the text for which ST Writer must search.Next ST Writer prompts you to enter the text you want to substitute for the search string with the prompt With :. Type in the word "Alice", then press [Esc]. ST Writer now searches the entire text for the word Edith, and replaces it with the word Alice wherever it occurs.This is known as a global unqueried search and replace, which means that all occurrences of the search phrase are replaced without further prompting. ST Writer can also perform a case-by-case replacement operation, in which you are prompted to confirm each substitution. Press [F7] to perform a query search and replace operation.When you enter a word or phrase to be searched for, you must type it exactly as it appears in your text file. When the string is a single short word, like son, that might appear in your file as part of longer words, it's a good idea to type in blank spaces before and after it, i.e. " son ". If you do this, however, be sure to include the same blank spaces before and after the phrase you're substituting for the search string; and keep in mind that ST Writer will not recognize occurrences of such a search string that are immediately preceded or followed by punctuation marks.You can also use the search and replace function as a search and delete tool. To do this, simply press [Esc] when ST Writer asks for a replacement string. ST Writer will delete the search string and close up the resulting blank space, whether you proceed with a case-by-case or global search.9-1. GETTING YOUR FILES IN SHAPE8-With ST Writer you can print what you write in just about any shape you want by using a variety of formatting commands. Some of these commands, entered in the Print Formatting Block at the top of your screen, control the overall formatting of your text file. Others, entered within your text file while you're creating or editing it, are used to specify variations from the overall format. Others still are used to specify some special formatting features of ST Writer.In the next several pages, you'll find instructions for using all the formatting commands, along with some suggestions for using most of them to shape up your passage from Alice in Wonderland. The formatting commands are also outlined in your Reference Manual.59-2 Print Preview8-As you experiment with various formatting commands, you might wish to observe the results of these commands on the final printed form of your text without waiting for an actual printout. You can preview your final document on the monitor screen by printing the text to the screen instead of paper. To do this, press [Esc], if necessary, to return to the ST Writer menu, then select Print File. You are prompted: Print to Printer, Disk, or Screen?Type S, press [Return] twice, and your text will be printed to the screen exactly the way you've formatted it. Stop and start the scrolling text by pressing ^S to stop and any key to restart, or escape to the menu by pressing [Esc].59-2 Overall File Formatting8-By now the Print Formatting Block at the top of a text file should be a familiar sight. Each of the inverse video (colored in low and medium res) letters in it represents a command that will affect the overall formatting of the file. The number to the right of each letter is the formatting value for that command.Shown below -- and in the Print Formatting Block each time you begin a new file -- are the default values for overall formatting. ST Writer will use these values to format your file unless, of course, you change them.To set your own formatting values, just move the cursor into the Print Formatting Block (pressing [Shift F1] is the quickest way), delete the number displayed for the value you want to change, and type in the new value. Try reformatting your passage from Alice in Wonderland to some new values, as suggested on the next two pages, or to values of your own choice.13ST Writer Default Settings====================================================================| ^B12 Bottom margin: 12 half-lines, or 1 inch || ^D4 Paragraph spacing: 4 blank half-lines between paragraphs || ^G0 Print style: 10 characters per inch (CPI) || ^I5 Paragraph indentation: 5 spaces from left margin || ^J0 Justified right margin: OFF || ^L10 Left margin: 10 spaces from left edge of page || ^R70 Right margin: 70 spaces from left edge of page || ^S2 Line spacing: 2 half-lines, or single spacing || ^T12 Top margin: 12 half-lines, or 1 inch || ^Y132 Page length: 132 half-lines, or 11 inches |====================================================================3 Line spacing, ^S, is set in terms of half-lines. For double-spaced printing, delete 2 and type in 4. For triple spacing, set this value at 6. Only even numbers can be used.3 Paragraph spacing, ^D, is set in terms of blank half-lines between paragraphs. For single spacing between paragraphs, delete 4 and type in 2. Only even numbers can be used.3 Paragraph indentation, ^I, is measured in character spaces from the left margin. For more or less indentation than the default value of 5 spaces, delete the 5 and type in the value you want. The number may be negative for outdenting. For block-style paragraphs, without any indentation of the first line, enter the number 0 (and make sure that your paragraph spacing is greater than your line spacing).3 Top and bottom margins, ^T and ^B, are measured from the top and bottom, respectively of each page. So, to change them both from one inch (12 half-lines) to one and a half inches, set them at 18 instead of 12. Only even numbers can be used.3 Left and right margins, ^L and ^R, on the other hand, are both measured from the left edge of the page. For wider margins, try substituting 15 for 10 as the value for L, and 65 for 70 as the value for R. You'll probably want to experiment a bit to find the left and right margins you prefer, depending on the print style you select (see below) and the kind of printer you have. ST Writer will accept values 1 through 188 for the left margin and 11 through 198 for the right margin.If you change your print styles (see below), you will also have to change your left and right margin to keep the edges consistent. For example, for a one inch margin on both the left and right sides of your paper, you would use ^L10 and ^R75 with PICA (10 CPI). If you switch to ELITE (12 CPI), change your margins to ^L12 and ^R90 for one inch margins. For COMPRESSED (17 CPI), use ^L17 and ^R128 for the same one inch margin.3 Paragraph justification, ^J, works like a simple On/Off switch. The default value of 0 gives you nonjustified (ragged) right margins. For justified right margins, delete the 0 after the J and type in 1.3 Page length, ^Y, does not determine the number of lines printed on a page (that's set by your top and bottom margins). Rather, ST Writer uses the page length setting to determine where the next printed page will begin. If you are using standard letter paper (11 nches long) and your printer is set at the standard 6 lines per inch, then your page length would contain 11x6=66 lines or 66x2=132 half-lines. This is the default setting for ST Writer. 224 is ST Writer's maximum page length (for 14" paper length and printer setting of 8 lines per inch. Only even numbers can be used. To print out a text file continuously, without page breaks, set your top and bottom margins to 0.3 Print styles, ^G, also known as fonts, depend on the font capabilities inherent in your printer. The default print style of ST Writer is 10 CPI, represented by the 0 next to the G in the Print Formatting Block. Two other print styles are available: 12 CPI (Elite), and 17 CPI (Compressed). To format for condensed print, delete the 0 and type in 2; for elite, type in 8. Although the print styles you select are not represented as such on your screen in print preview, the number of characters displayed per line is normally the same as it will be in your printed file.3 Double-column printing, ^M and ^N, requires you to enter values for the margins of the second (right-hand) column of print. Enter these commands and values at the top of your text file to format the entire file for double-column printing -- just insert them as if you were adding text at the beginning of the line just below the Print Formatting Block. To set the left margin for the second column, press ^M, then type the number of the margin setting you want (measured in character spaces from the left edge of the page). To set the right margin for the second column, press ^N and type the number of the setting you want. To discontinue double-column printing, set the second left margin ^M to 0 (zero). 12 NOTE: You cannot change print fonts while printing double-column although you can use bold or italics.8-Of course, you may also have to adjust your settings for L and R, which control the margins for the first (left-hand) column of print in double column printing. Always be sure that your first-column right margin and second-column left margin do not overlap.59-2 Formatting Variations within a File8-You can specify variations in the format wherever you want within a file by entering commands directly in your text. In addition, ST Writer offers a number of special formatting features; for these, too, you enter commands directly in your text.You can enter these commands singly or in combination, when creating or editing a text file. For best results, enter new format commands on a separate line (that is, don't type text on the same line), type a space after the numeric value for each command, and press [Return] to start subsequent text on a new line. Note: the one exception to this case is Print style, (^G), with which you can include text on the same line. For example, you can italicize a single word on a line. However, remember, you cannot change print font while printing in double-column mode. You may, nevertheless, use bold, italics, or elongated print in double column.To specify variations from the overall formatting values displayed in the Print Formatting Block, use the commands shown below, followed by the new value. ST Writer displays the appropriate letter (in inverse video) and number wherever you enter one of these commands. (These letters and numbers will not appear on your printed pages.)9ST WRITER FORMATTING COMMANDS===========================================================| ^B Bottom margin ^J Justified right margins || ^T Top margin ^I Paragraph Indentation || ^L Left margin ^D Paragraph Spacing || ^R Right margin ^G Type Fonts || ^Y Page Length ^M 2nd column left margin || ^S Line Spacing ^N 2nd column right margin |===========================================================At the end of the portion of text that you want varied from the overall format, use the same commands to re-enter the original overall formatting value -- or whatever new value you want for the text that follows.The special formatting features of ST Writer also require you to enter commands directly in your text. Again, you can enter these commands singly or in combination with other formatting commands, while creating or editing a file. ST Writer displays the appropriate letter or letters in inverse video wherever you enter one of these commands.59-2 Elongated Print8-With some printers, including the ATARI SMM 804 Dot Matrix Printer, ST Writer enables you to print text in elongated characters, which are twice normal width. Any print style can be elongated.To format a portion of text for elongated print, press [Shift F9] at the beginning of that portion of text and [Shift F9] again at the end.If you like, try this feature in combination with the next feature described to add a striking title to your passage from Alice in Wonderland.When you examine a formatted text file in print preview, elongated characters are displayed with an extra space in between, l i k e t h i s, to simulate the spacing that will appear on your printer.59-2 Centering Text8-To center lines of text -- a useful option for titles and headings -- press ^C at the beginning of each line to be centered. At the end of the line, press [Return]. (If you decide to center a line while editing, don't forget to insert a [Return], if necessary, at the end of the line.)If you like, add a centered title in elongated print at the top of your passage from Alice in Wonderland -- something like: ^C[Shift F9] Alice Gets a Surprise [Return] ^C For Her Prize [Shift F9] [Return]Always be sure that no line of text to be centered exceeds the overall line length determined by the left and right margins that you set.59-2 Blocking Text Right8-To have a line of text print out flush with the right margin of the page, press ^C twice in succession at the beginning of the line to be blocked. Each line to be blocked right must be ended with a [Return].If you like, try this out by adding something like this at the end of your passage from Alice in Wonderland: ^C^C -- from Alice in Wonderland [Return] ^C^C by Lewis Carroll [Return]Always be sure that no line of text to be blocked right exceeds your overall page margins.59-2 Headers and Footers8-A header is a line or two of text that is printed at the top of every page of your final printed output. A footer appears on the bottom of each page. If you want, ST Writer will place headers or footers of one or two lines on each page of your printed text files. By using a page numbering command in combination with a header or footer command, you can also have ST Writer number your printed pages.To specify a header, press ^H, then type the text of the header and press [Return]. Enter ^H, then the text and a [Return] for each separate line of a two-line header.To specify a footer, press ^F, then type the text of the footer and press [Return]. Enter ^F, then the text and a [Return] for each separate line of a two-line footer.Headers appear two half-lines below the top of the page, and footers two half-lines above the bottom of the page. Be sure to leave enough room in your top and bottom margins for your headers. As a minimum, top and bottom margins should be at least 8 half-lines. By default, headers and footers are aligned to the left margin of the printed page; however, you can also have them centered or blocked right (aligned with the right margin) by entering a center text command (^C) or block text right command (^C^C) just before your header or footer commands and text (and on the same screen line). If you want your headers or footers printed in elongated print, enter a [Shift F9] before and after each header or footer entry.If you want headers or footers on every page of your text file, beginning with the first page, enter the appropriate commands and text at the beginning of your file on the screen line or lines just below the formatting commands and values displayed on the first line.If you want headers or footers to begin on a page other than the first page, or if you want to change the text of a header or footer within the file -- say, for a multisection document where you want headers or footers that match each section -- you can enter the appropriate commands and text within the file. In this case, however, be sure to enter the commands and text (preceded if you like by elongated print and center text or block text right commands) as the only material on a screen line.No header or footer text line should exceed the overall page margins that you've set (and remember that elongated print is twice as wide as normal). Any header or footer text that exceeds your page margins will be dropped when ST Writer formats and prints your file.12NOTE: to discontinue printing headers in your file, type ^H[Return] ^H[Return]. Similarly, to discontinue footers, use ^F[Return] ^F[Return].8-59-2 Numbering Pages8-To number your printed pages, type the '@' symbol ([Shift 2]) at that point in your header or footer text where you want page numbers to appear. ST Writer displays an '@' symbol to show you where your page numbers will be printed. If you want page numbers only, just enter '@' as your entire header or footer text (e.g. ^F^C@ would produce a page number centered at the bottom of each page).By default, ST Writer numbers the page where a page numbering command is entered as 1, and subsequent pages in order. To specify a different starting page number -- a useful option when you're combining separate text files into a larger document -- press ^Q after the [Return] that concludes your header or footer text, then enter the starting page number you want. ST Writer accepts starting page numbers of 1 through 999.To add a blocked right header with a page number to each page of your passage from Alice in Wonderland, enter this at the beginning of your text file: ^H^C^CST Writer Exercise - @ [Return]You may specify a different print style ^G[number][space], or different left ^L[number] or right ^R[number] margins within your header or footer without affecting the print style or L or R margins within your main text body. The header or footer disregards double column instructions, creating a line length up to the entire width of the page.9-1. MANAGING YOUR TEXT FILES8-There are two more selections on the ST Writer menu that can help you manage your text files: Index of Files and Delete File.Before trying these options, save your passage from Alice in Wonderland -- it will make for a more interesting index and, along with your letter about ST Writer, will give you a choice of files to delete!For an index of files on a diskette, insert the diskette into your disk drive. If your system has two drives, use either one. Then select Index Disk Files from the ST Writer menu. ST Writer then prompts 'P' to printer, 'S' to screen: S -- press [Return] to accept the default (screen print), or P to send the index to your printer. Next ST Writer prompts you for a Path name: and prints the specifier for the current drive, that is, the drive from which you loaded ST Writer (or from which you last obtained a directory). For instance, if you loaded ST Writer from drive A:, you're prompted Path name: A:. You can change the drive specifier by pressing [Backspace] a few times and entering the new specifier. If you want a directory of a specific folder on your disk, enter the drive specifier, then a reverse slash (\), then the name of that folder. Then press [Return], at which time ST Writer displays a list of files and folders on the diskette. Folders and files created with ST Writer will be indicated as such in the listing. Also shown is the number of bytes occupied by each file; any file that you've locked (using the GEM desktop) is noted with an asterisk (see Diskette Management in the Reference Guide).When there are more than 21 files on a diskette, ST Writer scrolls your directory upward on your screen to show you every entry. To halt this scrolling, press any key; press any key again to restart the scrolling.For a printed directory, simply type P at the first prompt, and make sure your printer is connected and turned on.To delete a file on diskette, you follow much the same procedure as when you save or load a file to or from diskette. First make sure that the diskette containing the file that you want to delete is in your disk drive, then return to the ST Writer menu and select Delete File. When ST Writer prompts you to enter the File to be deleted:, type in the drive specifier followed by a colon and the filename and extender of the file you want to delete, and press [Return]. As a precaution, ST Writer prompts Type 'Y' to delete file:. When you respond by typing Y, ST Writer erases the specified file from your diskette.9-1. SOME FURTHER FEATURES OF ST WRITER8-Like Alice, the Dodo, and the Mouse, you've probably now been "running half-an-hour or so" at least with ST Writer -- but don't stop yet! Briefly described, here are a few additional features of ST Writer. You can find complete instructions for using each one in the Reference Guide.Chaining print files. If you have a disk drive, this feature allows you to chain text files together in any order to be printed as if they were one file.Duplicating text. This feature enables you to take a word, sentence, or more from one part of a text file and duplicate it wherever else you want within the same file.Format disk. You can use this selection from the ST Writer menu to prepare a blank diskette for storing your text files.Form printing. Especially handy for business or form letters, this feature lets you leave blanks in a text file (indicated by using [F9]) -- for names and addresses, account numbers, and the like -- and fill them in with specifics each time ST Writer prints the file. You can, if you like, create a separate DATA file containing the words or phrases, one for each [F9] entry in your document, each separated by a carriage return. Just be sure that they match the spaces left in your form, and are in the correct order. The DATA file must be printed to disk with top and bottom margins set to 0 (zero), L set to 1, R set to 198, G set to 2 and Y set to 2. Alternatively you can use mailing addresses created and sorted by DB Master One. Simply print the sorted addresses to a disk file.When you go to print your file, the computer will ask you if the data for your forms is coming from a DATA file. If so, respond by giving the name of the file. If not, the program will pause by every [F9] entry waiting for you to type in the appropriate phrase for your document.Merging text files. This feature allows you to merge a text file on disk together with the file currently in your computer's memory. The file you are merging should already be in ST Writer format. If it is not, load it into ST Writer separately and let ST Writer convert it for you and then save the converted file to disk.Page eject. Basically a formatting command, this feature enables you to halt printing on a given page and space to the top of the next page before resuming printing. It can be useful when you're formatting and printing a multisection document where you want each section to begin on a fresh page.By typing a number greater than zero after ^E you can specify a conditional page eject, with the number representing the number of lines to appear on the same page. If they will not fit, they will appear in a block on the following page. This feature is useful for printing tables and material with fixed numbers of lines. To work with paragraphs and blocks of print with variable numbers of lines, one would first need to print the entire document and count by hand the number of lines in the paragraph which are not to be broken at a page break.Page Wait. Also a formatting command, this feature allows you to print your text files on individual sheets of paper -- a convenient option when you want to do your printing on bond, letterhead, or your personal stationery.Printer Controls. You can send special decimal-code commands to your printer by entering them directly in your text files -- a useful option if you have a printer that ST Writer does not support, and do not have a printer driver.Section Headings. Use this feature to number section and subsection headings in the body of a text file.Special Characters. You can access the special characters in the international character set by typing [Alternate x]. A letter "A" appears near the bottom right of the screen indicating alternate character mode. Use the table in STWCODES.DOC to find what key combinations to use to print the character you want.Foreign characters can be obtained directly without using the [Alternate x] function by using the deadkey function. Type ^[Clr Home], and a "D" appears in the status line near the bottom of the screen. You can get foreign characters by using the following combination of key strokes: First type " ' ~ ` ^ _ - or /then the vowel or letter that the mark is used in combination with.For example, to get a small umalut u, first type [Clr Home], then a double quote ["], and finally the letter [u]. The umalut appears on your screen (this will NOT be enough to get it to appear on your printed output. If your printer does not have an umalut character, you can never get it to appear on your printer). If you merely want a quote mark ["], you must either exit the deadkey mode by typing ^[Clr Home], or by typing quote twiceh in succession [""] while still in deadkey mode.Subscripts and Superscripts. Especially useful when you're writing about mathematical or chemical formulas or including footnote numbers in your text, subscripts and superscripts can easily be included in your printed text files.Tabs. With ST Writer you can set and use Tab stops much as you do with a conventional typewriter. Tab stops can be especially useful when you're setting up columns or tables in a text file.d) column of print in do