I have a little problem and would be extremely grateful if somebody could help me.
Indeed, I am having trouble while referencing images. In fact here is my code:
main.tex:
\documentclass[french, 12pt, twoside, openany]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{amsmath}
\usepackage{fancyhdr}
\usepackage{float}
\usepackage[acronym,nonumberlist]{glossaries}
\usepackage{pdflscape}
\usepackage{adjustbox}
\usepackage{geometry}
\usepackage[hidelinks,linktoc=all]{hyperref} % Modification ici
\geometry{
a4paper,
left=20mm,
right=20mm,
top=20mm,
bottom=20mm
}
\begin{document}
\begin{figure}
\caption{Example}
\centering
\subfloat[ Something 1]{\label{sub:1}\includegraphics[width=0.47\textwidth]{example-image}}\qquad
\subfloat[ Something 2]{\label{sub:2}\includegraphics[width=0.47\textwidth]{example-image}}
\label{fig:test}
\end{figure}
\cref{sub:1}
\end{document}
I would like to change two things :
- I wish to have labels (a) and (b) under the two pictures, aligned with them but the label "figure : Example" must stay on top of both pictures.
- I would really like to have the "figure" written in this style :
I would really appreciate any kind of help and thank everybody in advance.