Latex 中 Table中不显示 footnote, 表格强制分行, 解决方法
2013-03-13 11:16
2446 查看
Sometimes it is a real pain to use the latex.
For example, the footnote in table cannot be displayed normally.
Need to add following lines in the header.
\usepackage{footnote}
\makesavenoteenv{table}
Then
\begin{table}
\centering
\caption{Disagreement XXXX}
\begin{tabular}{|l|r|r|r|r|}
\hline
sth & sth \footnote{XXX} & sth
\end{tabular}
\end{table}
强制分行
Need to add following lines in header
\usepackage{multirow}
\newcommand{\minitab}[2][l]{\begin{tabular}{#1}#2\end{tabular}} % 表格中换行
Then
\begin{table}
\centering
\caption{Disagreement XXXX}
\begin{tabular}{|l|r|r|r|r|}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
col1 & col2 & {\minitab[c]{ col3_part 1 \\ col3_part2 } & col4 \\ \hline
line 2 & 2\% & 0.6\% & 27\% & 3\% \\ \hline
\end{tabular}
\end{table}
For example, the footnote in table cannot be displayed normally.
Need to add following lines in the header.
\usepackage{footnote}
\makesavenoteenv{table}
Then
\begin{table}
\centering
\caption{Disagreement XXXX}
\begin{tabular}{|l|r|r|r|r|}
\hline
sth & sth \footnote{XXX} & sth
\end{tabular}
\end{table}
强制分行
Need to add following lines in header
\usepackage{multirow}
\newcommand{\minitab}[2][l]{\begin{tabular}{#1}#2\end{tabular}} % 表格中换行
Then
\begin{table}
\centering
\caption{Disagreement XXXX}
\begin{tabular}{|l|r|r|r|r|}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
col1 & col2 & {\minitab[c]{ col3_part 1 \\ col3_part2 } & col4 \\ \hline
line 2 & 2\% & 0.6\% & 27\% & 3\% \\ \hline
\end{tabular}
\end{table}
相关文章推荐
- table表格js简单操作隐藏与显示出现结构错乱解决方法
- table表格 列表 显示边框 解决之间的空白方法
- 【HTML】【CSS】表格设置了table-layout:fixed后第一行合并单元格其下单元格宽度设置不起作用的解决方法
- table设置背景图片,不能100%显示解决方法
- 解决html表格中内容超出不强制换行和超出宽度自动隐藏并显示省略号
- 解决ElementUI的Table组件固定列,在屏幕刚好够表格显示时,会出现固定列显示不全的问题
- 解决 通过继承QAbstractTableModel并实现headerData方法给QTableView添加标题时,标题不显示 的问题
- 【HTML】【CSS】表格设置了table-layout:fixed后第一行合并单元格其下单元格宽度设置不起作用的解决方法
- 解决html表格中内容超出不强制换行和超出宽度自动隐藏并显示省略号
- table设置colspan属性,列宽显示错位解决方法
- 表格中tr的display:block在火狐中显示错乱的解决方法
- LayUi中接口传数据成功,表格不显示数据的解决方法
- 解决用C#写的窗体应用程序向数据库SQL Server表格中写入中文乱码显示???的方法
- IE9 table显示问题,td出现错位的解决方法
- [HTML]表格Table宽度设置无效的解决方法
- 解决dom创建table的显示不了的方法
- bootstrap-table 表格中增加下拉菜单末行出现滚动条解决方法
- Word表格“允许跨页断行”显示为灰色不可用的解决方法
- 解决html表格中内容超出不强制换行和超出宽度自动隐藏并显示省略号
- 在把table表格中的数据导出到Excel的时候,以科学计数法显示位数多的数字时怎么解决?(已解决)