reno.utils.latex_eqline_wrap#

reno.utils.latex_eqline_wrap(eq_text, highlight=False)#

Wrap an equation in an appropriate latex block for an equation set display.

(This handles adding a highlight color if it’s a selected reference.)

Parameters:
  • eq_text (str)

  • highlight (bool)

Return type:

str