diff options
author | Norbert Preining <norbert@preining.info> | 2020-05-11 03:02:11 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-05-11 03:02:11 +0000 |
commit | fd95e879442e050790f06552eb074eeb7c5b4cab (patch) | |
tree | fa133d89d5af2d1a52c702321ee187ad5065f189 /macros/latex/contrib/acro/examples/acro.example.texsx-513623.tex | |
parent | adcdf254252f764d8969df03d013bf5da6333873 (diff) |
CTAN sync 202005110302
Diffstat (limited to 'macros/latex/contrib/acro/examples/acro.example.texsx-513623.tex')
-rw-r--r-- | macros/latex/contrib/acro/examples/acro.example.texsx-513623.tex | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/latex/contrib/acro/examples/acro.example.texsx-513623.tex b/macros/latex/contrib/acro/examples/acro.example.texsx-513623.tex new file mode 100644 index 0000000000..049172952b --- /dev/null +++ b/macros/latex/contrib/acro/examples/acro.example.texsx-513623.tex @@ -0,0 +1,21 @@ +\documentclass{article} +\usepackage{acro} + +\newrobustcmd*\newspecies[4][]{% + \DeclareAcronym{#2}{ + short = {#3} , + long = {#4} , + #1 , + tag = species , + first-style= long , + format = \itshape + }% +} +\newspecies{ecoli}{E.~coli}{Escherichia coli} + +\begin{document} + +First use: \ac{ecoli}\par +Second use: \ac{ecoli} + +\end{document} |