IEEE 회의 라텍스 형식의 두 열과 텍스트가 병합된 테이블

IEEE 회의 라텍스 형식의 두 열과 텍스트가 병합된 테이블

여기에 이미지 설명을 입력하세요여기에 이미지 설명을 입력하세요

1: ht강조된 텍스트tp://i.stack.imgur.com/MP5IU.png

친애하는 선생님이나 부인,

ieee latex 템플릿에서 생성한 테이블은 하나의 열로 고정되어 전체 너비로 확장됩니다. 도와주세요. 감사합니다

\begin{table}
  \centering
  \renewcommand\arraystretch{1.5}
  \begin{tabularx}{\textwidth}{p{2cm}p{2cm}p{4.5cm}p{2cm}}
    \toprule
    \centering\textbf{Technique Used} &
    \centering\textbf{Premise Considered} &
    \centering\textbf{Attributes} &
    \centering\textbf{Approach} \cr
    \midrule
    Potential Fields \cite{howard2002mobile} &
    Location information and range &
    Balanced deployment with the help of repulsive mechanism, when in proximity to obstacles &
\cr
\cline{1-3}
%
DSS Algorithm \cite{heo2003intelligent} &
Location information &
A profitable scheme to conserve energy during deployment of a WSN divided into clusters &
\multirow{-2}{2cm}{Virtual forces} \cr
\hline

Co-Fi \cite{ganeriwal2004self} &
Location information &
Ditributed scheme to conserve energy and provide regulated coverage fidelity &
\cr
\cline{1-3}
VEC, VOR, Minmax \cite{wang2006movement} &
Location information &
Identify coverage holes and enabling sensors to move away from dense area &
\multirow{-2}{2cm}{Computational geometry} \cr
\bottomrule
\end{tabularx}
\caption{Location information and varying topology problem.}
\label{tab:1}
\end{table}

답변1

당신은 사용할 수 있습니다크기 조정 상자테이블의 너비를 지정하는 환경입니다. 이 예에서는 너비를 12cm로 설정했습니다.

\resizebox{12cm}{!} {
  \begin{tabular}
   %the content of your table
  \end{tabular}
 }

답변2

\columnwidth대신에 \textwidth사용해야 합니다

\begin{tabularx}{\columnwidth}{@{}p{0.15\columnwidth}p{0.2\columnwidth}
                                  p{0.3\columnwidth}p{0.15\columnwidth}}

전체 코드:

\documentclass{ieeetran}
\usepackage{tabularx,multirow,booktabs,lipsum}
\begin{document}
  \begin{table}
  \centering
  \renewcommand\arraystretch{1.5}
  \begin{tabularx}{\columnwidth}{@{}p{0.15\columnwidth}p{0.2\columnwidth}p{0.3\columnwidth}p{0.15\columnwidth}}
    \toprule
    \centering\textbf{Technique Used} &
    \centering\textbf{Premise Considered} &
    \centering\textbf{Attributes} &
    \centering\textbf{Approach} \cr
    \midrule
    Potential Fields \cite{howard2002mobile} &
    Location information and range &
    Balanced deployment with the help of repulsive mechanism, when in proximity to obstacles &
\cr
\cline{1-3}
%
DSS Algorithm \cite{heo2003intelligent} &
Location information &
A profitable scheme to conserve energy during deployment of a WSN divided into clusters &
\multirow{-2}{0.15\columnwidth}{Virtual forces} \cr
\hline

Co-Fi \cite{ganeriwal2004self} &
Location information &
Ditributed scheme to conserve energy and provide regulated coverage fidelity &
\cr
\cline{1-3}
VEC, VOR, Minmax \cite{wang2006movement} &
Location information &
Identify coverage holes and enabling sensors to move away from dense area &
\multirow{-2}{0.15\columnwidth}{Computational geometry} \cr
\bottomrule
\end{tabularx}
\caption{Location information and varying topology problem.}
\label{tab:1}
\end{table}
\lipsum
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보