<\body> Assume that you have started up TeXmacs, so that you have a window like below on your screen: |Window which appears when starting TeXmacs up.> Before you start typing a new text, we recommend you to perform the following steps: <\itemize> Give your text a name under which it will be saved. This will enable be you to find your document back. Select the language of your document. Select the document style (letter, article, book, etc.). In this chapter, we will only describe the first step. In , we will discuss how to type texts in foreign languages. In , we discuss the importance of document styles. The default document style is a . We recommend you to give your document a name before you start to edit it, by saving it under a new name. This is achieved by selecting the item in the icon menu or the item in the menu: press the left mouse button on , move your cursor to while maintaining the left mouse button pressed, and release the left mouse button. |Giving your document a name by saving it under a new name.> Notice that you could have achieved the same thing by simultaneously pressing the and the keys, as suggested by the . This help balloon automatically shows up when leaving the mouse pointer on the for a while. After you released the left mouse button, a new window of the following form pops up: |The file-chooser can be used to browse your directory tree.> This window is also called a , because you can interactively choose a and a directory where to save your file, by using the keyboard or the mouse. In the example, , , and are the parent directory and subdirectories of the current directory. The file is an already existing TeXmacs file in the current directory. The buttons and can be used to return to your home directory or a special directory for TeXmacs documents. In order to finish the action of giving our text a name, we just type in the field and press on : |Entering the name and clicking on the button.> We notice that you should always let your file name end by the , so that anyone can recognize that your file is a TeXmacs document. After giving your text a name, your main window should look like |Your document has been saved under the name .> First of all, you may notice the change of the title of your window. Furthermore, a message on the footer confirms the name change. Once you have given your document a name, you may start to type your text. In , we will explain how to type special characters, which are necessary for writing texts in foreign languages. The following is a sample text, which you may try to type as an exercise: |Typing a simple text using TeXmacs.> When you are done with typing, we recommend you to first save your document, using the item in the icon menu, or by pressing the key. A message on the footer should confirm the success of this operation: |We just save the simple text for security.> For your safety, TeXmacs actually your document every two minutes. If you forgot to save your document before closing TeXmacs, or if your computer is unpowered for some reason, then you will be prompted whether you want to retrieve the last unsaved changes in your document as soon as you try to load it. Again a message on the footer confirms autosaving: |TeXmacs automatically your document every two minutes.> When you are done with typing, you usually want to print your document out. This can be done by selecting the item in the icon menu, or by pressing the key. Before printing, it might be that you want to setup your printer, by pushing the item in the icon menu. You will then be prompted for the printing command you want to use (like ), the paper type of your printer (like in Europe or in the USA) and the printer's precision in dots per inch ( is default). In order to retrieve your text after closing TeXmacs, you first have to push the item in the icon menu or hit the key. Next, you may select your file using the file browser. In our example, the file indeed appears in the file browser and we may retrieve it by rapidly clicking twice on it. |Retrieving the simple text from the disk.> \; <\initial> <\collection> <\references> <\collection> > > > > <\auxiliary> <\collection> <\associate|toc> |2 Writing a simple text> 2.1 Starting TeXmacs up 2.2 Giving your document a name 2.3 Writing a simple text