% This file is embedded in glossaries-extra-manual.pdf 
% Example 68 The short-hyphen-long-hyphen-desc abbreviation style
% Label: "ex:abbrvstyleshort-hyphen-long-hyphen-desc"
% arara: pdflatex
% arara: pdfcrop
\documentclass[11pt]{article}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\glssetcategoryattributes{abbreviation}
 {markwords,markshortwords}{true}
\setabbreviationstyle{short-hyphen-long-hyphen-desc}
\newabbreviation[description={sample description}]
{ex}{SHRT FM}{long form} 
\begin{document}
First: \gls{ex}[-insert]. Next: \gls{ex}[-insert].
Full: \glsxtrfull{ex}[-insert]. First plural: \glspl[prereset]{ex}[-insert].
First no insert: \gls[prereset]{ex}.
\printunsrtglossaries 
\end{document}