Skip to Content.
Sympa Menu

texmacs-users - The hybrid command (was: Simple "how do I..." question)

Subject: mailing-list for TeXmacs Users

List archive

The hybrid command (was: Simple "how do I..." question)


Chronological Thread 
  • From: address@hidden
  • To: address@hidden
  • Subject: The hybrid command (was: Simple "how do I..." question)
  • Date: Mon, 7 Apr 2003 15:10:28 +0200

On Mon, Mar 03, 2003 at 03:15:06PM +0200, Yoel Callev wrote:
> When I write commands that have a separator in them (i.e. A<rsub|1> for
> A_1) how do I write the separator (I type \ and get <\rsub> but then I
> don't know how to put the separator "|" in a way that would operate)
>
> I appologise for asking such a simple question, but I couldn't find the
> answer anywhere....

Sorry for the late answer.

You did not find an answer to that problem, because your problem is
wrong (but admittedly badly document).

the [\] (backslash) key actually creates an "hybrid" structure, which
can be resolved to one of:

-- an active latex shortcut (where latex shortcuts are specific
class of shortcuts used in texmacs) (e.g. maketitle)

-- a function application (apply "func" ...) where 'func' is the
name of a function defined in the current context (e.g. index).

-- a macro expansion (expand "macro" ...) where 'macro' is the name
of a macro defined in the current context (e.g. section)

-- a couple of other special cases

This general does not include _typesetter primitives_ like "rsub",
which must be inserted from the menu or specific shortcuts (like
[underscore] in math context).

The behaviour you expect with [tab] is only applicable when the name
you have typed is bound to a function or a macro in the current
context.

-- DDAA


  • The hybrid command (was: Simple "how do I..." question), david, 04/07/2003

Archive powered by MHonArc 2.6.19.

Top of Page