Opened 17 years ago

Closed 15 years ago

#3483 closed enhancement (fixed)

support nice unit printing

Reported by: timmichelsen@… Owned by: nobody@…
Priority: high Milestone: 1.6.0
Component: insets Version: unspecified
Severity: minor Keywords:
Cc: j.spitzmueller@…, uwestoehr@…, helge.hafting@…, jasa.david@…

Description

Hello.

units.sty offers a beutiful way to print units in texts.

It would be nice if this could be integrated Lyx via the insert menu. Maybe in a
manner like we insert URLs today.

Reference:
\unit[value]{unit}
\unitfrac[value]{unit-numerator}{unit-denominator}
http://www.math.upenn.edu/tex_docs/latex/units/units.dvi

Change History (10)

comment:1 by Juergen Spitzmueller, 17 years ago

Component: guiiinsets

valid enhancement request (though I think SIunits.sty is to be preferred).

comment:2 by timmichelsen@…, 17 years ago

I didn't know SIunits.sty. Had a quick look at it and it seems to offer better
options. On the other hand it seems to be difficultier to implement.

You may contact me if you need help.

comment:3 by timmichelsen@…, 17 years ago

Having looked at the 2 styles it seems that units can also control the space
between the value and the unit.

But untis will habe problems to write something like g/ccm in normal text.

comment:4 by Juergen Spitzmueller, 17 years ago

Cc: helge.hafting@… added

comment:5 by Juergen Spitzmueller, 17 years ago

* #4070 has been marked as a duplicate of this bug. *

comment:6 by jasa.david@…, 16 years ago

Cc: jasa.david@… added

Was there any progress in implementing this request lately?

comment:7 by Juergen Spitzmueller, 16 years ago

Was there any progress in implementing this request lately?

No.

comment:8 by Uwe Stöhr, 16 years ago

Cc: j.spitzmueller@… added
Keywords: fixedintrunk added
Milestone: 1.6.0

Since LyX 1.6 we support this, see section 3.2 and Appendix A of the math manual.

comment:9 by Juergen Spitzmueller, 16 years ago

Cc: uwestoehr@… added

Since LyX 1.6 we support this, see section 3.2 and Appendix A of the math
manual.

I'm not sure. I think siunitx support is still desirable.

comment:10 by Juergen Spitzmueller, 15 years ago

Keywords: fixedintrunk removed
Resolution: fixed
Status: newclosed

LyX 1.6.0 is released.

Note: See TracTickets for help on using tickets.