mirror of https://github.com/texmacs/doc.git
Various updates
This commit is contained in:
parent
3397bae788
commit
8fa1f6d542
|
@ -20,16 +20,17 @@
|
|||
allow you to insert new rows and columns (see
|
||||
figure<nbsp><reference|matrix-insert-fig>). Inside trees, they correspond
|
||||
to the insertion of new nodes (see figure<nbsp><reference|tree-insert-fig>).
|
||||
Whenever you inside a<nbsp>tree inside a table, then the innermost tag is a
|
||||
If you are inside a<nbsp>tree inside a table, then the innermost tag is a
|
||||
tree, and node insertions will take precedence over the insertion of new
|
||||
rows and columns.
|
||||
|
||||
For most editing operations, a \Pdefault particular behaviour\Q has been
|
||||
defined, which may next be overridden for a few exceptional tags. In our
|
||||
example of structured insertion, the default behaviour of
|
||||
defined. This behaviour may potentially be overridden for a few exceptional
|
||||
tags. In our example of structured insertion, the default behaviour of
|
||||
<shortcut|(structured-insert-left)> and
|
||||
<shortcut|(structured-insert-right)> is to insert a new argument to the tag
|
||||
at the left or at the right (when allowed).
|
||||
at the left or at the right of the cursor (when allowed). Inside tables,
|
||||
this behaviour is overridden so as to insert entire columns.
|
||||
|
||||
<\big-figure>
|
||||
<\equation*>
|
||||
|
@ -55,17 +56,17 @@
|
|||
below<nbsp>(<shortcut|(structured-insert-down)>).
|
||||
</big-figure>
|
||||
|
||||
Similarly, in the case of matrices, the keys
|
||||
Similarly, still in the case of matrices, the keys
|
||||
<shortcut|(structured-insert-start)>, <shortcut|(structured-insert-end)>,
|
||||
<shortcut|(structured-insert-top)> and <shortcut|(structured-insert-bottom)>
|
||||
can be used for inserting a new first or last column, <abbr|resp.> a new
|
||||
first or last row. The keys <shortcut|(structured-remove-left)> and
|
||||
<shortcut|(structured-remove-right)> are mapped to the commands for
|
||||
backward <abbr|resp.> forward <em|structured deletion>. In the case of
|
||||
matrices, this will result in the removal of the column before or after the
|
||||
cursor (see figure<nbsp><reference|matrix-remove-fig>). In order to remove
|
||||
the enclosing environment you may use <shortcut|(remove-structure-upwards)>
|
||||
or <shortcut|(remove-structure-upwards)>.
|
||||
backward <abbr|resp.> forward <em|structured deletion>. For matrices, this
|
||||
will result in the removal of the column before or after the cursor (see
|
||||
figure<nbsp><reference|matrix-remove-fig>). In order to remove the
|
||||
enclosing environment you may use <shortcut|(remove-structure-upwards)> or
|
||||
<shortcut|(remove-structure-upwards)>.
|
||||
|
||||
<\big-figure>
|
||||
<\equation*>
|
||||
|
|
|
@ -17,10 +17,8 @@
|
|||
</enumerate>
|
||||
|
||||
Most keyboard shortcuts for structured cursor movements can be used in
|
||||
combination with the<nbsp><prefix|S->-key so as to similtaneously select
|
||||
text while moving around.
|
||||
|
||||
<todo|customizing the behaviour>
|
||||
combination with the<nbsp><prefix|S-><nbhyph>key so as to similtaneously
|
||||
select text while moving around.
|
||||
|
||||
<paragraph*|Structured traversal of the document>
|
||||
|
||||
|
@ -31,13 +29,13 @@
|
|||
structured traversal of the entire document. Inside plain text,
|
||||
<shortcut|(kbd-select-if-active traverse-left)> and
|
||||
<shortcut|(kbd-select-if-active traverse-right)> allow you to move in a
|
||||
word-by-word manner, while <shortcut|(kbd-select-if-active traverse-up)>
|
||||
word-by-word manner, whereas <shortcut|(kbd-select-if-active traverse-up)>
|
||||
and <shortcut|(kbd-select-if-active traverse-down)> correspond to
|
||||
paragraph-by-paragraph motion.
|
||||
|
||||
In the presence of other markup, the <shortcut|(kbd-select-if-active
|
||||
traverse-left)> and <shortcut|(kbd-select-if-active traverse-right)> keys
|
||||
allow you to visit all accessible cursor positions of the document, except
|
||||
allow you to visit all accessible cursor positions in the document, except
|
||||
that we keep moving in a word-by-word manner inside plain text. The
|
||||
behaviour of the <shortcut|(kbd-select-if-active traverse-up)> and
|
||||
<shortcut|(kbd-select-if-active traverse-down)> keys is more
|
||||
|
@ -58,7 +56,8 @@
|
|||
previous sectional title using <shortcut|(kbd-select-if-active
|
||||
traverse-previous)>. Subsection and chapter titles are in particular
|
||||
understood to be \Psimilar\Q to section titles. Notice that you may use
|
||||
<key|C-Ÿ> to jump to the previous section title.
|
||||
<shortcut|(traverse-previous-section-title)> to jump to the previous
|
||||
section title.
|
||||
|
||||
<paragraph*|Movements inside the innermost tag>
|
||||
|
||||
|
|
|
@ -1,45 +1,46 @@
|
|||
<TeXmacs|1.0.5.3>
|
||||
<TeXmacs|1.99.5>
|
||||
|
||||
<style|tmdoc>
|
||||
<style|<tuple|tmdoc|english>>
|
||||
|
||||
<\body>
|
||||
<tmdoc-title|Structured variants>
|
||||
|
||||
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
|
||||
posteriori>. This can be done using the keyboard shortcuts
|
||||
<shortcut|(variant-circulate (focus-tree) #t)> and <shortcut|(variant-circulate (focus-tree) #f)> for cycling through the list of
|
||||
<em|structured variants> of the innermost tag in a direct or inverse
|
||||
manner.
|
||||
posteriori>. The keyboard shortcuts<nbsp><shortcut|(variant-circulate
|
||||
(focus-tree) #t)> and <shortcut|(variant-circulate (focus-tree) #f)> allow
|
||||
you to cycle through the list of <em|structured variants> of the innermost
|
||||
tag, in forward or backward direction, respectively.
|
||||
|
||||
For instance, assuming that you are inside a theorem, pressing
|
||||
<shortcut|(variant-circulate (focus-tree) #t)> several times will change the theorem into a proposition,
|
||||
a lemma, a corollary, a conjecture and back into a theorem. The
|
||||
<shortcut|(variant-circulate (focus-tree) #f)> key allows you to cycle in the inverse direction:
|
||||
theorem<nbsp><with|mode|math|<op|\<rightarrow\>>>
|
||||
conjectur<nbsp><with|mode|math|<op|\<rightarrow\>>>
|
||||
corollary<nbsp><with|mode|math|<op|\<rightarrow\>>>
|
||||
lemma<nbsp><with|mode|math|<op|\<rightarrow\>>>
|
||||
proposition<nbsp><with|mode|math|<op|\<rightarrow\>>> theorem.
|
||||
<shortcut|(variant-circulate (focus-tree) #t)> several times will change
|
||||
the theorem into a proposition, a lemma, a corollary, a conjecture, and
|
||||
finally back into a theorem. The <shortcut|(variant-circulate (focus-tree)
|
||||
#f)> key allows you to cycle in the reverse direction:
|
||||
theorem<nbsp><math|<op|\<rightarrow\>>>
|
||||
conjectur<nbsp><math|<op|\<rightarrow\>>>
|
||||
corollary<nbsp><math|<op|\<rightarrow\>>>
|
||||
lemma<nbsp><math|<op|\<rightarrow\>>> proposition<nbsp><math|<op|\<rightarrow\>>>
|
||||
theorem.
|
||||
|
||||
In the case of mathematical formulas, the <shortcut|(variant-circulate (focus-tree) #t)> shortcuts
|
||||
allows you to change an inline formula like
|
||||
<with|mode|math|a<rsup|2>+b<rsup|2>=c<rsup|2>> into a displayed formula
|
||||
like
|
||||
In the case of mathematical formulas, the <shortcut|(variant-circulate
|
||||
(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
|
||||
|
||||
<\equation*>
|
||||
a<rsup|2>+b<rsup|2>=c<rsup|2>
|
||||
</equation*>
|
||||
|
||||
while taking care of potential ``trailing spaces and punctuation signs''.
|
||||
while taking care of potential \Ptrailing spaces and punctuation signs\Q.
|
||||
|
||||
<TeXmacs> also provides the <shortcut|(numbered-toggle (focus-tree))> shortcut for turning numbered
|
||||
environments into unnumbered environments and <em|vice versa>. This works
|
||||
for most common environments like theorems, remarks, tables, equations,
|
||||
etc. Notice that <shortcut|(numbered-toggle (focus-tree))> also turns an unnumbered itemize environment
|
||||
into an enumeration and <em|vice versa>, whereas <shortcut|(variant-circulate (focus-tree) #t)> allows
|
||||
you to cycle between the available kinds of list items (bullets, dashes,
|
||||
arrows, <abbr|etc.>).
|
||||
<TeXmacs> also provides the <shortcut|(numbered-toggle (focus-tree))>
|
||||
shortcut for turning numbered environments into unnumbered environments and
|
||||
<em|vice versa>. This works for most common environments like theorems,
|
||||
remarks, tables, equations, etc. Notice that <shortcut|(numbered-toggle
|
||||
(focus-tree))> also turns an unnumbered itemize environment into an
|
||||
enumeration and <em|vice versa>, whereas <shortcut|(variant-circulate
|
||||
(focus-tree) #t)> allows you to cycle between the available kinds of list
|
||||
items (bullets, dashes, arrows, <abbr|etc.>).
|
||||
|
||||
<tmdoc-copyright|1998--2005|Joris van der Hoeven>
|
||||
|
||||
|
@ -51,8 +52,5 @@
|
|||
Documentation License".>
|
||||
</body>
|
||||
|
||||
<\initial>
|
||||
<\collection>
|
||||
<associate|language|english>
|
||||
</collection>
|
||||
</initial>
|
||||
<initial|<\collection>
|
||||
</collection>>
|
Loading…
Reference in New Issue