表格单元格中的脚注存在两个问题。
1- 虽然上标数字位于单词上方,但详细信息并未显示在页面底部。
2- 我不想使用编号样式。我想*
为某些单词添加一个符号,并且所有单词都有一个描述,我想将其写在页面底部。
我该如何修复以下代码?
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\title{my title}
\maketitle
\section{Section 1}
Table~\ref{my-label} shows
\begin{table}
\centering
\caption{the caption}
\label{my-label}
\begin{tabular}{>{\centering}p{1.5cm}|>{\centering}p{1.5cm} }
Year & Architecture
\tabularnewline
\hline
first column & second column
\tabularnewline
A & WORD\footnote{explanation}
\tabularnewline
B & WORD\footnote{explanation}
\end{tabular}
\end{table}
\end{document}
答案1
不确定是否完全理解了你想要什么,但这个tablefootnote
包可以提供帮助。这段代码是否能满足你的要求?
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{array}
\usepackage[symbol]{footmisc}
\usepackage{tablefootnote}
\title{my title}
\author{}
\begin{document}
\maketitle
\leavevmode
\vfill
%\vspace*{30\baselineskip}
\section{Section 1}
Table~\ref{my-label}
shows
\begin{table}[!htb]
\centering\setlength{\extrarowheight}{2pt}
\caption{the caption}
\label{my-label}
\begin{tabular}{>{\centering\arraybackslash}p{1.5cm}|>{\centering\arraybackslash}p{1.5cm}}%{>{\centering\arraybackslash}p{1.5cm}|>{\centering\arraybackslash}p{1.5cm}}
Year & Architecture
\tabularnewline
\hline
first column & second column
\tabularnewline
A & WORD\tablefootnote{explanation}
\tabularnewline
B & WORD\footnotemark[\value{footnote}]
\end{tabular}
\end{table}
\end{document}