def berkowitz_minors(self):
        sign, minors = S.One, []

        for poly in self.berkowitz():
            minors.append(sign*poly[-1])
            sign = -sign

        return tuple(minors)
remove funny latex characters and text from incoming string
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.berkowitz_minors--crossover with--dataset/ETHPy150Open msprev/unite-bibtex/pythonx/core/formatter/util.py/remove_latex_crap