Subject: mailing-list for TeXmacs Users
List archive
From : Massimiliano Gubinelli <address@hidden>- To: Zhuyang Wang <address@hidden>
- Cc: address@hidden
- Subject: Re: Smarter subscript in math mode
- Date: Mon, 23 Sep 2019 15:17:18 +0200
What’s wrong with
(“1 tab" (insert '(rsub "1")))
?
best
mg
> On 20. Sep 2019, at 17:11, Zhuyang Wang <address@hidden> wrote:
>
> Hi,
>
> I am wondering if there is a convenient way to turn the numbers after a
> symbol into a subscript. For example, now I have the following keybinding
> in my config:
>
> ("a 1" (insert '(concat "a" (rsub "1"))))
>
> And then copy and paste for other characters and subscripts. I hope there
> is a better solution than copy/paste. My current idea is to set up a
> keybinding for "1 tab", "2 tab", etc, so that the tab will turn the number
> into a subscript of the previous symbol. But I don't quite know how to move
> in the document tree (or directly manipulate it). I read the document
> "Programming routines for editing documents" but still have no idea, like
> how can I get the tree representing the symbol before the cursor.
>
> Thanks!
>
> Zhuyang
- Smarter subscript in math mode, Zhuyang Wang, 09/20/2019
- Re: Smarter subscript in math mode, Massimiliano Gubinelli, 09/23/2019
- Re: Smarter subscript in math mode, Zhuyang Wang, 09/23/2019
- Re: Smarter subscript in math mode, sadhen, 09/23/2019
- Re: Smarter subscript in math mode, Zhuyang Wang, 09/23/2019
- Re: Smarter subscript in math mode, Massimiliano Gubinelli, 09/23/2019
Archive powered by MHonArc 2.6.19.