0

My intention is to have a figure rotated and boxed with a tiny border just behind the limits of the figure.

I found a solution to rotate figures in Rotate picture with caption

But when I add these line in the preamble

\floatstyle{boxed} 
\restylefloat{figure}

then the caption rotation is not working. Note that between the border and the figure there are white spaces (which I prefer to avoid them).

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass{DissertateB5}
\captionsetup{labelfont=\rmdefault, textfont=\rmdefault }
\usepackage{adjustbox}

\graphicspath{ {figures/} }
\usepackage{float}

\floatstyle{boxed} 
\restylefloat{figure}

\begin{document}

\begin{figure}
\begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption{Visualización de los datos en Kibana}\label{fig:kibana} \end{minipage}},rotate=90,center}
      \includegraphics[scale=.4]{kibana.png}
  \end{adjustbox}

\end{figure}

\end{document}

enter image description here

0 Answers0