UnitfulLatexify.jl icon indicating copy to clipboard operation
UnitfulLatexify.jl copied to clipboard

Results 3 UnitfulLatexify.jl issues
Sort by recently updated
recently updated
newest added

When interpolating a variable that is under an exponent, the resulting latex expression leaves the exponent over the unit only. ``` julia> x = 2u"inch" julia> y = 2u"inch" julia>...

In GR, `\mathrm{x}^{y}` places the `y` too high. A workaround is to use `\mathrm{x^y}` (which looks right if `y` is a number...). This coud be an option, and set as...

Unitful.jl has `NoUnits`. It's a bit unfortunate, because it's not stable under arithmetic operations, so for instance `10u"NoUnits"` has type `Int64`. It's possible to generate a unitless quantity by `Quantity{Int64,NoDims,Unitful.FreeUnits{(),NoDims,nothing}}(10)`,...