### Re: How to typeset units

Dan Phan schreef: As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan You should enter \unitone or \unittwo... To get 1 mm, enter \unittwo and insert 1 in the first box and mm in the second box. Vincent

### Re: How to typeset units

Dan Phan schreef: As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan You should enter \unitone or \unittwo... To get 1 mm, enter \unittwo and insert 1 in the first box and mm in the second box. Vincent

### Re: How to typeset units

Dan Phan schreef: As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan You should enter \unitone or \unittwo... To get "1 mm", enter "\unittwo" and insert "1" in the first box and "mm" in the second box. Vincent

### How to typeset units

As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan

### Re: How to typeset units

Dan Phan schrieb: As far as I know, the proper way to typeset values and dimensions is to use units package. You don't need this package, using this ore not is your choice. The Math manual, that you find in LyX's Help menu, tells you at the end of sec. 8.1 how units are typeset. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. See appendix A of the Math manual. regards Uwe

### How to typeset units

As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan

### Re: How to typeset units

Dan Phan schrieb: As far as I know, the proper way to typeset values and dimensions is to use units package. You don't need this package, using this ore not is your choice. The Math manual, that you find in LyX's Help menu, tells you at the end of sec. 8.1 how units are typeset. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. See appendix A of the Math manual. regards Uwe

### How to typeset units

As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan

### Re: How to typeset units

Dan Phan schrieb: As far as I know, the proper way to typeset values and dimensions is to use units package. You don't need this package, using this ore not is your choice. The Math manual, that you find in LyX's Help menu, tells you at the end of sec. 8.1 how units are typeset. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. See appendix A of the Math manual. regards Uwe