Como colocar quase 10 imagens em uma única linha com múltiplas colunas?

Como colocar quase 10 imagens em uma única linha com múltiplas colunas?

Eu sou muito novo neste ambiente Latex.

Carreguei imagens lado a lado até 3 por 0.3\textwidth.

Mas quero colocar quase 10 imagens seguidas com várias colunas com legenda individual.

Por exemplo assim

insira a descrição da imagem aqui

Responder1

Parece que você não precisa rotular as sublegendas, então uma estratégia simples funcionará; caso seja necessário numerar as sublegendas, o uso de um comando específico permitirá modificar facilmente seu comportamento.

\documentclass{article}
\usepackage{graphicx}

\newcommand{\column}[2]{%
  % #1 = column of images
  % #2 = caption
  \begin{tabular}[b]{@{}c@{}}#1\\#2\end{tabular}%
}

\begin{document}

\begin{figure}[htp]
\centering

\begin{tabular}{
  @{}
  *{6}{c@{\hspace{4pt}}} % adjust to your needs (one less than the total)s
  c
  @{}
}
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{GS04}
&
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{NC05}
&
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{TP09}
&
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{QS09}
&
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{GCa10}
&
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{GCb10}
&
\column{
  \includegraphics[width=1.5cm]{example-image-a}\\
  \includegraphics[width=1.5cm]{example-image-b}\\
  \includegraphics[width=1.5cm]{example-image-c}
}{SLIC}
\end{tabular}

\caption{Some images}

\end{figure}

insira a descrição da imagem aqui

Responder2

Usando a matriz tikz, mostrei aqui 6 imagens seguidas, mas você pode estendê-la para dez imagens.

    \documentclass{article}
    \usepackage{tikz}
    \usetikzlibrary{matrix,positioning}
   \begin{document}
   \begin{center}
     \begin{tikzpicture}
        \matrix (M)[matrix of math nodes,left delimiter={(},right delimiter={)}]
            {
              \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
              \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
             \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
             \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
              \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
            \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
             };

     \end{tikzpicture}
     \end{center}
     \end{document}

insira a descrição da imagem aqui

Sem delimitador, use este comando left delimiter={.},right delimiter={.}estendendo-se para 10 imagens seguidas

    \documentclass{article}        
    \usepackage{tikz}
    \usetikzlibrary{matrix,positioning}
   \begin{document}
   \begin{center}
     \begin{tikzpicture}
        \matrix (M)[matrix of math nodes,left delimiter={.},right delimiter={.}]
            {
              \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}};&\node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
              \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}};&\node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
             \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}};&\node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
             \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}};&\node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
              \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}};&\node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
            \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}};&\node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; & \node[]{\includegraphics[scale=0.1]{logo.jpg}}; \\
             };

     \end{tikzpicture}
     \end{center}
     \end{document}

insira a descrição da imagem aqui

Responder3

É fácil com floatrowe seus (sub)floatrowambientes:

\documentclass[11pt]{article}
\usepackage{geometry}
\usepackage{caption, subcaption}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{floatrow}

\DeclareFloatVCode{rowvsep}{\leavevmode} \renewcommand\captionskip{6pt}
\begin{document}

\lipsum[1]

\begin{figure}[!htb]
  \setlength\columnsep{0pt}
  \captionsetup{belowskip = 20pt}
  \floatsetup[table]{rowpostcode =rowvsep, midcode = captionskip}
  \ffigbox
  {\begin{subfloatrow}[10]
      \centering
      \ffigbox[0.1\textwidth]{\caption{SN1}\label{sn1}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN2}\label{sn2}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN3}\label{sn3}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN4}\label{sn4}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN5}\label{sn5}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN6}\label{sn6}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN7}\label{sn7}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN8}\label{sn8}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN9}\label{sn9}}{\includegraphics[scale=0.18]{snark}}
      \ffigbox[0.1\textwidth]{\caption{SN10}\label{sn10}}{\includegraphics[scale=0.18]{snark}}
    \end{subfloatrow}
    \bigskip

    \begin{subfloatrow}[8]
      \centering
      \ffigbox[0.125\textwidth]{\caption{SN1}\label{h-b1}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN2}\label{h-b2}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN3}\label{h-b3}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN4}\label{h-b4}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN5}\label{h-b5}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN6}\label{h-b6}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN7}\label{h-b7}}{\includegraphics[scale=0.18]{hare-blazon}}
      \ffigbox[0.125\textwidth]{\caption{SN8}\label{h-b8}}{\includegraphics[scale=0.18]{hare-blazon}}
    \end{subfloatrow}}{\caption{The Hunting of the Snark, and a Blazon}\label{hunt}}
\end{figure}

\end{document} 

insira a descrição da imagem aqui

informação relacionada