
На самом деле, я хотел бы записать содержимое двух последних столбцов в середине двух строк первого столбца. Вот код:
\documentclass[review]{elsarticle}
\usepackage{lineno}
\modulolinenumbers[5]
\usepackage{cclicenses}
\usepackage{makecell}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} % centered 'p' col.
\usepackage{caption}
\usepackage{framed} % Framing content
\usepackage{nomencl} % Nomenclature package
\usepackage[font=small,skip=0pt]{caption}
\setlength{\nomitemsep}{-\parskip}\usepackage{booktabs,multirow}
\begin{document}
\begin{center}
\begin{tabular}{ c c c c }
\toprule
\makecell{Case of each letter} & first signification & second
singnification \\
\midrule
S with T\\ T with U& L & A & \\
Q with X\\ X with W & V & B & \\
Z with W\\ W with Y& M & C & \\
\bottomrule
\end{tabular}
\vspace{0.5\baselineskip}\vspace{-\parskip}
\captionof{table}{example}
\label{tab:SC}
\end{center}
\end{document}
например: L и A должны быть в середине S с T и T с U, а также я хочу, чтобы между строками 1 и 2 и между строками 2 и 3 был пробел.
решение1
Так?
\documentclass[review]{elsarticle}
\usepackage{lineno}
\modulolinenumbers[5]
%\usepackage{cclicenses}
\usepackage{makecell}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} % centered 'p' col.
\usepackage{caption}
\usepackage{framed} % Framing content
\usepackage{nomencl} % Nomenclature package
\usepackage[font=small,skip=0pt]{caption}
\setlength{\nomitemsep}{-\parskip}\usepackage{booktabs,multirow, caption}
\begin{document}
\begin{center}
\renewcommand{\cellset}{\renewcommand{\arraystretch}{0.8}}
\begin{tabular}{ c c c c }
\toprule
\makecell{Case of \\ each letter} & \makecell{first\\ signification }& \makecell{second\\
singnification} \\
\midrule
\makecell{S with T\\ T with U}& L & A & \\
\addlinespace
\makecell{Q with X\\ X with W }& V & B & \\
\addlinespace
\makecell{Z with W\\ W with Y}& M & C & \\
\bottomrule
\end{tabular}
\vspace{\dimexpr0.5\baselineskip-\parskip}
\captionof{table}{example}
\label{tab:SC}
\end{center}
\end{document}