implemented additionally functionality of formatters_col in to_latex
Not sure what I should do for the whatsnew entry, bit confused about versioning. 

- [ x ] closes #26278
- [ x] tests added / passed
- [ x] passes `black pandas`
- [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
