[Tex/LaTex] \captionsetup in classic thesis

captionsclassicthesisindentation

I am presently using classic thesis. In the figures and tables, the captions has default indentation, i.e. long captions 'hang' under the first line of the text. But I wish to have normal paragraph text as caption. So in the classicthesis-config.tex file I changed \captionsetup{format=hang,font=small} to \captionsetup{format=default,font=small}. But still I am getting hanging captions. What else should I modify? Here is a sample code.

    \documentclass[ oneside,paper=a4,fontsize=12pt
            ]{scrreprt}
    \input{classicthesis-config}
    \begin{document}
    \begin{figure}
    \includegraphics[width=.45\linewidth]{example_4}
    \caption[Tu duo titulo debitas latente]{A view of differnet objects in the world. The first flower indiacates its orientation about the sky A view of the obejects .}\label{fig:example}
  \end{figure}

 \end{document}

This results in a caption hanging around the first line with indentation. enter image description here

Best Answer

File classicthesis-config.tex load package caption for which is set \captionsetup{font=small}. This you can change with new \captionsetup{...} placed after classicthesis-config.tex. For example:

\captionsetup{format=plain, font=small, labelfont=bf}

will gives format similar to

enter image description here

For other desired caption layout see documentation of caption package. Complete example:

\documentclass[oneside, paper=a4, fontsize=12pt]{scrreprt}
\input{classicthesis-config}
\captionsetup{format=plain, font=small, labelfont=bf}

\begin{document}
    \begin{figure}
\includegraphics[width=.45\linewidth]{example-image-a}
\caption[Tu duo titulo debitas latente]{A view of differnet objects in the world. The first flower indiacates its orientation about the sky A view of the obejects .}\label{fig:example}
    \end{figure}
\end{document}