El lun, 17-12-2012 a las 13:41 -0300, martin escribió:

> El lun, 17-12-2012 a las 09:27 -0700, Jacob Bishop escribió: 
> 
> >         Want to use
> >         \usepackage[ugly]{units}
> >         
> > 
> > just for this document, you can just put
> > Provides    units   1
> > in the local layout under document->settings->local layout. Then it
> > works.
> > 
> > regularly 
> > would turn this into a module, say UglyUnits, and include the
> > package in the layout as well. Then, whenever you want to do this
> > you would just include your module.
> 
> 
> Thank you sir! 


Another problem. Lyx seems to be enthusiastic in putting \ensuremath
around fraction so it spoils the original purpose of ugly ...
I can insert it in tex surely, but is there a way to disable it.

Lyx
$\text{\ensuremath{\unitfrac{m^{3}}{a\tilde{n}o}}}$

I want
$\text{\unitfrac{m^{3}}{a\tilde{n}o}}$

Maybe a nice code for local layout?

Cheers!

Reply via email to