diff options
Diffstat (limited to 'macros/latex/contrib/bmstu-iu8/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty')
-rw-r--r-- | macros/latex/contrib/bmstu-iu8/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/macros/latex/contrib/bmstu-iu8/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty b/macros/latex/contrib/bmstu-iu8/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty new file mode 100644 index 0000000000..0d19fcc37d --- /dev/null +++ b/macros/latex/contrib/bmstu-iu8/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty @@ -0,0 +1,35 @@ +% Author: CatInCosmicSpace +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{14-IU8-terms-and-definitions}[2021/03/21 v1.1 Содержание] + +\RequirePackage[ + acronym, + automake, + nopostdot, + xindy={glsnumbers=false, language=russian}, +]{glossaries} +\RequirePackage[abbreviations]{glossaries-extra} + +\GlsSetXdyCodePage{utf8} + +\renewcommand{\glossarysection}[2][]{} + +\newglossarystyle{terms}{ + \renewenvironment{theglossary}{}{} + \renewcommand*{\glossentry}[2]{ + \noindent\glstarget{##1}{\glossentryname{##1}}~\textemdash~\glossentrydesc{##1} + \newline + } + \renewcommand*{\glsgroupskip}{}% +} + +\newcommand{\termsanddefenitions}{ + \structure{ТЕРМИНЫ~И~ОПРЕДЕЛЕНИЯ} + + \termsAndDefinitionsLine + + \printunsrtglossary[ + style=terms, + nonumberlist + ] +} |