________________________________
 De: Jacob Bishop <[email protected]>
May I ask why you are using \text ? To my knowledge, the \unit and \unitfrac 
commands automatically ensure that the text is typeset upright. I seem to get 
the correct output by using \unitfrac without using \text.

Then again, it isn't exactly clear to me what output you are looking for.

Jacob

You know Jacob I discovered I have been fooled. I actually thought  that I 
could improve the display of m^3 / s with nicefrac ugly, so that the fraction 
is shown with better spacing. I actually cannot do this with nicefrac. I 
discovered that the units manual in pdf shows something that is not.

Let me cite it from here
http://mirror.unl.edu/ctan/macros/latex/contrib/units/units.dtx
http://www.cs.brown.edu/system/software/latex/doc/units.pdf

"Nice
%    fractions look like \nicefrac{m}{s}, ugly fractions look like m/s
%    in text mode and $\frac{\mathrm{m}}{\mathrm{s}}$ in math mode."

ugly fractions look like m/s    This is where I was fooled

I thaugth the sentence was made like this

"Nice
%    fractions look like \nicefrac{m}{s}, ugly fractions look like 
\nicefrac{m}{s}
%    in text mode and $\frac{\mathrm{m}}{\mathrm{s}}$ in math mode."

and there was a way to switch between the use of ugly and nice in the middle of 
the document. 
Since there is no way to do this that I know, the author of the plugin wrote, 
"it looks like m/s ", which confused me like hell!

So I will study Latex more, and read more source, to avoid stupid confusions. 
Still I can do with I want with some protected spaces, no brainer!

Thanks again for the support

Reply via email to