class_docstr: Physical quantity: can be a unit of measure, a constant or a generic quantity.
class_docstr_tok: ["Physical","quantity",":","can","be","a","unit","of","measure",",","a","constant","or","a","generic","quantity","."]
code: def _latex(self, printer):
      if self._latex_repr:
          return self._latex_repr
      else:
          return r"\text{{{}}}".format(
              self.args[1] if len(self.args) >= 2 else self.args[0]
          )
  
imports: from sympy.core.expr import AtomicExpr
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import sympify
  from sympy.physics.units.dimensions import _QuantityMapper
  from sympy.physics.units.prefixes import Prefix
label_desc: Use image node_id 12 for calling the Quantity obj's underlying member method code with example usage: obj._latex(printer) and returns: self, str