def _add_indent(self, line: str) -> str:
        """Adds an indent before the line.

        Args:
            line: The line to add an indent to.
        """
        return (
            rf"\hspace{{{self._indent_level * self._EM_PER_INDENT}em}} {line}"
            if self._indent_level > 0
            else line
        )
Adds an indent before the line.

        Args:
            line: The line to add an indent to.
        
src/latexify/codegen/algorithmic_codegen.py