79498969

Date: 2025-03-10 19:25:53
Score: 0.5
Natty:
Report link

Solution found (via Google Gemini, since neither Chap GPT nor Claude could do it).

The correct argument to chage was tf :

PT.pretty_table(
        io,
        portfolios;
        backend = Val(:latex),
        show_subheader = false,
        alignment=[:l, :c, :c, :c, :c],
        formatters = PT.ft_printf("%1.2f"),
        tf = PT.tf_latex_booktabs
    )
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Raul Guarini Riva