Im trying to have two glossaries in my Thesis. One for the acronyms and the other one for the equation symbols. the problem is that for the acronyms i want to have just two columns without headers and for the equations three with headers. I've wrtitten this code but i dont know how can i give a different Style for the acronyms (only two columns) (see below)
\documentclass[12pt,twoside,booktabs,a4paper]{book}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[acronym,toc,shortcuts]{glossaries}
\newglossary[ch1]{formel}{ch2}{ch3}{Formelverzeichnis}
\makenoidxglossaries
\setacronymstyle{long-short}
\newglossarystyle{formel_altlong4colheader}{%
\setglossarystyle{altlong4colheader}%
%
\renewcommand*{\glossaryheader}{%
\bfseries Formelzeichnen
& \bfseries Bedeutung
& \bfseries Einheit\\
\hline
\\\endhead}%
\renewcommand{\glossentry}[2]{%
\glstarget{##1}{\glossentryname{##1}}%
& \glossentrydesc{##1}%
& \glossentrysymbol{##1}%
\tabularnewline % end of row
}%
}
\setlength{\glsdescwidth}{3in}
\setglossarystyle{formel_altlong4colheader}
%------Acronym---------
\renewcommand*{\acronymname}{Abkürzungsverzeichnis}
\newacronym[shortplural={BLKs},longplural={Belastungskollektive}]{BLK}{BLK}{Belastungskollektiv}
\newacronym{DL}{DL}{Dauerlauf}
\newacronym[shortplural={Fzg-DL},longplural={Fahrzeugdauerläufen}]{Fzg-DL}{Fzg-DL}{Fahrzeug Dauerlauf}
%-----Formel---
\newglossaryentry{re}
{%
name={$R_e$},
description={Streckgrenze},
symbol={Pa},
sort=streckgrenze,
type=formel
}
\newglossaryentry{rm}
{%
name={$R_m$},
description={Zugfestigkeit},
symbol={Pa},
sort=Zugfestigkeit,
type=formel
}
\begin{document}
\printnoidxglossaries
\newpage
\gls{BLK}
\gls{DL}
\gls{Fzg-DL}
\gls{re}
\end{document}
do you have any idea how can i do it??
Thank you!
printglossary
commands and add the style as the optional argument.