ronisbr / PrettyTables.jl

Print data in formatted tables.
MIT License
391 stars 38 forks source link

In Latex, a way to make the header not bold? #197

Closed pdeffebach closed 1 year ago

pdeffebach commented 1 year ago

Can't seem to find a way to do this. There is a struct containing the field header_envs, but it seems like I can't modify that as an option.

pdeffebach commented 1 year ago

I was able to get around this issue by creating my own LatexTableFormat. But it seems like LatexTableFormat does not accept an empty string. I got around this by defining

\newcommand{\identity}[1]{#1}

in my latex document and having that be the environment for the headers. A bit of a hack, it would be nice to turn off wrapping completely.

pdeffebach commented 1 year ago

Nevermind! An empty String vector String[] works!

ronisbr commented 1 year ago

Nice! Yes, you need to pass a vector of strings :)