Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.01k stars 957 forks source link

fix table-header coloring TODO for table-use-row-colors #301

Closed chrisfenner closed 8 months ago

chrisfenner commented 1 year ago

I found an interesting workaround to the table-use-row-colors issue mentioned in this TODO:

https://github.com/Wandmalfarbe/pandoc-latex-template/blob/04e329698d01c3a25aa72ad81d98483284669316/eisvogel.tex#L665-L684

Another user recommended a solution here:

https://github.com/jgm/pandoc/issues/7421#issuecomment-881732047

I've prepared this change based on what's been working for me in my fork of this template (as directly using the suggestion from the bug wasn't working properly). I'm not really a LaTeX person, so feel free to suggest improvements or disregard this change entirely.

Wandmalfarbe commented 8 months ago

Thank you for the Fix!