1

enter image description here

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

  • 1
    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
  • 1
    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
2

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}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.