Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{scrreprt}
- usepackage{xstring}
- usepackage[backref=page,plainpages=false,pdfpagelabels,colorlinks]{hyperref}
- usepackage[footnote,acronym,hyperfirst,style=long,nomain]{glossaries}
- % acronym style
- newacronymstyle{ex-footnote}%
- {%
- GlsUseAcrEntryDispStyle{footnote}%
- }%
- {%
- GlsUseAcrStyleDefs{hyperfirst, footnote}%
- renewcommand*{genacrfullformat}[2]{%
- firstacronymfont{glsentryshort{##1}}##2%
- expandafterfootnoteexpandafter{expandafterglsentrylongexpandafter{##1}}%
- }%
- renewcommand*{Genacrfullformat}[2]{%
- firstacronymfont{Glsentryshort{##1}}##2%
- expandafterfootnoteexpandafter{expandafterglsentrylongexpandafter{##1}}%
- }%
- renewcommand*{genplacrfullformat}[2]{%
- firstacronymfont{glsentryshortpl{##1}}##2%
- expandafterfootnoteexpandafter{expandafterglsentrylongplexpandafter{##1}}%
- }%
- renewcommand*{Genplacrfullformat}[2]{%
- firstacronymfont{Glsentryshortpl{##1}}##2%
- expandafterfootnoteexpandafter{expandafterglsentrylongplexpandafter{##1}}%
- }%
- }
- setacronymstyle{ex-footnote}
- makeglossaries
- % arconyms
- newacronym{RAM}{RAM}{Random Access Memory}
- newacronym{SRAM}{SRAM}{Static gls{RAM}}
- newacronym{VHSIC}{VHSIC}{Very High Speed Integrated Circuit}
- newacronym{VHDL}{VHDL}{gls{VHSIC} Hardware Description Language}
- newacronym{PLD}{PLD}{Programmable Logic Device}
- newacronym{SPLD}{SPLD}{Simple gls{PLD}}
- begin{document}
- gls{SRAM}\
- foofootnote{bar}
- printglossary[type=acronymtype, title=Abbreviations]
- glsaddallunused
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement