6 <tmdoc-title|Structured variants>
8 When creating an environment like a theorem, an equation or a list, it
9 frequently happens that one would like to change the environment <em|a
10 posteriori>. This can be done using the keyboard shortcuts
11 <key|C-<key-tab>> and <key|C-S-<key-tab>> for cycling through the list of
12 <em|structured variants> of the innermost tag in a direct or inverse
15 For instance, assuming that you are inside a theorem, pressing
16 <key|C-<key-tab>> several times will change the theorem into a proposition,
17 a lemma, a corollary, a conjecture and back into a theorem. The
18 <key|C-S-<key-tab>> key allows you to cycle in the inverse direction:
19 theorem<nbsp><with|mode|math|<op|\<rightarrow\>>>
20 conjectur<nbsp><with|mode|math|<op|\<rightarrow\>>>
21 corollary<nbsp><with|mode|math|<op|\<rightarrow\>>>
22 lemma<nbsp><with|mode|math|<op|\<rightarrow\>>>
23 proposition<nbsp><with|mode|math|<op|\<rightarrow\>>> theorem.
25 In the case of mathematical formulas, the <key|C-<key-tab>> shortcuts
26 allows you to change an inline formula like
27 <with|mode|math|a<rsup|2>+b<rsup|2>=c<rsup|2>> into a displayed formula
31 a<rsup|2>+b<rsup|2>=c<rsup|2>
34 while taking care of potential ``trailing spaces and punctuation signs''.
36 <TeXmacs> also provides the <key|A-*> shortcut for turning numbered
37 environments into unnumbered environments and <em|vice versa>. This works
38 for most common environments like theorems, remarks, tables, equations,
39 etc. Notice that <key|A-*> also turns an unnumbered itemize environment
40 into an enumeration and <em|vice versa>, whereas <key|C-<key-tab>> allows
41 you to cycle between the available kinds of list items (bullets, dashes,
44 <tmdoc-copyright|1998--2005|Joris van der Hoeven>
46 <tmdoc-license|Permission is granted to copy, distribute and/or modify this
47 document under the terms of the GNU Free Documentation License, Version 1.1
48 or any later version published by the Free Software Foundation; with no
49 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
50 Texts. A copy of the license is included in the section entitled "GNU Free
51 Documentation License".>
56 <associate|language|english>