Code:
\documentclass[
fontsize=12pt,
parskip,
headings=small,
footsepline,
headsepline
]
{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{blindtext}
\usepackage[
%acronym,
nomain,
toc,
section=chapter,
nonumberlist,
style=super,
]{glossaries}
\newglossary{symbolslist}{syi}{syg}{Symbolverzeichnis}
\setlength\glsdescwidth{12cm}
%Ein neuer Verzeichnisstil der auch die Einheit mit ausgibt
\newglossarystyle{mytab}{%
% Verzeichnis wird ein 'longtable' mit 5 Spalten
\renewenvironment{theglossary}%
{\begin{longtable}{ccp{\glsdescwidth}}}%
{\end{longtable}}%
% Kopf der Tabelle
%\renewcommand*{\glossaryheader}{%
% \bfseries Name & \bfseries Symbol & \bfseries Einheit & %
% \bfseries Bescheibung & \bfseries Seite(n) %
% \\\endhead}%
% Kein Abstand zwischen Gruppen
\renewcommand*{\glsgroupheading}[1]{}%
%
\renewcommand*{\glossaryentryfield}[5]{%
##2 %Symbol
& \glsentryuseri{##1}%Einheit
& ##3% Description
\\% end of row
}%
% The command \glsgroupskip specifies what to do between glossary groups.
% Glossary styles must redefine this command. (Note that \glsgroupskip
% only occurs between groups, not at the start or end of the glossary.)
\renewcommand*{\glsgroupskip}{\relax}
}
\makeglossaries
%Eintrag ins Abkürzungsverzeichnis
\newglossaryentry{Dichte}{
name={$\rho$},
sort=.rho,
description=Dichte,
type=symbolslist,
user1={$\frac{kg}{m3}$}
}
\newglossaryentry{HWM}{
name={$\dot{m}$},
sort=m.,
description=Massenstrom,
type=symbolslist,
user1={$\frac{kg}{h}$}
}
\newglossaryentry{VST}{
name={$\dot{V}$},
sort=V.,
description=Volumenstrom,
type=symbolslist,
user1={$\frac{m^3}{h}$}
}
\newglossaryentry{VLT}{
name={${T}_{VL}$},
sort=T_VL,
description=Vorlauftemperatur,
type=symbolslist,
user1={$K$}
}
\newglossaryentry{RLTemp}{
name={${T}_{RL}$},
sort=T_RL,
description=Rücklauftemperatur,
type=symbolslist,
user1={$K$}
}
\newglossaryentry{SP}{
name={${c}_{p}$},
sort=c_p,
description=spezifische Wärmekapazität,
type=symbolslist,
user1={$\frac{kJ}{kg K}$}
}
\newglossaryentry{Brenn}{
name={${H}_{o}$},
sort=H_o,
description=Brennwert,
type=symbolslist,
user1={$\frac{kJ}{kg}$}
}
\newglossaryentry{Wirkung}{
name={$\eta$},
sort=.eta,
description=Wirkungsgrad,
type=symbolslist,
%user1={}
}
\newglossaryentry{Warme}{
name={${\dot{Q}}_{W}$},
sort=Q_W,
description=Wärmeleistung,
type=symbolslist,
user1={$kW$}
}
\newglossaryentry{Leistung}{
name={$\epsilon$},
sort=.epsilon,
description=Leistungszahl,
type=symbolslist,
%user1={}
}
\newglossaryentry{Arbeit}{
name={$\beta$},
sort=.beta,
description=Arbeitszahl,
type=symbolslist,
%user1={}
}
\begin{document}
\printglossary[title=Symbolverzeichnis,type=symbolslist,style=mytab]
\chapter{Text}
\gls{Warme} und \gls{Arbeit} und \gls{Leistung} und \gls{Wirkung} und \gls{Brenn} und \gls{SP} und \gls{RLTemp} und \gls{VLT} und \gls{VST} und \gls{HWM} und \gls{Dichte}
\end{document}
Lesezeichen