Skip to Content.
Sympa Menu

texmacs-users - How to determine the position of cursor in a fraction?

Subject: mailing-list for TeXmacs Users

List archive

How to determine the position of cursor in a fraction?


Chronological Thread 
  • From: Darcy Shen <address@hidden>
  • To: "texmacs-users" <address@hidden>
  • Subject: How to determine the position of cursor in a fraction?
  • Date: Tue, 10 Sep 2019 23:57:57 +0800
  • Arc-authentication-results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=address@hidden; dmarc=pass header.from=<address@hidden> header.from=<address@hidden>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568131078; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=C+NKeFLcctmtLkbnO/1NGDQlEHqEaonKjylWT8WJxoo=; b=giU/T0YY1RDzm6Od9O/euSm0M1w6T3KiOSUEH+3oUkATXu4UXaEXv8bOTp2Vh240Jaz2QDg/vNR8CzqoRF/hbN4gJ0ME9zrBEGuRoUiddJNTE++Wmr6pizbnoki/b17mQw7FVs9Rid9DMCD7qs+1cftsaCdPovgLyFY1M1WFTFI=
  • Arc-seal: i=1; a=rsa-sha256; t=1568131078; cv=none; d=zoho.com; s=zohoarc; b=JTtDI6v8LgBH2CKEhh5maU+DVs7z0p6UZ8n62tQyy8f6TJ+aTLfTGEzuHbzE5k1o6qk75UVuIQHZsXLwiL9sNMXNXxFS+2BLGC0QFuxzHvV+eenmkrrv1eClBrrvxPwrArFq1AbqQDvG588rjsuOw1KsUyfr4Q+fs7GkiQH+qpw=
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:in-reply-to:subject:mime-version:content-type:user-agent; b=SO8ufEk5PItfnMCfNI8cRP44hOMGAAKCMqlosR5PcGfkT7yqHcexap/pIjIhIZF84aVlxp5jb65v 6B9FT5X/f4K93maiRM4ST9mMpZM2ELApDTSTBFFsvKI7N2Ov/TJT

In math mode, I hit \frac, Texmacs will give me the denominator and numerator to fill. Is there a way to tell whether the cursor is at the denominator or numerator using Scheme code?

If one can, then it is possible to write in Scheme code a shortcut to to jump from numerator, then to denominator, then out of the whole fraction. It would be nice to have such a shortcut.


reposted from http://forum.texmacs.cn/t/how-to-determine-the-position-of-cursor-in-a-fraction/66

---

I do think it is a great question.





Archive powered by MHonArc 2.6.19.

Top of Page