
Estou preparando um manuscrito para uma revista do IET. Eu usei os seguintes pacotes para figura:
\documentclass[10pt]{article}
\usepackage{graphicx}
\usepackage{caption}
\captionsetup[figure]{name=Fig.,labelfont={sf,bf},textfont=sl,labelsep=quad}
\usepackage[caption=false,font=footnotesize,labelformat=simple]{subfig}
então usei o seguinte trecho de código:
\begin{figure}[tb]
\centering
\subfloat[Tunneling and thermionic component of current]{
\includegraphics[width=0.48\linewidth]{It+Ith}
\label{It_Ith}
}
\subfloat[Total drain current]{
\includegraphics[width=0.48\linewidth]{Ids}
\label{I_ds}
}
\label{I_V}
\caption{I-V characterstics in the subthreshold regime}
\end{figure}
e as sublegendas estão abaixo dos respectivos números assim:
Mas quero que as legendas da subfig fiquem abaixo da legenda principal assim:
Observe que todas as legendas estão alinhadas à esquerda e as sublegendas não estão em itálico. Como gerar esse tipo de formatação?
Responder1
Você pode conseguir isso usando sublegendas vazias e depois referenciá-las \protect\subref*
na legenda principal (o * remove os parênteses - sem ele, você obtém (a) em vez de a):
\documentclass[10pt]{article}
\usepackage{graphicx}
\usepackage{caption}
\captionsetup[figure]{name=Fig.,labelfont={sf,bf},textfont=sl,labelsep=quad}
\usepackage[caption=false,font=footnotesize,labelformat=simple]{subfig}
\begin{document}
\begin{figure}[tb]
\centering
\subfloat[]{
\includegraphics[width=0.48\linewidth]{It+Ith}
\label{It_Ith}
}
\subfloat[]{
\includegraphics[width=0.48\linewidth]{Ids}
\label{I_ds}
}
\label{I_V}
\caption{I-V characterstics in the subthreshold regime\\[2ex]
\protect\subref*{It_Ith} \textnormal{Tunneling and thermionic component of current}\\
\protect\subref*{I_ds} \textnormal{Total drain current}
}
\end{figure}
\end{document}
A fonte normal pode ser usada por \textnormal
.