Function sequant::to_latex_align

Function Documentation

inline std::wstring sequant::to_latex_align(const ExprPtr &exprptr, size_t max_lines_per_align = 0, size_t max_terms_per_line = 1)

splits long outer sum into a multiline align

Parameters:
  • exprptr – the expression to be converted to a string

  • max_lines_per_align – the maximum number of lines in the align before starting new align block (if zero, will produce single align block)

  • max_terms_per_line – the maximum number of terms per line