LyXMeasure units in normal text

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
d_abbatelli
Posts: 1
Joined: Thu Apr 07, 2011 7:38 pm

Measure units in normal text

Post by d_abbatelli »

Hello

First of all, I'm sorry for the dumb question, but I'm a complete noob with LyX and LaTex, and I haven't been able to find my answer in the documentation.

What I want to do is using physical measure units in a normal text.

As example, I want to write:

"We expect a gas production of 0.5 m^3 of gas per kg of dry substance".
Now, if I open a "math field" and I type:

Code: Select all

0.5-CTRL+SHIFT+SPACE-m^3
I get everything in italic.
If I put everything in "normal text" mode, I still get the "m^3" in italic.

What I want to obtain is a "normal looking" measure unit with apix (m^3), in the fastest way possible.
How can I do that?

Thank you

EDIT: Right now I solved using "\unittwo" inside a "math field". Is there a better/faster way?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply