pandoc-latex-template
pandoc-latex-template copied to clipboard
How can I align center the captions of images and tables?
I tried to use this template to export a markdown document to pdf. All the images and tables are aligned center, but their captions are aligned left.
I checked many blogs to find a approach, but it seems that they didn't work.
docx-writer: Center Images and Tables Centering and resizing figures in PDF export with pandoc How do I center images?
Maybe I needn't make change in my markdown-document, but in this template eisvogel.latex
? Any ideas or suggestions?
caption-justification (defaults to raggedright)
justification setting for captions (uses the justification parameter of the [caption](https://ctan.org/pkg/caption?lang=en) package)
pandoc -V caption-justification:centering
tex: https://github.com/Wandmalfarbe/pandoc-latex-template/blob/8c48a175e2f5274858f6ea9fd3e56d8a60dd5c66/eisvogel.tex#L623C1-L623C1