Re: units of measure in lyx

2008-11-11 Thread Uwe Stöhr

muzzle schrieb:


does lyx have some kind of support for units of measure?


Yes, see the Math manual, Appendix A.


I was going to define some math macros like \TeV or \cm to be able to write 
thing
like 3\cm or x\cm in math mode and have them formatted in a nice and
consistent way.


This is not really needed as you only have to write
5 cm
and insert a half space between the unit and the value. The Math manual and also the UserGuide 
explains this.


regards Uwe


Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

 muzzle schrieb:
 
 does lyx have some kind of support for units of measure?
 
 Yes, see the Math manual, Appendix A.
 
 I was going to define some math macros like \TeV or \cm to be able to
 write thing like 3\cm or x\cm in math mode and have them formatted in a
 nice and consistent way.
 
 This is not really needed as you only have to write
 5 cm
 and insert a half space between the unit and the value. The Math manual
 and also the UserGuide explains this.
 
 regards Uwe

But shouldn't this be a non-breaking space?



Re: units of measure in lyx

2008-11-11 Thread Uwe Stöhr

Neal Becker schrieb:


But shouldn't this be a non-breaking space?


A half space is the correct length and is also non-breakable.

regards Uwe


Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

 Neal Becker schrieb:
 
 But shouldn't this be a non-breaking space?
 
 A half space is the correct length and is also non-breakable.
 
 regards Uwe

Thanks.

I'm guessing here, but it seems to me that if the units is an abbreviation 
(e.g., 2 kW) the thin space looks correct, but if the units is normal text 
(e.g., 4 samples) then a normal size nonbreaking space is correct.



units of measure in lyx

2008-11-11 Thread muzzle
Hi,
does lyx have some kind of support for units of measure? I was going
to define some math macros like \TeV or \cm to be able to write thing
like 3\cm or x\cm in math mode and have them formatted in a nice and
consistent way.
Do I need to go and do all the work by myself or is there a lyx mode
or a (lyx supported) latex package that does this?
Btw, lyx 1.6 is awesome (might have been called lyx 2.0 given the
sheer number of new features :) thanks!

Cheers,

Emme


Re: units of measure in lyx

2008-11-11 Thread Uwe Stöhr

muzzle schrieb:


does lyx have some kind of support for units of measure?


Yes, see the Math manual, Appendix A.


I was going to define some math macros like \TeV or \cm to be able to write 
thing
like 3\cm or x\cm in math mode and have them formatted in a nice and
consistent way.


This is not really needed as you only have to write
5 cm
and insert a half space between the unit and the value. The Math manual and also the UserGuide 
explains this.


regards Uwe


Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

 muzzle schrieb:
 
 does lyx have some kind of support for units of measure?
 
 Yes, see the Math manual, Appendix A.
 
 I was going to define some math macros like \TeV or \cm to be able to
 write thing like 3\cm or x\cm in math mode and have them formatted in a
 nice and consistent way.
 
 This is not really needed as you only have to write
 5 cm
 and insert a half space between the unit and the value. The Math manual
 and also the UserGuide explains this.
 
 regards Uwe

But shouldn't this be a non-breaking space?



Re: units of measure in lyx

2008-11-11 Thread Uwe Stöhr

Neal Becker schrieb:


But shouldn't this be a non-breaking space?


A half space is the correct length and is also non-breakable.

regards Uwe


Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

 Neal Becker schrieb:
 
 But shouldn't this be a non-breaking space?
 
 A half space is the correct length and is also non-breakable.
 
 regards Uwe

Thanks.

I'm guessing here, but it seems to me that if the units is an abbreviation 
(e.g., 2 kW) the thin space looks correct, but if the units is normal text 
(e.g., 4 samples) then a normal size nonbreaking space is correct.



units of measure in lyx

2008-11-11 Thread muzzle
Hi,
does lyx have some kind of support for units of measure? I was going
to define some math macros like \TeV or \cm to be able to write thing
like 3\cm or x\cm in math mode and have them formatted in a nice and
consistent way.
Do I need to go and do all the work by myself or is there a lyx mode
or a (lyx supported) latex package that does this?
Btw, lyx 1.6 is awesome (might have been called lyx 2.0 given the
sheer number of new features :) thanks!

Cheers,

Emme


Re: units of measure in lyx

2008-11-11 Thread Uwe Stöhr

muzzle schrieb:


does lyx have some kind of support for units of measure?


Yes, see the Math manual, Appendix A.


I was going to define some math macros like \TeV or \cm to be able to write 
thing
like 3\cm or x\cm in math mode and have them formatted in a nice and
consistent way.


This is not really needed as you only have to write
"5 cm"
and insert a half space between the unit and the value. The Math manual and also the UserGuide 
explains this.


regards Uwe


Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

> muzzle schrieb:
> 
>> does lyx have some kind of support for units of measure?
> 
> Yes, see the Math manual, Appendix A.
> 
>> I was going to define some math macros like \TeV or \cm to be able to
>> write thing like 3\cm or x\cm in math mode and have them formatted in a
>> nice and consistent way.
> 
> This is not really needed as you only have to write
> "5 cm"
> and insert a half space between the unit and the value. The Math manual
> and also the UserGuide explains this.
> 
> regards Uwe

But shouldn't this be a non-breaking space?



Re: units of measure in lyx

2008-11-11 Thread Uwe Stöhr

Neal Becker schrieb:


But shouldn't this be a non-breaking space?


A half space is the correct length and is also non-breakable.

regards Uwe


Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

> Neal Becker schrieb:
> 
>> But shouldn't this be a non-breaking space?
> 
> A half space is the correct length and is also non-breakable.
> 
> regards Uwe

Thanks.

I'm guessing here, but it seems to me that if the units is an abbreviation 
(e.g., 2 kW) the thin space looks correct, but if the units is normal text 
(e.g., 4 samples) then a normal size nonbreaking space is correct.



units of measure in lyx

2008-11-11 Thread muzzle
Hi,
does lyx have some kind of support for units of measure? I was going
to define some math macros like \TeV or \cm to be able to write thing
like 3\cm or x\cm in math mode and have them formatted in a nice and
consistent way.
Do I need to go and do all the work by myself or is there a lyx mode
or a (lyx supported) latex package that does this?
Btw, lyx 1.6 is awesome (might have been called lyx 2.0 given the
sheer number of new features :) thanks!

Cheers,

Emme