Skip to content

Commit

Permalink
Renamed 'acspl' and added plural form
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStuber committed Feb 6, 2022
1 parent de65a80 commit 0a1c132
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ Sollte die gewünschte Kurzform von dem verwendeten Code-Kürzel abweichen, kann
\acp{abc} % Plural
```

Sollte der Kasus des Akronyms nicht in den ersten Satz passen, kann das Ausschreiben der langen Form des Akronyms blockiert werden und das Wort entsprechend selbst geschrieben werden.
Sollte die Deklination des Akronyms nicht in den ersten Satz passen, kann das Ausschreiben der langen Form des Akronyms blockiert werden und das Wort entsprechend selbst geschrieben werden.

```LaTeX
Alphabeten (\acspl{abc})
des Alphabets (\acslabel{abc})
den Alphabeten (\acsplabel{abc}) % Plural
```

#### bibliography.bib
Expand Down
7 changes: 6 additions & 1 deletion format.tex
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,15 @@

% Set label to create hyperlink from list of acronyms and print short form
\makeatletter
\newcommand{\acspl}[1]{%
\newcommand{\acslabel}[1]{%
\AC@placelabel{#1}%
\acs{#1}%
}

\newcommand{\acsplabel}[1]{%
\AC@placelabel{#1}%
\acsp{#1}%
}
\makeatother

%----------------------------------------------------------
Expand Down

0 comments on commit 0a1c132

Please sign in to comment.