I utilize the glossaries
package with acronym
option as well as an self-defined symbols list. Unfortunately, each glossary aligns different horizontally. Is it possible to make them aligned? Otherwise, it looks distracting to me.
Code:
\documentclass[8pt]{scrartcl}
% LuaLaTeX
\usepackage{luatextra}
\usepackage[xindy,style=long,numberline,savewrites=true,acronym,nomain]{glossaries}
% new group for symbols
\newglossary[slg]{symbolslist}{syi}{syg}{Symbols}
\makeglossaries
% SYMBOLS:
\newglossaryentry{sy:te}{name=$\text{T}_\text{E}$, description={echo time}, sort=sy-echotime, type=symbolslist}
\newglossaryentry{sy:tr}{name=$\text{T}_\text{R}$, description={repetition time}, sort=sy-repetitiontime, type=symbolslist}
% ACRONYMS:
\newacronym{adc}{ADC}{anlog-to-digital converter}
\newacronym{peg}{PEG}{polyethylene glycol}
\begin{document}
\printglossaries
Text Text Text Text Text Text Text Text
Text Text Text Text Text Text Text Text.
.... \gls{peg} .... \gls{adc}
.... \gls{sy:tr} .... \gls{sy:te}
\end{document}
Best Answer
I suggest you use the
alttree
style instead oflong
and set the width of the name field using\glssetwidest
: