6 <expand|tmdoc-title|Writing a simple text>
8 Once you have given your document a name, you may start to type your text.
9 Later on, we will explain how to type special characters, which are
10 necessary for writing texts in foreign languages. The following is a sample
11 text, which you may try to type as an exercise:
13 <expand|big-figure|<apply|screenshot|simple-1.en.png>|Typing a simple text
16 When you are done with typing, we recommend you to first save your
17 document, using the <with|font series|bold|save buffer> item in the
18 <apply|icon|tm_save.png> icon menu, or by pressing the <key|F3> key. A
19 message on the footer should confirm the success of this operation:
21 <expand|big-figure|<apply|screenshot|simple-2.en.png>|We just save the
22 simple text for security.>
24 For your safety, TeXmacs actually <with|font shape|italic|autosaves> your
25 document every two minutes. If you forgot to save your document before
26 closing TeXmacs, or if your computer is unpowered for some reason, then you
27 will be prompted whether you want to retrieve the last unsaved changes in
28 your document as soon as you try to load it. Again, a message on the footer
31 <expand|big-figure|<apply|screenshot|simple-3.en.png>|TeXmacs automatically
32 <with|font shape|italic|autosaves> your document every two minutes.>
34 When you are done with typing, you usually want to print your document out.
35 This can be done by selecting the <apply|menu|Print all> item in the
36 <apply|icon|tm_print.png> icon menu, or by pressing the <key|F4> key.
37 Before printing, it might be that you want to setup your printer using
38 <apply|menu|File|Page setup>. You may specify a printing command (like
39 <with|font family|tt|lpr>), the paper type of your printer (like <with|font
40 family|tt|a4> in Europe or <with|font family|tt|letter> in the
41 <abbr|U.S.A.>) and the printer's precision in dots per inch (<with|font
42 family|tt|600> is default).
44 In order to retrieve your text after closing TeXmacs, you first have to
45 push the <apply|menu|Load buffer> item in the <apply|icon|tm_load.png> icon
46 menu or hit the <key|F2> key. Next, you may select your file using the file
47 browser. In our example, the file <with|font family|tt|test.tm> indeed
48 appears in the file browser and we may retrieve it by rapidly clicking
51 <expand|big-figure|<apply|screenshot|load.en.png>|Retrieving the simple
54 <apply|tmdoc-copyright|1998--2002|Joris van der Hoeven>
56 <expand|tmdoc-license|Permission is granted to copy, distribute and/or
57 modify this document under the terms of the GNU Free Documentation License,
58 Version 1.1 or any later version published by the Free Software Foundation;
59 with no Invariant Sections, with no Front-Cover Texts, and with no
60 Back-Cover Texts. A copy of the license is included in the section entitled
61 "GNU Free Documentation License".>
66 <associate|paragraph width|150mm>
67 <associate|odd page margin|30mm>
68 <associate|shrinking factor|4>
69 <associate|page right margin|30mm>
70 <associate|page top margin|30mm>
71 <associate|reduction page right margin|25mm>
72 <associate|page type|a4>
73 <associate|reduction page bottom margin|15mm>
74 <associate|even page margin|30mm>
75 <associate|reduction page left margin|25mm>
76 <associate|page bottom margin|30mm>
77 <associate|reduction page top margin|15mm>
78 <associate|language|english>
84 <associate|idx-1|<tuple|<uninit>|?>>
85 <associate|toc-1|<tuple|<uninit>|?>>
86 <associate|toc-2|<tuple|<uninit>|?>>
87 <associate|idx-2|<tuple|<uninit>|?>>