24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1724  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 08工科求调剂290分 +9 1314捧花 2026-04-02 12/600 2026-04-09 03:43 by 孙小小12457
[考研] 308求调剂 +16 倘若起风了呢 2026-04-05 16/800 2026-04-08 23:03 by 猪会飞
[考研] 266求调剂 +5 08电气工程 2026-04-03 5/250 2026-04-08 20:22 by 逆水乘风
[考研] 327求调剂 +12 Xxjc1107. 2026-04-06 12/600 2026-04-08 16:46 by luoyongfeng
[考研] 275求调剂 +4 1624447980 2026-04-08 5/250 2026-04-08 15:29 by 哦哦123
[考研] 化工学硕 285求调剂 +26 Wisjxn 2026-04-07 26/1300 2026-04-08 14:42 by screening
[考研] 315求调剂 +17 欣喜777 2026-04-04 18/900 2026-04-08 13:54 by hangsimei
[考研] 284求调剂 +17 梵@@ 2026-04-06 17/850 2026-04-08 11:35 by 1shin_ichi
[考研] 277求调剂 +4 考研调剂lxh 2026-04-06 6/300 2026-04-08 10:40 by 逆水乘风
[考研] 机械工程264学硕求调剂 +3 qiushangxian 2026-04-06 3/150 2026-04-08 01:53 by Linzejun
[考研] 080100力学316求调剂 +3 L_Hairui 2026-04-07 3/150 2026-04-07 23:26 by JourneyLucky
[考研] 一志愿华中农业大学0710(A)初试329分 求调剂 +5 一名26考研生 2026-04-04 5/250 2026-04-07 08:54 by 18828373951
[考研] 081200-11408-367学硕求调剂 +4 1_2_3111 2026-04-06 4/200 2026-04-07 08:13 by jp9609
[考研] 求调剂 +4 电气小神童 2026-04-04 6/300 2026-04-07 00:14 by guanxin1001
[考研] 266分,一志愿电气工程,本科材料,求材料专业调剂 +9 哇呼哼呼哼 2026-04-02 10/500 2026-04-06 19:47 by jean5056
[考研] 一志愿北京交通大学材料工程总分358求调剂 +4 cs0106 2026-04-04 4/200 2026-04-05 18:46 by imissbao
[考研] 085600调剂 +9 东照照照 2026-04-04 9/450 2026-04-05 13:44 by ujn_zhuj
[考研] 工科08专硕机械275求调剂 +3 AaAa7420 2026-04-02 3/150 2026-04-05 13:26 by jp9609
[考研] 083200 333求调剂 +3 十二!! 2026-04-04 3/150 2026-04-05 08:28 by barlinike
[考研] 考研调剂 +11 小sun要好运 2026-04-04 11/550 2026-04-05 08:02 by qlm5820
信息提示
请填处理意见