diff options
Diffstat (limited to 'macros/latex/contrib/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty')
-rw-r--r-- | macros/latex/contrib/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/macros/latex/contrib/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty b/macros/latex/contrib/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty new file mode 100644 index 0000000000..ea679bd6c5 --- /dev/null +++ b/macros/latex/contrib/bmstu-iu8/styles/14-IU8-terms-and-definitions.sty @@ -0,0 +1,44 @@ +% Author: CatInCosmicSpace +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{14-IU8-terms-and-definitions}[2021/03/21 v1.0 Содержание] + +\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 + ] +} + +% \newglossarystyle{definitions}{% +% \renewenvironment{theglossary}{}{} +% \renewcommand*{\glossentry}[2]{ +% \noindent\glstarget{##1}{\glossentryname{##1}}~\textemdash~\glossentrydesc{##1} +% \newline +% } +% \renewcommand*{\glsgroupskip}{}% +% } |