I added \usepackage[ruled]{algorithm2e}
to show pseudocode algorithms in my document.
I also got an appendix, some figures and tables. In the end these should be listed. This works fine and its is numerated like
- A Appendix
- B Figures
- C Tables
- D References
Problem is, that I also want to list my Algorithms. They are listed but without the correct Prefix Character. Also the Title of my listed algorithms is in english, but all the rest is in german.
Here is a minimal working example which explains my problem much better:
\documentclass[numbers=noenddot]{UVKABoA4}
\usepackage{graphicx} % Standardpaket zur Grafikeinbindung
\usepackage{amsmath,amssymb} % Erweiterung des Mathematik-Modus
\usepackage[absolute,overlay]{textpos}
\usepackage{vmargin} % Adjust margins in a simple way
\usepackage{tikz}
\usepackage{float}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[ruled]{algorithm2e}
\usepackage{minted}
\usepackage[ngerman]{babel}
\usepackage[raiselinks=true,
bookmarks=true,
bookmarksopenlevel=1,
bookmarksopen=true,
bookmarksnumbered=true,
hyperindex=true,
plainpages=false,
pdfpagelabels=true,
pdfborder={0 0 0.5}]{hyperref}
\makeindex
\begin{document}
\pagenumbering{roman}
\begingroup
\changefont{phv}{m}{n}
\tableofcontents
\endgroup
\mainmatter
\renewcommand{\chapterpagestyle}{plain}
\pagestyle{scrheadings}
\pagenumbering{arabic}
%content
\chapter{testChapter}
\section{testSection}
\pagestyle{scrplain}
\appendix
\chapter{TestAppendixChapter }
\section{TesstAppendixSection}
\listoffigures
\listoftables
\listofalgorithms
\bibliography{content/bibliography}
\printindex
\end{document}
Does anyone know what I am doing wrong here? Thank you so much!
UVKABoA4
is not a standard class. Where did you get it from?UVKABoA4.cls
from here internally usesscrbook
, so adding\addtotoclist[float]{loa}% \renewcommand\listofalgorithms{\listoftoc[{\listalgorithmcfname}]{loa}}%
to your preamble, as suggested in the answer to Add algorithm2e to ToC with KOMA-Script should also work for your case.