如何在附加列表中通过双标题添加第二个标题

如何在附加列表中通过双标题添加第二个标题

我遇到了一个问题,即使用 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

尝试一下这个代码。

更新后续问题之后

C

\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}

相关内容