![如何在附加列表中通过双标题添加第二个标题](https://linux22.com/image/452432/%E5%A6%82%E4%BD%95%E5%9C%A8%E9%99%84%E5%8A%A0%E5%88%97%E8%A1%A8%E4%B8%AD%E9%80%9A%E8%BF%87%E5%8F%8C%E6%A0%87%E9%A2%98%E6%B7%BB%E5%8A%A0%E7%AC%AC%E4%BA%8C%E4%B8%AA%E6%A0%87%E9%A2%98.png)
我遇到了一个问题,即使用 bicaption 包时,我的第二个英文图题无法显示在图列表中。它弹出到同一个 listoffigure 中的另一个条目下(德语条目)
`\documentclass[a4paper, 11pt, headings=normal, twoside]{article}
`\usepackage[utf8]{inputenc}%scrartcl
\usepackage[english,ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}\usepackage{bicaption}
\captionsetup[figure][bi-second]{name=Figure}
\usepackage{mwe}`
% Use the bicaption package with list type "figureEng" for the 2nd languagecaptionsetup[bi-second]{listtype+=Eng}
% Define type "figureEng" and listoffigureEng
\usepackage{newfloat}
\DeclareFloatingEnvironment[fileext=lof2]{figureEng}[Figure][List of Figures]`
\begin{document}
\listoffigures
\listoffigureEng
\begin{figure}[h]
\centering
\includegraphics[width=0.9\textwidth]{Untersuchungsgebiet}
\label{fig:Untersuchungsgebiet}
\bicaption{Untersuchungsgebiet}{Study area}
\end{figure}
\end{document}
答案1
尝试一下这个代码。
更新后续问题之后
\documentclass[a4paper, 11pt, headings=normal, twoside]{article}
\usepackage[english,ngerman]{babel}
\usepackage[utf8]{inputenc}%scrartcl
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage[lang=english,listtype+=Eng]{bicaption} % changed <<<<<<<<<<
\captionsetup[figure][bi-second]{name=Figure}
\captionsetup[table][bi-second]{name=Table}
\usepackage{newfloat}
% Define type "figureEng" and \listoffigureEng
\DeclareFloatingEnvironment[fileext=lof2]{figureEng}[Figure][List of Figures]
\DeclareFloatingEnvironment[fileext=lot2]{tableEng}[Table][List of Tables]
\begin{document}
\listoffigures
\listoftables
\listoffigureEng
\listoftableEng
\begin{figure}[h]
\centering
\includegraphics[width=0.9\textwidth]{example-image}
\label{fig:Untersuchungsgebiet}
\bicaption{Untersuchungsgebiet}{Study area}
\end{figure}
\begin{table}[htp!]
\centering
\begin{tabular}{|c|}
Row 1 Col 1
\end{tabular}
\bicaption{Kleine Tabelle}{Small table}\label{tab:ErsterT}
\end{table}
\end{document}