Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. documentclass[11pt,a4paper]{report}
  2. setcounter{secnumdepth}{3}
  3. setcounter{tocdepth}{3}
  4. newcommand{doubleSignature}[3][Alex Mason]{%
  5. parbox{textwidth}{
  6. centering #3 today\
  7. vspace{2cm}
  8.  
  9. parbox{7cm}{
  10. centering
  11. rule{6cm}{1pt}\
  12. #1
  13. }
  14. hfill
  15. parbox{7cm}{
  16. centering
  17. rule{6cm}{1pt}\
  18. #2
  19. }
  20. }
  21. }
  22. usepackage[utf8]{inputenc}
  23. usepackage{amsmath}
  24. usepackage{amsfonts}
  25. usepackage{amssymb}
  26. %usepackage[sorting=none]{biblatex}
  27. %bibliography{Alex} % Where journals.bib and phd-references.bi
  28. usepackage[pdftex]{graphicx}
  29. usepackage{enumerate}
  30. usepackage{nomencl}
  31. usepackage{wasysym}
  32. usepackage{booktabs}
  33. usepackage{cite}
  34. usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}
  35. graphicspath{{./Diagrams/}}
  36. usepackage[labelfont={sf,bf}, margin=1cm]{caption}
  37. usepackage{subcaption}
  38. renewcommand{figurename}{Fig.}
  39. renewcommand{tablename}{Tab.}
  40. renewcommand{bibname}{References}
  41. author{NAME (MEng)}
  42. title{TITLE}
  43. date{today}
  44. makenomenclature
  45. %------------------------------------------------
  46. begin{document}
  47. maketitle
  48. pagenumbering{roman}
  49. %-----------------------------------------------certificate of originality---------------- --------------------------------------------
  50. input{CertofOrigin}
  51. begin{abstract}
  52. ABSTRACT
  53. end{abstract}
  54. %-----------------------------------------------contents------------------------------------------------------------
  55. tableofcontents
  56. listoffigures
  57. addcontentsline{toc}{chapter}{List of Figures}
  58. listoftables
  59. addcontentsline{toc}{chapter}{List of Tables}
  60. chapter*{Acknowledgements}
  61. addcontentsline{toc}{chapter}{Acknowledgements}
  62. ACKNOWLEDGEMENTS
  63. printnomenclature[1.5in]
  64. addcontentsline{toc}{chapter}{Nomenclature}
  65. pagebreak
  66. pagenumbering{arabic}
  67. include{2ndYearReport_CHAP1}
  68. include{2ndYearReport_CHAP2}
  69. include{2ndYearReport_CHAP3}
  70. bibliographystyle{unsrt}
  71. bibliography{Alex}
  72. %printbibliography
  73. end{document}
  74.  
  75. documentclass{article}
  76. usepackage[numbers]{natbib}
  77. usepackage{notoccite}
  78. % If you have cite commands in section-like commands, or in caption, the
  79. % citation will also appear in the table of contents, or list of whatever.
  80. % If you are also using an unsrt-like bibliography style, these citations
  81. % will come at the very start of the bibliography, which is confusing. This
  82. % package suppresses the effect.
  83.  
  84. begin{filecontents}{jobname.bib}
  85. @misc{foo,
  86. author = {Foo},
  87. title = {Title of Foo},
  88. }
  89. @misc{bar,
  90. author = {Bar},
  91. title = {Title of Bar},
  92. }
  93. @misc{baz,
  94. author = {Baz},
  95. title = {Title of Baz},
  96. }
  97. end{filecontents}
  98.  
  99. begin{document}
  100. listoffigures
  101.  
  102. %chapter{Introduction}
  103. section{The Beginning}
  104. Here we cite citeauthor{foo} cite{foo}.
  105. Now we cite citeauthor{bar} cite{bar}.
  106. Finally, we cite citeauthor{baz} cite{baz}.
  107. begin{figure}[htbp]
  108. centering
  109. framebox[0.5textwidth]{Here's a figure.}
  110. caption{Figure from cite{bar}, which should most definitely textbf{not}
  111. be numbered [1] in the LoF}
  112. end{figure}
  113. bibliographystyle{unsrtnat}
  114. bibliography{jobname}
  115. end{document}
  116.  
  117. bibliographystyle{unsrtnat}
  118. usepackage[numbers,sort&compress]{natbib}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement