On Monday 11 June 2007 18:59, Steve Litt wrote:
> On Monday 11 June 2007 17:42, you wrote:
> > On Mon, Jun 11, 2007 at 02:33:31PM -0400, Steve Litt wrote:
> > > LyX math is so new to me that I don't know exactly what I want, yet I
> > > need to have it pretty much nailed down before I begin the book.
> >
> > Yet you decided already that typing in LaTeX and hitting C-m is easier.
> >
> > Quite interesting.
> >
> > Andre'
>
> It's an author's prerogative to change his mind :-)
>
> SteveT

Hi all,

As you can imagine, I want a solution that not only looks good, but is fast 
during authoring. I've explored character styles, typing in LaTeX and then 
hitting Ctrl+M, \eqnarray, using LyX's Edit->rows&columns->add_column and 
Edit->rows&columns->add_column, using a table with one row on one side and a 
row per equation string on the other, all the while trying to imagine using 
it 50 times per day. The thought was gruesome.

Now I think I have something that will be useable:

\bind "F11"     "math-insert \begin{align*} &=&&\qquad\text{}\end{align*}"
\bind "F12"     "tabular-feature copy-row"
\bind "S-F12"   "tabular-feature swap-row"
\bind "C-F12"   "tabular-feature delete-row"

When I need a series of equations, I can press F11 to create the series and 
one row, then repeatedly press F12 to make lots of rows -- too many rows. 
When I'm done I can go to the first unused row and delete unused rows. 

In the preceding bindings, F12 is already implemented as "M-m w c", but I 
needed something involving a single keystroke so I could make 10 rows in 5 
seconds, so I used F12. My "S-F12" and "C-F12" were used for preexisting 
other bindings for similar reasons.

This will be lightning fast, especially if I can find a keystroke to move from 
column to column. It will look good in both the LyX environment and in the 
finished copy.

I see one problem with this -- it is not styles based. If half way through the 
book I decided I wanted to change the appearance of all equations, I'd need 
to use Vim to edit the LyX file, and perform an extensive substitution.

That being said, this is still the best solution I've come up with so far. I 
will continue evaluating, because when I actually write the book, I want to 
be confident of my equation format.

Thanks to all of you for your extensive help and advice, and putting up with 
the multitudes of times I changed my mind, especially when I knew nothing 
about the subject.

SteveT

Reply via email to