
я используюэтотМетод для получения подписи в KOMA-script, которая ведет себя как caption* пакета caption. Поскольку я использую эту команду для пояснительных замечаний таблиц и рисунков, мне не нужна запись в listoftables. Как мне избавиться от нее?
\documentclass[12pt,DIV=11,oneside,appendixprefix,numbers=noenddot]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\makeatletter
\newcommand\WLcaption[1]{%
\renewcommand*{\figureformat}{}
\renewcommand*{\tableformat}{}
\renewcommand*{\captionformat}{}
\addtocounter{\@captype}{-1}
\caption{#1}}
\makeatother
%\usepackage{caption}
\begin{document}
\listoftables
\begin{table}
\centering
\captionabove{Reform threshold as a function of the degree of risk aversion}
\begin{tabular}{| c c| c c | p{5cm} |}
\hline
\textbf{Risk aversion \(\gamma\)} & \textbf{Reform threshold \(\tau\)} \\ \hline
0 & 48.3 \\ \hline
1 & 55.2 \\ \hline
2 & 61.0 \\ \hline
3 & 65.9 \\ \hline
4 & 69.9 \\ \hline
\end{tabular}
\WLcaption{\textit{Note:} Some Note without number but unfortunately with an entrance in the list of tables}
\end{table}
\end{document}
решение1
Я бы просто разместил примечание под таблицей:
\documentclass[12pt,DIV=11,oneside,numbers=noenddot]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\makeatletter
\newcommand\WLcaption[1]{%
\begin{minipage}{\textwidth}
\vspace*{\baselineskip}
#1
\end{minipage}
}
\makeatother
%\usepackage{caption}
\begin{document}
\listoftables
\begin{table}
\centering
\captionabove{Reform threshold as a function of the degree of risk aversion}
\begin{tabular}{| c c| c c | p{5cm} |}
\hline
\textbf{Risk aversion \(\gamma\)} & \textbf{Reform threshold \(\tau\)} \\ \hline
0 & 48.3 \\ \hline
1 & 55.2 \\ \hline
2 & 61.0 \\ \hline
3 & 65.9 \\ \hline
4 & 69.9 \\ \hline
\end{tabular}
\WLcaption{\textit{Note:} Some Note without number but unfortunately with an entrance in the list of tables}
\end{table}
\end{document}