pyladoc.latex.inject_latex_command#

pyladoc.latex.inject_latex_command(text, command)#

Injects a provided LaTeX code under the last line starting with usepackage.

Parameters:
  • text (str) – input LaTeX code

  • command (str) – code to inject

Return type:

str

Returns:

LaTeX code with injected command