In relation to my previous question
A particular customize with green line and letters for subfloat
I would like to have a green line with a center rounded square (with symbol)
where the labels (a
, b
, c
, etc.) are automatic and the comments of the figures must only be on the caption line as shown in the attached image (it is a collage done with Paint):
My MWE is:
\documentclass[12pt]{book}
\usepackage{newtxtext}
%%\usepackage{classico}%%%%%%%%%
\usepackage{subfig}
\usepackage{mathtools}
\usepackage[labelfont={sf,bf},skip=.3pt]{caption}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{figure}[htp]
\centering
\subfloat[][\small Le linee di universo passanti per l'origine saranno all'interno del cono. Si vede la linea blu che parte dal punto qui ed ora rappresentato dal vertice del cono.]
{\includegraphics[width=.45\textwidth]{example-image-a}} \quad
\subfloat[][\small Linee di universo non ammesse nella teoria della relatività ristretta sono quelle che escono dal cono di luce; ad esempio la linea \textbf{(1)} esce dal cono che pertanto non sarà ammessa; la velocità nel punto $A$ della linea \textbf{(2)} è minore di quella della luce; la linea arancione \textbf{(3)} rappresenta un viaggiatore dello spazio-tempo con il dono dell'ubiquità; la linea \textbf{(4)} rappresenta un viaggio indietro nel tempo a una velocità maggiore di quella della luce.]
{\includegraphics[width=.45\textwidth]{example-image-b}}
\caption{\small Coni di luce.}
\end{figure}
\end{document}
EDIT 1: ADDENDUM:
Using \subfloat[][]{\includegraphics...}
or \subfloat[][title of subfigure]{\includegraphics...}
always inserts a label (a)
etc. in the title of the subfigure. Can it be removed?