Lyx-code formatting

2005-09-12 Thread Dave Mills

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

--

David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Re: Lyx-code formatting

2005-09-12 Thread Dave Mills

Paul A. Rubin wrote:

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.




Is it possible to make them wrap? Some ERT needed?  Any other 
suggestion?


The LyX code environment is like the preformatted tag in HTML -- text 
is reproduced verbatim, monospaced.  If you want it verbatim and want 
it to fit, you can block it and use Layout-Character-Size to shrink 
it. Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout-Character-Family to change the font family to typewriter.


Paul


Thanks Paul,

I assumed this was the case, but just wanted to make sure I'd not missed 
anything.


cheers,
Dave
--


David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Lyx-code formatting

2005-09-12 Thread Dave Mills

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

--

David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Re: Lyx-code formatting

2005-09-12 Thread Dave Mills

Paul A. Rubin wrote:

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.




Is it possible to make them wrap? Some ERT needed?  Any other 
suggestion?


The LyX code environment is like the preformatted tag in HTML -- text 
is reproduced verbatim, monospaced.  If you want it verbatim and want 
it to fit, you can block it and use Layout-Character-Size to shrink 
it. Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout-Character-Family to change the font family to typewriter.


Paul


Thanks Paul,

I assumed this was the case, but just wanted to make sure I'd not missed 
anything.


cheers,
Dave
--


David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Lyx-code formatting

2005-09-12 Thread Dave Mills

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

--

David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Re: Lyx-code formatting

2005-09-12 Thread Dave Mills

Paul A. Rubin wrote:

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.




Is it possible to make them wrap? Some ERT needed?  Any other 
suggestion?


The LyX code environment is like the preformatted tag in HTML -- text 
is reproduced verbatim, monospaced.  If you want it verbatim and want 
it to fit, you can block it and use Layout->Character->Size to shrink 
it. Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout->Character->Family to change the font family to typewriter.


Paul


Thanks Paul,

I assumed this was the case, but just wanted to make sure I'd not missed 
anything.


cheers,
Dave
--


David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]