24小时热门版块排行榜    

查看: 1601  |  回复: 9

duyang2012

铜虫 (小有名气)

[求助] latex表格制作求助 已有1人参与

大神们,这个表格怎么破呀,求解!!!谢谢

latex表格制作求助
表格.png
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

book2005593

主管区长 (文坛精英)

优秀区长优秀区长优秀区长优秀版主优秀版主优秀版主

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ...
感谢参与,应助指数 +1
duyang2012: 金币+66, ★★★★★最佳答案, 大神威武!!! 2015-01-25 16:58:25
用表格环境嵌套即可。Latex代码:

\begin{center}
\begin{table}[htbp]\label{tab:test}
\caption{Table}
\begin{tabular}{cc}
\toprule
\begin{tabular}{c}
{\bf PN code}\\
{\bf parameter}
\end{tabular}
&
\hspace{-2 cm}
\begin{tabular}{cc}
\begin{tabular}{c}
Type \\
N \\
Period  Generator Polynomial \\
Initial states \\
\end{tabular}
& \;\;\;\;\;\;
\begin{tabular}{c}
m sequence\\
1023 chips\\
$[$10 8 3 1 0$]$ \\
$-1$\\
\end{tabular}
\end{tabular}
\\
\midrule
\begin{tabular}{c}
{\bf Decision}\\
{\bf parameter}
\end{tabular}
&
\begin{tabular}{cc}
$K$ & $3$ \\
Threshold decision method & CFAR algorithm \\
\midrule
& Perfect estimation ($=0$ dB)\\
$\sigma^2_n$ mismatch & Overestimation ($>0$ dB) \\
& Underestimation ($<0$ dB)\\
\midrule
The proposed algorithm & $L=2$\\
decision 1 &  \\
The proposed algorithm & $L=3$\\
decision 2 & \\
\end{tabular}
\\
\bottomrule
\end{tabular}
\end{table}
\end{center}

编译效果,如图:
latex表格制作求助-1
Latex编译效果

» 本帖已获得的红花(最新10朵)

2楼2015-01-24 12:09:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

duyang2012

铜虫 (小有名气)

引用回帖:
2楼: Originally posted by book2005593 at 2015-01-24 12:09:42
用表格环境嵌套即可。Latex代码:

\begin{center}
\begin{table}\label{tab:test}
\caption{Table}
\begin{tabular}{cc}
\toprule
\begin{tabular}{c}
{\bf PN code}\\
{\bf parameter}
\end{tabular}
...

谢谢大神的帮助!!!
3楼2015-01-25 16:58:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

duyang2012

铜虫 (小有名气)

送红花一朵
引用回帖:
2楼: Originally posted by book2005593 at 2015-01-24 12:09:42
用表格环境嵌套即可。Latex代码:

\begin{center}
\begin{table}\label{tab:test}
\caption{Table}
\begin{tabular}{cc}
\toprule
\begin{tabular}{c}
{\bf PN code}\\
{\bf parameter}
\end{tabular}
...

大神,还有一个问题,就是其中一个位置可以这样变动,见附图,如何解决?求大神指导,谢谢!!!
latex表格制作求助-2
表1.png

4楼2015-01-25 17:00:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

book2005593

主管区长 (文坛精英)

优秀区长优秀区长优秀区长优秀版主优秀版主优秀版主

引用回帖:
4楼: Originally posted by duyang2012 at 2015-01-25 17:00:53
大神,还有一个问题,就是其中一个位置可以这样变动,见附图,如何解决?求大神指导,谢谢!!!

表1.png
...

这个需要用换行命令,把左边两行看成一个整体跟右边的L=2并列即可。
需要在latex序言区加入如下命令,定义新命令\tabincell:
\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
然后将表格命令换为如下:
\begin{center}
\begin{table}[htbp]\label{tab:test}
\caption{Table}
\begin{tabular}{cc}
\toprule
\begin{tabular}{c}
{\bf PN code}\\
{\bf parameter}
\end{tabular}
&
\hspace{-2 cm}
\begin{tabular}{cc}
\begin{tabular}{c}
Type \\
N \\
Period  Generator Polynomial \\
Initial states \\
\end{tabular}
& \;\;\;\;\;\;
\begin{tabular}{c}
m sequence\\
1023 chips\\
$[$10 8 3 1 0$]$ \\
$-1$\\
\end{tabular}
\end{tabular}
\\
\midrule
\begin{tabular}{c}
{\bf Decision}\\
{\bf parameter}
\end{tabular}
&
\begin{tabular}{cc}
$K$ & $3$ \\
Threshold decision method & CFAR algorithm \\
\midrule
& Perfect estimation ($=0$ dB)\\
$\sigma^2_n$ mismatch & Overestimation ($>0$ dB) \\
& Underestimation ($<0$ dB)\\
\midrule
\tabincell{c}{The proposed algorithm \\ decision 1 } & $L=2$\\
\tabincell{c}{The proposed algorithm \\decision 2} & $L=3$\\
\end{tabular}
\\
\bottomrule
\end{tabular}
\end{table}
\end{center}

编译效果如下:
latex表格制作求助-3
编译效果

» 本帖已获得的红花(最新10朵)

5楼2015-01-26 14:46:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

duyang2012

铜虫 (小有名气)

送红花一朵
引用回帖:
5楼: Originally posted by book2005593 at 2015-01-26 14:46:37
这个需要用换行命令,把左边两行看成一个整体跟右边的L=2并列即可。
需要在latex序言区加入如下命令,定义新命令\tabincell:
\newcommand{\tabincell}{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
然后将表格命 ...

大谢!
6楼2015-01-27 23:04:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

duyang2012

铜虫 (小有名气)

引用回帖:
5楼: Originally posted by book2005593 at 2015-01-26 14:46:37
这个需要用换行命令,把左边两行看成一个整体跟右边的L=2并列即可。
需要在latex序言区加入如下命令,定义新命令\tabincell:
\newcommand{\tabincell}{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
然后将表格命 ...

大神,请问上表的表名格式怎能像下表格一样:去掉冒号(:);而且”TBBLE II”居中;第二行是表名;字的大小和表二一样(我的太大了)。谢谢!!!
我表格的代码如下:
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{CJK}
\usepackage{booktabs}
\usepackage{array}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{caption2}
\usepackage{makecell}
\usepackage{threeparttable}
\begin{table}[!htbp]
\begin{center}
\label{tab:test}
\caption{THE GAIN OF ACQUISITION PERFORMANCE}
\begin{tabular}{ccc}
\toprule
  &${{\gamma }_{0}}(dB)$& ${{P}_{fa}}$\\
\midrule
Conventional & 9 & $1e-6$ \\
MCPP with $L=2$ & 1 & $<6.2e-7$ \\
MCPP with $L=3$ & 9& $<4.7e-14$ \\
\bottomrule
\end{tabular}
\end{center}
\begin{tablenotes}
        \footnotesize
        \item[1] Note: ${{\gamma }_{0}}$is the minimum SNR per chip corresponding to ${{P}_{d}}=99\%$ here. The false alarm probability for various algorithms are corresponding to the ${{\gamma }_{0}}$ above.
\end{tablenotes}
\end{table}

董立君 2015/1/29 19:09:26
\begin{table}[!htbp]
\begin{center}
\caption{THE PARAMETERS FOR THE NUMERICAL AND SIMULATION ANALYSIS}
\end{center}
\begin{center}
\label{tab:test}
\begin{tabular}{cc}
\toprule
& ~~~~~~~~~~~~~~~~~Perfect estimation($=$ 0dB)\\
$\Delta \gamma$  &~~~~~~~~~~~~~~~~~Overestimation($>$ 0dB)\\
& ~~~~~~~~~~~~~~~~~Underestimation($<$ 0dB)\\
\midrule
$K$ &~~~~~~~~~~~~~~~~~$3$ \\
${{V}_{T}}$  & ~~~~~~~~~~~~~~~~~CFAR\\
$L$&~~~~~~~~~~~~~~~~~2 or 3\\
\bottomrule
\end{tabular}
\end{center}
\begin{tablenotes}
        \footnotesize
        \item[1] ~~~~~~~~~~~Note:$\Delta \gamma$ denotes an offset for   estimate..
\end{tablenotes}
\end{table}
latex表格制作求助-4
表格格式.png

7楼2015-01-29 19:29:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

duyang2012

铜虫 (小有名气)

引用回帖:
5楼: Originally posted by book2005593 at 2015-01-26 14:46:37
这个需要用换行命令,把左边两行看成一个整体跟右边的L=2并列即可。
需要在latex序言区加入如下命令,定义新命令\tabincell:
\newcommand{\tabincell}{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
然后将表格命 ...

大神,请问上表的表名格式怎能像下表格一样(附图后面):去掉冒号(:);而且”TBBLE II”居中;第二行是表名;字的大小和表二一样(我的太大了)。谢谢!!!
我表格的代码如下:
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{CJK}
\usepackage{booktabs}
\usepackage{array}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{caption2}
\usepackage{makecell}
\usepackage{threeparttable}
\begin{table}[!htbp]
\begin{center}
\label{tab:test}
\caption{THE GAIN OF ACQUISITION PERFORMANCE}
\begin{tabular}{ccc}
\toprule
  &${{\gamma }_{0}}(dB)$& ${{P}_{fa}}$\\
\midrule
Conventional & 9 & $1e-6$ \\
MCPP with $L=2$ & 1 & $<6.2e-7$ \\
MCPP with $L=3$ & 9& $<4.7e-14$ \\
\bottomrule
\end{tabular}
\end{center}
\begin{tablenotes}
        \footnotesize
        \item[1] Note: ${{\gamma }_{0}}$is the minimum SNR per chip corresponding to ${{P}_{d}}=99\%$ here. The false alarm probability for various algorithms are corresponding to the ${{\gamma }_{0}}$ above.
\end{tablenotes}
\end{table}

董立君 2015/1/29 19:09:26
\begin{table}[!htbp]
\begin{center}
\caption{THE PARAMETERS FOR THE NUMERICAL AND SIMULATION ANALYSIS}
\end{center}
\begin{center}
\label{tab:test}
\begin{tabular}{cc}
\toprule
& ~~~~~~~~~~~~~~~~~Perfect estimation($=$ 0dB)\\
$\Delta \gamma$  &~~~~~~~~~~~~~~~~~Overestimation($>$ 0dB)\\
& ~~~~~~~~~~~~~~~~~Underestimation($<$ 0dB)\\
\midrule
$K$ &~~~~~~~~~~~~~~~~~$3$ \\
${{V}_{T}}$  & ~~~~~~~~~~~~~~~~~CFAR\\
$L$&~~~~~~~~~~~~~~~~~2 or 3\\
\bottomrule
\end{tabular}
\end{center}
\begin{tablenotes}
        \footnotesize
        \item[1] ~~~~~~~~~~~Note:$\Delta \gamma$ denotes an offset for   estimate..
\end{tablenotes}
\end{table}
latex表格制作求助-5
表格格式.png

8楼2015-01-29 19:31:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

book2005593

主管区长 (文坛精英)

优秀区长优秀区长优秀区长优秀版主优秀版主优秀版主

引用回帖:
8楼: Originally posted by duyang2012 at 2015-01-29 19:31:49
大神,请问上表的表名格式怎能像下表格一样(附图后面):去掉冒号(:);而且”TBBLE II”居中;第二行是表名;字的大小和表二一样(我的太大了)。谢谢!!!
我表格的代码如下:
\usepackage{amsmath}
\usepac ...

去掉冒号,表格标题大写和编号用罗马数字,在序言区加上如下命令:
\usepackage{caption}
\DeclareCaptionLabelFormat{table}{TABLE~#2}
\captionsetup[table]{labelformat=table}
\makeatletter % "@" is now a normal letter for TeX
\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{#1: #2}%
\centering{#1 #2}\par
  \vskip\belowcaptionskip}
\makeatother

表格编号后换行写表名,在\caption里加个换行即可,命令如下:
\caption{\protect \\Here is the table name}
9楼2015-02-01 11:03:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

duyang2012

铜虫 (小有名气)

引用回帖:
9楼: Originally posted by book2005593 at 2015-02-01 11:03:38
去掉冒号,表格标题大写和编号用罗马数字,在序言区加上如下命令:
\usepackage{caption}
\DeclareCaptionLabelFormat{table}{TABLE~#2}
\captionsetup{labelformat=table}
\makeatletter % "@" is  ...

谢谢大神!!!
10楼2015-02-02 10:47:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 duyang2012 的主题更新
信息提示
请填处理意见