Subject: mailing-list for TeXmacs Users
List archive
From : Miguel de Benito Delgado <address@hidden>- To: "address@hidden" <address@hidden>
- Subject: Re: [TeXmacs] What is with \mathscr?
- Date: Mon, 24 Feb 2014 13:05:08 +0100
I use this to build shortcuts for caligrapic capital letters. The eval is not especially pretty but does the trick. Improvements are welcome.
(define (build-one-kbd-cal sy)
(with s (symbol->string sy)
(list (string-concatenate (list s " " s " " s))
(string-concatenate (list "<cal-" s ">")))))
(define (build-all-kbd-cal)
`(kbd-map
(:mode in-math?)
,@(map build-one-kbd-cal
'(A B C D E F G H I J K L M N O P Q R S T U V W X Y Z))))
(eval (build-all-kbd-cal))
--
Miguel de Benito.
Miguel de Benito.
On Mon, Feb 24, 2014 at 11:27 AM, François Poulain <address@hidden> wrote:
Hi,
Le Sat, 22 Feb 2014 17:14:34 +0200,
Victor Porton <address@hidden> a écrit :
You can add something like
> 1. How to type <with|math-font|cal*|C>> quickly? (I don't want to
> type that \with etc.)
(kbd-map
(:mode in-math?)
("font C var" (make-with "math-font" "cal*")))
in your my-init-texmacs.scm
Otherwise you could make a macro.
François
--
François Poulain <address@hidden>
- [TeXmacs] What is with \mathscr?, Victor Porton, 02/22/2014
- Re: [TeXmacs] What is with \mathscr?, François Poulain, 02/24/2014
- Re: [TeXmacs] What is with \mathscr?, Miguel de Benito Delgado, 02/24/2014
- Re: [TeXmacs] What is with \mathscr?, François Poulain, 02/24/2014
Archive powered by MHonArc 2.6.19.