Wandmalfarbe / pandoc-latex-template

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

Table row colors are starting at different colors for each table. #18

Open dampfklon opened 6 years ago

dampfklon commented 6 years ago

I have multiple Tables in my document, and the backgroundcolor alternates on them.

example-file

| Ja | Nein | Enthaltung |
|:--:|:----:|:----------:|
| 99 | 0    | 0          |

| Ja | Nein | Enthaltung |
|:--:|:----:|:----------:|
| 99  | 0    | 0          |

| Ja | Nein | Enthaltung |
|:--:|:----:|:----------:|
| 99 | 0    | 0          |

| Ja | Nein | Enthaltung |
|:--:|:----:|:----------:|
| 99 | 0    | 0          |

| Ja | Nein | Enthaltung |
|:--:|:----:|:----------:|
| 99 | 0    | 0          |

which results in

test pdf_-_adobe acrobat reader dc_2017-11-12_20-12-09
Wandmalfarbe commented 6 years ago

This should now be fixed so that each table starts with the same row colors regardless of other tables preceding it. Let me know if you still have any problems regarding tables.