formatters.format_str

format_str(value, col_index=0, **kwargs)

Format Python strings to LaTeX text.

Pure conversion: wraps string in without additional decoration. Column wrapping (e.g., prefix) is handled by wrap_column().

Parameters

value : str String value to format col_index : int, optional Column index (kept for API consistency, not used) **kwargs Ignored

Returns

str LaTeX string with wrapper