[nvim] change acronyms for glossary

This commit is contained in:
Marco Thomas
2022-10-31 23:31:54 +01:00
parent e27c00475d
commit cdacf72dc5
2 changed files with 16 additions and 7 deletions

View File

@@ -71,8 +71,9 @@
"\\newtheorem{theorem}{Satz}[section]",
"\\newtheorem*{remark}{Bemerkung}",
"",
"%%% acronyms - use with \\ac{} - don't print a list of acronyms",
"\\usepackage[nolist]{acronym}",
"%%% glossary, use with \\gls{}",
"% make sure to run `makeglossaries FILE` to generate the glossary entries",
"\\usepackage{glossaries}",
"",
"%%% bibtex - cite with \\autocite{}, will show in footnote",
"\\usepackage{csquotes}",
@@ -84,20 +85,21 @@
"\\date{\\today}",
"",
"\\bibliography{bibliography}",
"\\makeglossaries",
"",
"\\begin{document}",
"",
"% use with \\gls{nvim}",
"% \\newglossaryentry{nvim}{name=Neovim, description={Bester Editor der Welt}}",
"",
"% create title page with toc",
"\\maketitle",
"\\newpage",
"\\tableofcontents",
"% \\newpage",
"% \\printglossaries",
"\\newpage",
"",
"% use with \\ac{}",
"\\begin{acronym}[Acronyms]",
" \\acro{latex}[LaTeX]{Bestes Doku Tool der Welt}",
"\\end{acronym}",
"",
"% begin here; don't forget to relaunch nvim :>",
"\\section{}",
"",