>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Wed, Mar 12, 2003 at 04:39:04PM +0000, John Levon wrote:
>> > You can probably make InsetNewline::noFontChange() return true,
>> and > font setting will be closed and reopened later.
>> 
>> OK

John> Actually I don't really understand all this TYPEWRITER_FAMILY
John> stuff..

I am not sure I remember about it either. You will probably have to
try it out to see what is the difference between
  aaa\\
and 
  aaa~\\
in typewriter mode. Newlines are very strange latex objects.

BTW, in Inset::latex(), if you need to know the current font, you can
do something like (taken from insetquote):

        lyx::pos_type curr_pos = parOwner()->getPositionOfInset(this);
        lyx::Assert(curr_pos != -1);
        LyXFont font  = parOwner()->getFont(buf->params, curr_pos);

JMarc

Reply via email to