24小时热门版块排行榜    

查看: 1683  |  回复: 9
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

duyang2012

铜虫 (小有名气)

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

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

latex表格制作求助
表格.png
回复此楼
已阅   回复此楼   关注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表格制作求助-1
编译效果

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

5楼2015-01-26 14:46:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 10 个回答

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表格制作求助-2
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表格制作求助-3
表1.png

4楼2015-01-25 17:00:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0857调剂 +4 一ll半 2026-02-28 5/250 2026-03-02 02:33 by 908055542
[考研] 求调剂 +5 yunziaaaaa 2026-03-01 6/300 2026-03-01 23:57 by ccp273206157
[考研] 0856材料与化工,270求调剂 +6 YXCT 2026-03-01 6/300 2026-03-01 23:21 by 向上的胖东
[考研] 0854复试调剂 276 +3 wmm9 2026-03-01 3/150 2026-03-01 23:13 by 热情沙漠
[考研] 0856调剂 +5 刘梦微 2026-02-28 5/250 2026-03-01 22:30 by wang_dand
[考研] 275求调剂 +3 明远求学 2026-03-01 3/150 2026-03-01 22:29 by 刘兵
[考研] 272求调剂 +6 田智友 2026-02-28 6/300 2026-03-01 21:40 by 公瑾逍遥
[考研] 306分材料调剂 +4 chuanzhu川烛 2026-03-01 5/250 2026-03-01 19:48 by 无际的草原
[考研] 一志愿中南大学理学化学 +4 15779376950 2026-03-01 5/250 2026-03-01 19:00 by Fff-1
[考研] 0856材料求调剂 +11 hyf hyf hyf 2026-02-28 12/600 2026-03-01 18:57 by 18137688336
[考研] 291分工科求调剂 +9 science饿饿 2026-03-01 10/500 2026-03-01 18:55 by 18137688336
[考研] 328求调剂 +3 aaadim 2026-03-01 5/250 2026-03-01 17:29 by njzyff
[考研] 0856材料求调剂 +4 麻辣鱿鱼 2026-02-28 4/200 2026-03-01 16:51 by caszguilin
[考研] 化工专硕342,一志愿大连理工大学,求调剂 +3 kyf化工 2026-02-28 4/200 2026-03-01 16:49 by yywzz
[考研] 304求调剂 +6 曼殊2266 2026-02-28 7/350 2026-03-01 15:14 by wjLi2017
[考博] 博士自荐 +4 kkluvs 2026-02-28 4/200 2026-03-01 10:19 by 馥安馥安
[硕博家园] 2025届双非化工硕士毕业,申博 +3 更多的是 2026-02-27 4/200 2026-03-01 10:04 by ztg729
[考研] 307求调剂 +4 73372112 2026-02-28 6/300 2026-03-01 00:04 by ll247
[考研] 304求调剂 +3 52hz~~ 2026-02-28 5/250 2026-03-01 00:00 by 52hz~~
[考研] 085600材料工程一志愿中科大总分312求调剂 +8 吃宵夜1 2026-02-28 10/500 2026-02-28 20:27 by L135790
信息提示
请填处理意见