#StackBounty: #formatting #glossaries #package-options Sorting and looking at the (table of) formula directory – with glossaries

Bounty: 50

I would like my formula index to look more like my tabular index.

tabular index

But at the moment it still looks like this.
Without clamps. Besides, it’s too far out of the frame on the right (showframe=true ist activated).

formula index

The sorting should also be sorted according to usage.
I am trying to get this layout:

(1) T=XXX looooongergap haptische Transparenz …………………..12
(2) Y=XXX looooongergap Admittanz mechanische…………………..23

My Code MWE

begin{filecontents}{jobname-gls.tex} 
%Acronym 
newacronym{MIC}{MIC}{Microsoft oder so} 
newacronym{MIC2}{MIC2}{Microsoft oder so} 
%Glossar 
newglossaryentry{test}{% 
   name={name}, 
     text={text}, 
     description={description} 
} 
%Symbolverz 
newglossaryentry{symb:Phi}{ 
name=$varphi$, 
description={Ein Winkel}, 
sort=symbolphi, type=symbolslist 
} 
%Formelverzeichnis 
newglossaryentry{formel}{% 
name={ensuremath{protectunderline{Y}=1+1}}, 
description={formel}, 
type=formula 
} 
newglossaryentry{formel2}{% 
name={ensuremath{protectunderline{2Y}=2+2}}, 
description={formel2}, 
type=formula 
} 
end{filecontents} 

documentclass[12pt]{scrbook} 
usepackage[ngerman]{babel} 
usepackage[T1]{fontenc} 
usepackage[utf8]{inputenc} 
usepackage{lmodern} 
usepackage{csquotes} 

usepackage[% 
automake, 
nonumberlist=true, 
acronym,       
toc,         
%index,         
section]       
{glossaries} 
% 
usepackage[% 
stylemods=bookindex, 
style=tree, 
nostyles,       
] 
{glossaries-extra} 

newglossary[slg]{symbolslist}{syi}{syg}{Symbolverzeichnis} 
newglossary[ilg]{index}{ind}{idx}{Index} 
newglossary*{formula}{Formelverzeichnis}[equation] 
%newglossary{eqlg}{formula}{eqnd}{eqx}{Formelverzeichnis}[equation] %doesnt work
% 
makeglossaries 
loadglsentries{jobname-gls.tex} 

makeatletter 
renewcommand*{theequation}{if@mainmatter thechapter.fiarabic{equation}} 
makeatother 

usepackage{chngcntr}            %coun­ter­within  and counterwithout 
counterwithout{equation}{chapter} 

begin{document} 


chapter{Vereichnisse} 
printglossary[title=Glossar] 
printglossary[title=Abkürzungsverzeichnis, type=acronymtype] 
printglossary[type=symbolslist] 
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
printglossary[type=formula,nonumberlist=false, style=long3col] %  alternative long4col
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
setglossarysection{chapter}   
clearpage 
chapter{Test} 
Test text davor mit gls{MIC2} gls{MIC} und gls{symb:Phi} 
begin{equation} 
gls{formel} 
end{equation} 
begin{equation} 
gls{formel2} 
end{equation} 
und text danach 


end{document}

I hope my information will help you help me.
Thanks

EDIT1: I have tried it with sort=1 unfortunately this also doesn’t work


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.