
나는 사용한다이것캡션 패키지의 캡션*처럼 작동하는 KOMA 스크립트에서 캡션을 가져오는 방법입니다. 표와 그림에 대한 설명을 위해 이 명령을 사용하기 때문에 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}