24小时热门版块排行榜    

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

duyang2012

铜虫 (小有名气)

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

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

latex表格制作求助
表格.png
回复此楼
已阅   回复此楼   关注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的回帖
查看全部 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表格制作求助-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}
...

大神,还有一个问题,就是其中一个位置可以这样变动,见附图,如何解决?求大神指导,谢谢!!!
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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 欢迎采矿、地质、岩土、计算机、人工智能等专业的同学报考 +4 pin8023 2026-02-28 6/300 2026-03-02 06:35 by 汪!?!
[考研] 284求调剂 +8 天下熯 2026-02-28 8/400 2026-03-02 00:15 by 暮雨星晴
[基金申请] 本子写完了,给DS兄弟看了,得了92分 +3 Doma 2026-03-01 7/350 2026-03-02 00:00 by jnzsy
[考研] 292求调剂 +6 yhk_819 2026-02-28 6/300 2026-03-01 23:23 by 向上的胖东
[考研] 江苏省农科院招调剂1名 +3 Qwertyuop 2026-03-01 3/150 2026-03-01 23:18 by aaadim
[考研] 0856求调剂285 +10 吕仔龙 2026-02-28 10/500 2026-03-01 21:37 by 公瑾逍遥
[考研] 306分材料调剂 +4 chuanzhu川烛 2026-03-01 5/250 2026-03-01 19:48 by 无际的草原
[考研] 化工299分求调剂 一志愿985落榜 +5 嘻嘻(*^ω^*) 2026-03-01 5/250 2026-03-01 19:47 by 无际的草原
[考研] 一志愿中南大学理学化学 +4 15779376950 2026-03-01 5/250 2026-03-01 19:00 by Fff-1
[考研] 291分工科求调剂 +9 science饿饿 2026-03-01 10/500 2026-03-01 18:55 by 18137688336
[考研] 290求调剂 +9 材料专硕调剂; 2026-02-28 11/550 2026-03-01 17:21 by sunny81
[考研] 321求调剂一志愿东北林业大学材料与化工英二数二 +4 虫虫虫虫虫7 2026-03-01 7/350 2026-03-01 16:52 by caszguilin
[考研] 0856材料求调剂 +4 麻辣鱿鱼 2026-02-28 4/200 2026-03-01 16:51 by caszguilin
[考研] 311求调剂 +6 亭亭亭01 2026-03-01 6/300 2026-03-01 15:41 by 324616
[考研] 307求调剂 +5 wyyyqx 2026-03-01 5/250 2026-03-01 15:21 by Fff-1
[考研] 304求调剂 +6 曼殊2266 2026-02-28 7/350 2026-03-01 15:14 by wjLi2017
[考研] 求调剂 +6 repeatt?t 2026-02-28 6/300 2026-03-01 14:37 by Sakura绘
[论文投稿] 求助coordination chemistry reviews 的写作模板 10+3 ljplijiapeng 2026-02-27 4/200 2026-03-01 09:07 by babero
[考研] 材料调剂 +4 爱擦汗的可乐冰 2026-02-28 4/200 2026-03-01 00:38 by 猫猫球alter
[考研] 307求调剂 +4 73372112 2026-02-28 6/300 2026-03-01 00:04 by ll247
信息提示
请填处理意见