使用正常列表编码继续列表环境

使用正常列表编码继续列表环境

我在环境中使用正常list编码。tablenotes

梅威瑟:

\documentclass{article}

\makeatletter
\def\TNmakelabel#1{%
  \gdef\@tempa{#1}%
  \ifx\@tempa\@empty%
  \else%
    \textsuperscript{#1}%
  \fi%
}%
\newenvironment{tablenotes}{%
  \vspace*{3pt}
  \list{}{%
    \topsep\z@%
    \partopsep\z@
    \itemsep\z@%
    \parsep\z@%
    \itemindent\z@%
    \setlength\leftmargin{\z@}%
    \setlength\labelwidth{\z@}%
    \setlength\labelsep{\z@}%
    \rightskip\z@%
    \leftskip\z@%
%    \let\textbf\tablefootboldfont%
%   \let\textit\tablefootfont%
    \let\makelabel\TNmakelabel%
%    \tablefont
\noindent\ignorespaces\unskip%
  }%
}{\endlist}%
\makeatother


\begin{document}

\begin{tablenotes}
\item[a] Occupancy factor: 0.33333; 
\item[b] Occupancy factor: 0.66667; 
\item[c] Occupancy factor: 0.22227. 
\end{tablenotes}

\end{document}

我当前的输出是:

a Occupancy factor: 0.33333;
b Occupancy factor: 0.66667;
c Occupancy factor: 0.22227.

但我要求的输出是:

a Occupancy factor: 0.33333; b Occupancy factor: 0.66667; c Occupancy factor: 0.22227.

如何获得所需的输出。请指教

相关内容