2

I want to place a multiline caption for a figure using the IEEE Access template. The template is like this:

\Figure[t!](topskip=0pt, botskip=0pt, midskip=0pt){fig1.png}{<caption>\label{fig1}}

I have tried using \\ and \newline but they don't do the trick. Is that possible?

Edit: I provide a code snippet

\documentclass{ieeeaccess}
\usepackage{graphicx}
\begin{document}
Text
\Figure[](topskip=0pt,botskip=0pt,midskip=0pt)[width=1\textwidth]{fig1.png}
    {First line\\
     Second line\\
     Third line
     \label{<figure_label>}}
\end{document}

And a link to the template: IEEE Access template. I apologise for any errors as I am very new to this!

3

It is possible, but I wasn't sure if the changes we made were not distorting the template. Because the multiline caption for figure or tables requires the caption package. Your template does not use this package.

Of course it's up to you whether you use it or not.

Add the following code lines to your preamble:

\usepackage{caption}
\DeclareCaptionFont{ieeeblue}{\color{accessblue}}
\DeclareCaptionLabelFormat{myformat}{\figcapfont{\textbf{#1}\textbf{#2}}}
\captionsetup{labelfont={bf,ieeeblue},labelformat=myformat}

Output:

enter image description here

  • @jonna_983, Your welcome. – ferahfeza Feb 14 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.