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:
- number
python:str The number to be typeset passed to the num method.
- unit
python:str The unit to be typeset passed to the unit method.
- unit_kw
python:dict,optional Dictionary containing keyword arguments to temporarily overwrite the options in sisetup.unit_kw.
- **qty_kw
Not implemented yet.
- number
- Returns:
python:strThe LaTeX code for the given quantity.