I want to display multiple figures next to each other like in this. Every image has its own source so I want to mention this in the caption.
For this I want to add the source of a figure in the caption with [@testQuelle]
but it just shows the text [@testQuelle]
under the picture. What am I doing wrong?
When I try to cite my source outside the figure context it just works fine so my bib is fine (see the code)
---
header-includes: |
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
---
nach [@testQuelle] ist es..
\begin{figure}
\centering
\caption{myCaption [@ref] }
\label{fig:myLabel}
\end{figure}
@online{testQuelle,
langid = {german},
title = {eine Test Quelle aus dem Internet},
url = {https://testQuelle.de},
abstract = {diese Quelle enthält viele tolle Daten},
journaltitle = {Quelle},
urldate = {2019-06-05},
}
#!/bin/sh
PATH=$PATH:/home/moritz/.cabal/bin/ pandoc --filter pandoc-citeproc --bibliography quellen.bib --csl=styles/din1505.csl --filter pandoc-include-code -V hyphens=URL -V breakurl -V papersize=a4paper --from=markdown --output=text.pdf text.md \
--template template