# Figure caption alignment

Hello, I need this alining of caption, and also this font of "Slika D.8"

• Have a look at the caption package. It supports sffamily-style captions and also the hanging of the caption text. Try this: \captionsetup{format=hang, labelfont=\sffamily}. – TeXnician Apr 6 '17 at 12:09
• It's not working :/ – Ana Leko Apr 6 '17 at 12:15
• Please post what you've got so far (MWE). Btw: I was wrong with the labelfont (see my answer). – TeXnician Apr 6 '17 at 12:17

Just one option: Using caption and its options.

\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\captionsetup{format=hang,labelfont=sf}

\begin{document}

\begin{figure}
\includegraphics{example-image.pdf}
\caption{Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test}
\end{figure}

\end{document}