sisetup.qty

sisetup.qty(number, unit, unit_kw=None, **qty_kw)
Return type:

str

Returns the LaTeX code for the given quantity.

Combines a number and a unit to a string containing the LaTeX code.

Parameters:
numberpython:str

The number to be typeset passed to the num method.

unitpython:str

The unit to be typeset passed to the unit method.

unit_kwpython:dict, optional

Dictionary containing keyword arguments to temporarily overwrite the options in sisetup.unit_kw.

**qty_kw

Not implemented yet.

Returns:
python:str

The LaTeX code for the given quantity.