man-structured-variants.en.tm (TeXmacs-1.99.8-src) | : | man-structured-variants.en.tm (TeXmacs-1.99.9-src) | ||
---|---|---|---|---|

<TeXmacs|1.99.5> | <TeXmacs|1.99.8> | |||

<style|<tuple|tmdoc|english|pari>> | <style|<tuple|tmdoc|english|pari|old-spacing>> | |||

<\body> | <\body> | |||

<tmdoc-title|Structured variants> | <tmdoc-title|Structured variants> | |||

When creating an environment like a theorem, an equation or a list, it | When creating an environment like a theorem, an equation or a list, it | |||

frequently happens that one would like to change the environment <em|a | frequently happens that one would like to change the environment <em|a | |||

posteriori>. The keyboard shortcuts<nbsp><shortcut|(variant-circulate | posteriori>. The keyboard shortcuts<nbsp><shortcut|(variant-circulate | |||

(focus-tree) #t)> and <shortcut|(variant-circulate (focus-tree) #f)> allow | (focus-tree) #t)> and <shortcut|(variant-circulate (focus-tree) #f)> allow | |||

you to cycle through the list of <em|structured variants> of the innermost | you to cycle through the list of <em|structured variants> of the innermost | |||

tag, in forward or backward direction, respectively. | tag, in forward or backward direction, respectively. | |||

For instance, assuming that you are inside a theorem, pressing | For instance, assuming that you are inside a theorem, pressing | |||

<shortcut|(variant-circulate (focus-tree) #t)> several times will change | <shortcut|(variant-circulate (focus-tree) #t)> several times will change | |||

the theorem into a proposition, a lemma, a corollary, a conjecture, and | the theorem into a proposition, a lemma, a corollary, a conjecture, and | |||

finally back into a theorem. The <shortcut|(variant-circulate (focus-tree) | finally back into a theorem. The <shortcut|(variant-circulate (focus-tree) | |||

#f)> key allows you to cycle in the reverse direction: | #f)> key allows you to cycle in the reverse direction: | |||

theorem<nbsp><math|<op|\<rightarrow\>>> | theorem<nbsp><math|<op|\<rightarrow\>>> | |||

conjectur<nbsp><math|<op|\<rightarrow\>>> | conjecture<nbsp><math|<op|\<rightarrow\>>> | |||

corollary<nbsp><math|<op|\<rightarrow\>>> | corollary<nbsp><math|<op|\<rightarrow\>>> | |||

lemma<nbsp><math|<op|\<rightarrow\>>> proposition<nbsp><math|<op|\<rightarrow\ >>> | lemma<nbsp><math|<op|\<rightarrow\>>> proposition<nbsp><math|<op|\<rightarrow\ >>> | |||

theorem. | theorem. | |||

In the case of mathematical formulas, the <shortcut|(variant-circulate | In the case of mathematical formulas, the <shortcut|(variant-circulate | |||

(focus-tree) #t)> shortcut allows you to change an inline formula such as | (focus-tree) #t)> shortcut allows you to change an inline formula such as | |||

<math|a<rsup|2>+b<rsup|2>=c<rsup|2>> into the displayed formula | <math|a<rsup|2>+b<rsup|2>=c<rsup|2>> into the displayed formula | |||

<\equation*> | <\equation*> | |||

a<rsup|2>+b<rsup|2>=c<rsup|2> | a<rsup|2>+b<rsup|2>=c<rsup|2> | |||

End of changes. 3 change blocks. | ||||

3 lines changed or deleted | | 3 lines changed or added |