テーブルに3つの複数列を追加する

テーブルに3つの複数列を追加する

このコードは以前に投稿しました。ポイントを明確にするために、表の写真の前後にマークしたように、同じ表に2つの複数列を上下逆に追加したいと思います。ネスト/上下逆の複数列の前

ネストされた/上下逆の複数列を追加した後(黒いボックスを描画する場所に複数列を追加する必要があります) 私が投稿した写真1のコードはこちらです

\documentclass[ジャーナル]{IEEEtran}

\usepackage{マルチカラム}

\usepackage{複数行}

\begin{表*}

\settowidth\rotheadsize{DIMENSIONS}

\renewcommand\multirowsetup{\centering}

\renewcommand{\arraystretch}{1.5}

    \centering

\caption{Extreme Learning Machine(ELM) with kernel classifier accuracy of 

combine reduced feature vectors whose individual classifier accuracy was low}

    \begin{tabular}{|l|l| c |C{2.5cm}| c |C{2.5cm}|C{2cm}|C{2.5cm}|}

    \hline 

Algorithm

    & Dimension

        &  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}

            & Total after Adding Dimensions

                & Classifier

                    & Dimension Reduction Technique

                        & Reduced Dimension

                            & Accuracy  \\ 

    \cline{1-2} \cline{4-8}

LBP & 4D    &

                & \multirow{5}{=}{4D + 6D + 4D\\ + 3D + 4D = 21D}

                    & ELM

                        & \multirow{5}{=}{Eigenvalue as Dimension Estimator,

                                          PCA as Dimension Reduction}
                            & \multirow{5}{=}{21 dimensions reduced to 

dimensions}
                                & \multirow{5}{=}{Combine accuracy of 9 
dimensional
                                                  reduced Feature Vector is 
again 80\%}    \\

    \cline{1-2} \cline{5-5}

RGLBP         & 6D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

BDIP   & 4D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

HOG      & 3D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

Combine and reduced     & 4D    &   &   & ELM   &   &   &    \\ 

 fv of poor individual  &       &   &   &       &   &   &  \\ 

  accuracy algorithms   &       &   &   &       &   &   & \\  

    \hline

\end{tabular}

\label{table:table6}

\end{table*}

答え1

コンパイル可能なmweを提供していないので、私の答え以前の同様の質問では、「複数段落」の複数行セルを作成する方法の原則を示しました。その中で、「段落」はコマンドを使用して(のみ)分離できます。それらの間の小さな垂直スペースには、`\newline の前に\newline広告が適切な対策であるようです 。\smallskip

\multirow{5}{=}{Correlation as Dimension Estimator,
                PCA as Dimension Reduction\smallskip\newline                                        
                Add Multicol here\smallskip\newline  
                Add Multicol here
                }

これはテーブルで使用/追加するのが簡単なはずです。私の場合、完全な mwe は次のとおりです。

\documentclass[journal]{IEEEtran}
%\usepackage{array} % loaded twice
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{rotating}% added, for rothead
\usepackage{array, makecell, multirow, tabu}{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}% in this table is better use this definition

\begin{document}
    \begin{table*}
\settowidth\rotheadsize{DIMENSIONS}
\renewcommand\multirowsetup{\centering}
\renewcommand{\arraystretch}{1.5}
    \centering
\caption{Extreme Learning Machine(ELM) with kernel classifier having reduced dimension of feature vectors individual accuracy}
    \begin{tabular}{|l|l|c|C{2.5cm}|c|C{2.5cm}|C{2cm}|C{2.5cm}|}
    \hline
Algorithm
    & Dimension
        &  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}
            & Total after Adding Dimensions
                & Classifier
                    & Dimension Reduction Technique
                        & Reduced Dimension
                            & Accuracy  \\
    \cline{1-2} \cline{4-8}
CDF & 4D    &
                & \multirow{5}{=}{4D + 4D + 4D\\ + 7D + 7D = 26D}
                    & ELM
                        & \multirow{5}{=}{Correlation as Dimension Estimator,
                                          PCA as Dimension Reduction\smallskip\newline
                                          Add Multicol here\smallskip\newline
                                          Add Multicol here
                                          }
                            & \multirow{5}{=}{26 dimensions reduced to 4 dimensions}
                                & \multirow{5}{=}{Combine accuracy of 4 dimensional
                                                  reduced Feature Vector is 68\%\smallskip\newline
                                                  Add Multicol here\smallskip\newline
                                                  Add Multicol here
                                                  }    \\
    \cline{1-2} \cline{5-5}
GO          & 4D    &   &   & ELM   &   &   &   \\
    \cline{1-2} \cline{5-5}
Bilateral   & 4D    &   &   & ELM   &   &   &   \\
    \cline{1-2} \cline{5-5}
SLDFFO      & 7D    &   &   & ELM   &   &   &   \\
    \cline{1-2} \cline{5-5}
SSGSM       & 7D    &   &   & ELM   &   &   &   \\
    \hline
\end{tabular}
\end{table*}
\end{document}

これにより、次のようになります。

ここに画像の説明を入力してください

関連情報