Michael Gerz wrote: > > It looks o.k., although I would probably have written it as: > > > > "\\newcommand\\lyxinserted[3]{\\changestart#3\\changeend}\n" > > "\\newcommand\\lyxdeleted[3]{%\n" > > "\\changestart\\overstrikeon#3\\overstrikeoff\\changeend}\n" > > Ok, I removed the {}'s.
Why not the linebreak? For my taste, that line is too long. > > BTW what are the three arguments for? Author and date? If so, couldn't > > they be > > made optional? I.e. \lyxinserted[author][date]{text} etc.? > > AFAIK, \newcommand only allows one optional argument. However, this > doesn't hurt IMHO because LyX will always sets all three arguments. It's possible, but it's indeed probably not worth the trouble here. Jürgen