Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. documentclass[a4paper,12pt,headsepline]{scrartcl}
  2.  
  3. usepackage[T1]{fontenc}
  4. usepackage{paratype}
  5. usepackage{fix-cm}
  6. usepackage[utf8]{inputenc}
  7. usepackage[T1]{fontenc}
  8. usepackage{fancybox}
  9.  
  10.  
  11.  
  12. usepackage{fancyhdr}
  13. pagestyle{fancy}
  14. fancyhf{}
  15. fancyhead[L]{nouppercase{leftmark}}
  16. fancyhead[C]{}
  17. fancyhead[R]{thepage}
  18. renewcommand{headrulewidth}{0.4pt}
  19.  
  20.  
  21. usepackage[xindy]{glossaries}
  22. makeglossaries
  23. letglossary
  24.  
  25.  
  26. usepackage{natbib, bibentry}
  27.  
  28. bibliographystyle{plain}
  29.  
  30.  
  31.  
  32. usepackage{setspace}
  33.  
  34.  
  35. usepackage{capt-of}
  36.  
  37.  
  38. usepackage{makeidx}
  39.  
  40. usepackage[english]{babel}
  41.  
  42.  
  43. makeindex
  44.  
  45.  
  46. usepackage[english]{nomencl}
  47. letabbrevnomenclature
  48.  
  49.  
  50.  
  51. renewcommand{nomname}{List of Abbreviations}
  52. setlength{nomlabelwidth}{.25hsize}
  53. renewcommand{nomlabel}[1]{#1 dotfill}
  54. setlength{nomitemsep}{-parsep}
  55. makenomenclature
  56.  
  57.  
  58. usepackage{bibentry}
  59.  
  60.  
  61. begin{document}
  62.  
  63.  
  64.  
  65. nobibliography*
  66. bibliography{bib}
  67. input{glossary}
  68.  
  69.  
  70. fancyhead[L]{Glossary}
  71. %glsaddall
  72. printglossaries
  73. addcontentsline{toc}{section}{Glossary}
  74.  
  75.  
  76.  
  77.  
  78.  
  79. section{Document}
  80. gls{first example}footnote{bibentry{firstexample}cite{firstexample}}.
  81. gls{second example}
  82.  
  83.  
  84.  
  85. end{document}
  86.  
  87. newglossaryentry{first example}
  88. {
  89. name=first example,
  90. description={this is the first example where the reference is also referenced in the main file footnote{bibentry{firstexample}cite{firstexample}}.}
  91. }
  92. newglossaryentry{second example}
  93. {
  94. name=second example,
  95. description={this is the second example where the reference is not reference in the main file and does not appear here footnote{bibentry{secondexample}cite{secondexample}}.}
  96. }
  97.  
  98. @article{firstexample,
  99. author = "Example, First",
  100. year = "2018",
  101. title = "{F}irst {E}xample",
  102. journal = " ",
  103. volume = "",
  104. pages = ""
  105. }
  106.  
  107. @article{secondexample,
  108. author = "Example, Second",
  109. year = "2018",
  110. title = "{S}econd {E}xample",
  111. journal = " ",
  112. volume = "",
  113. pages = ""
  114. }
  115.  
  116. @article{thirdexample,
  117. author = "Example, Third",
  118. year = "2018",
  119. title = "{T}hird {E}xample",
  120. journal = " ",
  121. volume = "",
  122. pages = ""
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement