24小时热门版块排行榜    

查看: 1684  |  回复: 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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0854复试调剂 276 +4 wmm9 2026-03-01 5/250 2026-03-02 06:41 by 汪!?!
[考研] 292求调剂 +6 yhk_819 2026-02-28 6/300 2026-03-01 23:23 by 向上的胖东
[考研] 274求调剂 +3 cgyzqwn 2026-03-01 6/300 2026-03-01 21:24 by cgyzqwn
[考研] 高分子化学与物理调剂 +6 好好好1233 2026-02-28 12/600 2026-03-01 19:48 by 好好好1233
[考研] 0856化工专硕求调剂 +12 董boxing 2026-03-01 12/600 2026-03-01 19:45 by 材子momo
[考研] 一志愿中南大学理学化学 +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
[考研] 295求调剂 +7 19171856320 2026-02-28 7/350 2026-03-01 18:54 by 18137688336
[考研] 化工专硕348,一志愿985求调剂 +5 弗格个 2026-02-28 8/400 2026-03-01 17:25 by sunny81
[考研] 化工专硕342,一志愿大连理工大学,求调剂 +3 kyf化工 2026-02-28 4/200 2026-03-01 16:49 by yywzz
[考研] 285求调剂 +8 满头大汗的学生 2026-02-28 8/400 2026-03-01 16:47 by caszguilin
[考研] 材料工程274求调剂 +3 Lilithan 2026-03-01 3/150 2026-03-01 14:58 by ms629
[考研] 295复试调剂 +3 简木ChuFront 2026-03-01 3/150 2026-03-01 14:27 by zzxw520th
[考研] 调剂 +3 简木ChuFront 2026-02-28 3/150 2026-03-01 11:46 by 王伟要上岸啊
[考研] 311求调剂 +9 南迦720 2026-02-28 10/500 2026-03-01 10:55 by sunny81
[考博] 博士自荐 +4 kkluvs 2026-02-28 4/200 2026-03-01 10:19 by 馥安馥安
[论文投稿] 求助coordination chemistry reviews 的写作模板 10+3 ljplijiapeng 2026-02-27 4/200 2026-03-01 09:07 by babero
[考研] 307求调剂 +4 73372112 2026-02-28 6/300 2026-03-01 00:04 by ll247
[高分子] 求环氧树脂研发1名 +3 孙xc 2026-02-25 11/550 2026-02-28 16:57 by ichall
[硕博家园] 【博士招生】太原理工大学2026化工博士 +4 N1ce_try 2026-02-24 8/400 2026-02-26 08:40 by N1ce_try
信息提示
请填处理意见