如何獲得類似listoftables的標題

如何獲得類似listoftables的標題

我想在一個標題下定義多個術語表,該標題應類似於目錄之一。我已經切換了詞彙表包的標題生成。如何手動設定目錄樣式的標題?所需的輸出:帶有符號的術語表上的標題如“Tabellenverzeichnis”。

我的(不是那麼)最小的工作範例:

\documentclass{scrreprt}
\usepackage[utf8]{inputenc}

\title{example}
\author{hlorenz734 }
\date{August 2019}

\usepackage{natbib}
\usepackage{graphicx}
\usepackage{siunitx}

\usepackage[acronym,nomain,toc,automake]{glossaries-extra}
\setlength{\glsdescwidth}{0.9\textwidth}
\newglossary[slg]{symbolslistFU}{syi}{syg}{Verwendete Symbole für Furuta-Pendel} % create add. symbolslist
\renewcommand{\glossarysection}[2][]{} % no hjedaing sfor glossary
\glsaddkey{unit}{\glsentrytext{\glslabel}}{\glsentryunit}{\GLsentryunit}{\glsunit}{\Glsunit}{\GLSunit}
\makeglossaries                                   % activate glossaries-package

\newglossarystyle{symbunitlong}{%
    \setglossarystyle{long3col}% base this style on the list style
    \renewenvironment{theglossary}{% Change the table type --> 3 columns
        \begin{longtable}{lp{0.6\glsdescwidth}>{\centering\arraybackslash}p{2cm}}}%
        {\end{longtable}}%
    %
    \renewcommand*{\glossaryheader}{%  Change the table header
        \bfseries Symbol & \bfseries Beschreibung & \bfseries Einheit \\
        \hline
        \endhead}
    \renewcommand*{\glossentry}[2]{%  Change the displayed items
        \glstarget{##1}{\glossentryname{##1}} %
        & \glossentrydesc{##1}% Description
        & \glsunit{##1}  \tabularnewline
    }
}

\newglossaryentry{symbFU:thetai}{
name=$\theta_{\mathrm{i}}$,
description={Drehwinkel Arm i},
unit={\si{\radian}},
sort=thetai,
type=symbolslistFU
}

\newglossaryentry{symbFU:tau1}{
name=$\tau_{\mathrm{1}}$,
description={Drehmoment übertragen auf Arm 1},
unit={\si{\newton\meter}},
sort=tau1,
type=symbolslistFU
}

\begin{document}

\maketitle
\cleardoublepage
\tableofcontents %Table of contents

\cleardoublepage
\addcontentsline{toc}{chapter}{Tabellenverzeichnis} % Tabellenverzeichnis ins Inhaltsverzeichnis schreiben
\listoftables

%% Abkürzungs- und Symbolverzeichnis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\addcontentsline{toc}{chapter}{Notation und verwendete Symbole}
\glssetnoexpandfield{unit} % https://tex.stackexchange.com/questions/269565/glossaries-how-to-customize-list-of-symbols-with-additional-column-for-units



\glsaddall
\printglossary[type=\acronymtype,style=long]  % list of acronyms
\printglossary[type=symbolslistFU,style=symbunitlong]   % list of symbols
\cleardoublepage

\section{Introduction}
There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened.



\section{Conclusion}
``I always thought something was fundamentally wrong with the universe'' \citep{adams1995hitchhiker}

\bibliographystyle{plain}
\bibliography{references}
\end{document}

答案1

report類似類別的scrreprt元素(如目錄、圖表清單或術語表)用於排版\chapter*各自的標題。如果您想模仿它,只需明確使用\chapter*.

相關內容