diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/acro/examples/acro.example.acflike.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/acro/examples/acro.example.acflike.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/acro/examples/acro.example.acflike.tex b/Master/texmf-dist/doc/latex/acro/examples/acro.example.acflike.tex new file mode 100644 index 00000000000..40e10371819 --- /dev/null +++ b/Master/texmf-dist/doc/latex/acro/examples/acro.example.acflike.tex @@ -0,0 +1,17 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage{acro} +\acsetup{format/long=\itshape} + +\DeclareAcronym{cd}{short = CD, long = Compact Disc} + +\RenewAcroCommand\acflike{mm}{% + \acroformat{long}{#2} (\UseAcroTemplate{short}{#1})% +} + +\begin{document} + +\ac{cd} \par +\acflike{cd}{Rohling} + +\end{document} |