On Wed, Sep 25, 2002 at 10:32:10AM -0500, Bo Peng wrote: > Hi, All > > I have mapped '\math-matrix 2 2 cll', '\math-matrix 3 3 clll' to certain > keys but I still have trouble imputting matrices of other dimensions. I > would like to have something like: > > 1. Press some key(s), say C-s m, (math matrix) > 2. Be prompted for two argument, I then enter two numbers, say, 2,4 > 3. Lyx then inserts command: '\math-matrix 2 4 cll' and display a 2 by 4 > matrix.
We'd need some work on the minibuffer for this to come true I think. > I have two solutions in mind: > > 1. map all C-s m 1 1, to C-s m 9 9. > 2. map C-s m to command-execute math-matrix (can command-execute have > argument?) > > but I am not sure they will work. Is there better ways to do this? None that I am aware of. But I would think that being able to quickly add rows and columns should suffice in most cases. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
