Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. documentclass{scrreprt}
  2.  
  3. usepackage{xstring}
  4. usepackage[backref=page,plainpages=false,pdfpagelabels,colorlinks]{hyperref}
  5. usepackage[footnote,acronym,hyperfirst,style=long,nomain]{glossaries}
  6.  
  7.  
  8. % acronym style
  9. newacronymstyle{ex-footnote}%
  10. {%
  11. GlsUseAcrEntryDispStyle{footnote}%
  12. }%
  13. {%
  14. GlsUseAcrStyleDefs{hyperfirst, footnote}%
  15. renewcommand*{genacrfullformat}[2]{%
  16. firstacronymfont{glsentryshort{##1}}##2%
  17. expandafterfootnoteexpandafter{expandafterglsentrylongexpandafter{##1}}%
  18. }%
  19. renewcommand*{Genacrfullformat}[2]{%
  20. firstacronymfont{Glsentryshort{##1}}##2%
  21. expandafterfootnoteexpandafter{expandafterglsentrylongexpandafter{##1}}%
  22. }%
  23. renewcommand*{genplacrfullformat}[2]{%
  24. firstacronymfont{glsentryshortpl{##1}}##2%
  25. expandafterfootnoteexpandafter{expandafterglsentrylongplexpandafter{##1}}%
  26. }%
  27. renewcommand*{Genplacrfullformat}[2]{%
  28. firstacronymfont{Glsentryshortpl{##1}}##2%
  29. expandafterfootnoteexpandafter{expandafterglsentrylongplexpandafter{##1}}%
  30. }%
  31. }
  32. setacronymstyle{ex-footnote}
  33.  
  34. makeglossaries
  35.  
  36.  
  37. % arconyms
  38. newacronym{RAM}{RAM}{Random Access Memory}
  39. newacronym{SRAM}{SRAM}{Static gls{RAM}}
  40. newacronym{VHSIC}{VHSIC}{Very High Speed Integrated Circuit}
  41. newacronym{VHDL}{VHDL}{gls{VHSIC} Hardware Description Language}
  42. newacronym{PLD}{PLD}{Programmable Logic Device}
  43. newacronym{SPLD}{SPLD}{Simple gls{PLD}}
  44.  
  45.  
  46. begin{document}
  47.  
  48. gls{SRAM}\
  49. foofootnote{bar}
  50.  
  51. printglossary[type=acronymtype, title=Abbreviations]
  52.  
  53. glsaddallunused
  54. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement