0

I am using IEEE Access template to write a document and I've added the subcaption package in the figure* environment in order to create a full page subfigures. In this I have two problems, the first is that it messed up my captions, which are now centralized for other figures and the Figure N is now uppercased. The second one is that my images don't have the same height and thus the (a), (b), (c) are not properly aligned.

enter image description here

EDIT: With the MWE given by @Zarko I understood what I was suppose to give you to properly ask the question, below you have the result of the MWE and the MWE itself. As you can see, the (a), (b), (c) are not aligned, the FIGURE caption is all in capital letters and the caption itself is centralized.

I would like to know how to:

  • move the (a), (b), (c) to be in the same Y position (supposing X for width and Y for height).
  • have the FIGURE to be displayed as Figure
  • flush it left instead of having it centralized

A more graphical way of explaining it is shown in the last picture (which is a bad paint drawing I made with the mousepad from my laptop so I excuse myself for the poor quality).

I thank everyone who commented and I hope I made my question clearer

enter image description here

\documentclass{IEEEaccess}
\let\setyear\year
\let\year\TeXyear

\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{subcaption}
% 
\usepackage{tikz} 

\begin{document}
\begin{figure*}[!ht]
    \begin{subfigure}{.33\linewidth}%33% of the line
        \includegraphics[width=\linewidth, height = 0.3\textheight]{example-image-duck}%{figs/AFig.PNG}
        \caption{}
        \label{fig:AFig}
    \end{subfigure}
    \begin{subfigure}{.33\linewidth}%33% of the line
        \includegraphics[width=\linewidth]{example-image-duck}%{figs/BFIG.PNG}
        \caption{}
        \label{fig:BFig}
    \end{subfigure}
    \begin{subfigure}{.33\linewidth}%33% of the line
        \includegraphics[width=\linewidth]{example-image-duck}%{figs/Cfig.PNG}
        \caption{}
        \label{fig:CFig}
    \end{subfigure}
    \caption{Three figures: (a) AFig, (b) BFig, (c) CFig}
\end{figure*}

\EOD{}
\end{document}   

enter image description here

5
  • Welcome to tex.sx. – barbara beeton Feb 18 '20 at 14:32
  • Please merge your code fragment into one, complete small document, which we can test as it is. Since we haven't your images, please use instead them use example-image which is provided by the graphicx package. – Zarko Feb 18 '20 at 14:51
  • You probably have the problem with use of tikz package. See answer to question tex.stackexchange.com/questions/528975/how-to-use-tikz . – Zarko Feb 18 '20 at 15:29
  • Hello there! This is Tom from the Overleaf Support Team. Please note that I removed the overleaf tag as this is not directly Overleaf-related. – yo' Feb 18 '20 at 16:18
  • Hello, sorry for the mess, I have edited the post in order to make it clearer – Guilherme Theis Feb 19 '20 at 8:16
1

Composing an MWE from your code fragments and considering @Phelype Oleinik answer for work around of bug in the IEEEacces, gives the following result:

enter image description here

Note: Position of caption is determined by IEEEaccess document class as is required by journal style. I would not change this. However, if you anyway like do this, than include in document preamble \usepackage[singlelinecheck=false]{caption}. In this case you will obtain:

enter image description here

\let\TeXyear\year
\documentclass{IEEEaccess}
\let\setyear\year
\let\year\TeXyear

\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{subcaption}
%\usepackage[singlelinecheck=false]{caption} %% used in the second example)
% 
\usepackage{tikz} 

\begin{document}
\begin{figure*}[!ht]
    \begin{subfigure}[b]{.33\linewidth}%33% of the line
        \includegraphics[width=\linewidth]{example-image-duck}%{figs/AFig.PNG}
        \caption{}
        \label{fig:AFig}
    \end{subfigure}
    \begin{subfigure}{.33\linewidth}%33% of the line
        \includegraphics[width=\linewidth]{example-image-duck}%{figs/BFIG.PNG}
        \caption{}
        \label{fig:BFig}
    \end{subfigure}
    \begin{subfigure}{.33\linewidth}%33% of the line
        \includegraphics[width=\linewidth]{example-image-duck}%{figs/Cfig.PNG}
        \caption{}
        \label{fig:CFig}
    \end{subfigure}
    \caption{Three figures: (a) AFig, (b) BFig, (c) CFig}
\end{figure*}

\EOD{}
\end{document}    
1
  • thank you for the MWE. I have modified the post to see if I make myself clearer and I excuse myself for the mess. – Guilherme Theis Feb 19 '20 at 8:15

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.