SHARE
TWEET

Untitled

a guest Mar 21st, 2019 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[12pt,a4paper]{report}
  2.  
  3. %adjust your page margins here
  4. usepackage[top=0.70in, bottom=0.70in, left=1in,right=0.80in]{geometry} % setting the page alignment with this package
  5. usepackage[pdftex]{graphicx} %for embedding images
  6. usepackage[%dvips, % commented for pdflatex
  7. bookmarks,  colorlinks=false]{hyperref} %for creating links in the pdf version and other additional pdf attributes, no effect on the printed document
  8. hypersetup{%
  9.     pdfborder = {0 0 0}
  10. }
  11. usepackage[final]{pdfpages} %for embedding another pdf, remove if not required
  12. usepackage{float} %used for figure placement with H as a parameter
  13. usepackage{hyperref}
  14. usepackage{pslatex} % for times new roman, old package, but works
  15. usepackage{array} % for making text bold in table
  16. usepackage{setspace}
  17. usepackage{float}
  18. usepackage{enumerate}
  19. usepackage{longtable}
  20. usepackage{glossaries}
  21. usepackage[toc,page]{appendix}
  22.  
  23. usepackage[font=small,labelfont=bf]{caption}
  24. deffigurename{textbf{Figure }}
  25.  
  26. usepackage{listings}
  27. usepackage{color}
  28.  
  29. %For the header and footer
  30. usepackage{fancyhdr}
  31. fancypagestyle{plain}{%
  32. fancyfoot[L]{emph{Hardware RISC-V Processor Learning Tool and Online SoC Training Platform}} % except the center
  33. rhead{thepage}
  34. renewcommand{headrulewidth}{0.4pt}
  35. renewcommand{footrulewidth}{0.4pt}
  36. }
  37.  
  38. pagestyle{fancy}
  39.  
  40. fancyfoot[L]{emph{Hardware RISC-V Processor Learning Tool and Online SoC Training Platform}}
  41. cfoot{}
  42. rhead{thepage}
  43. renewcommand{headrulewidth}{0.4pt}
  44. renewcommand{footrulewidth}{0.4pt}
  45. %For the header and footer Over
  46.  
  47. %Page Border
  48. usepackage{pgf}
  49. usepackage{pgfpages}
  50.  
  51. pgfpagesdeclarelayout{boxed}
  52. {
  53.   edefpgfpageoptionborder{0pt}
  54. }
  55. {
  56.   pgfpagesphysicalpageoptions
  57.   {%
  58.     logical pages=1,%
  59.   }
  60.   pgfpageslogicalpageoptions{1}
  61.   {
  62.     border code=pgfsetlinewidth{2pt}pgfstroke,%
  63.     border shrink=pgfpageoptionborder,%
  64.     resized width=.95pgfphysicalwidth,%
  65.     resized height=.95pgfphysicalheight,%
  66.     center=pgfpoint{.5pgfphysicalwidth}{.5pgfphysicalheight}%
  67.   }%
  68. }
  69. pgfpagesuselayout{boxed}
  70. setlength{parindent}{1cm}
  71.  
  72. makeglossaries
  73. loadglsentries{project/glossaries}
  74.  
  75. %GLOBAL SETTINGS OVER, DOCUMENT BEGINS
  76. begin{document}
  77. renewcommandbibname{References}
  78. lhead{}
  79. %FROM HERE YOUR PAGES START GETTING ADDED
  80. % includes the cover page
  81. input{project/cover.tex}
  82. newpage
  83. % includes the title page
  84. input{project/title.tex}
  85. newpage
  86.  
  87. %TABLE OF CONTENTS AND LIST OF FIGURES ARE AUTOMATICALLY ADDED BY FOLLOWING COMMANDS
  88. %ADD FIGURE OF TABLES IF YOU NEED TO, CHECK DOCUMENTATION
  89. doublespacing
  90. pagestyle{fancy}
  91. pagenumbering{roman}
  92.  
  93. % includes the acknowledgements page
  94. clearpage
  95. input{project/acknowledgements.tex}
  96. addcontentsline{toc}{chapter}{numberline{}Acknowledgements}%
  97. newpage
  98.  
  99. clearpage
  100. input{project/abstract.tex} % adds the Research Methodology page
  101. addcontentsline{toc}{chapter}{numberline{}Abstract}
  102. newpage
  103.  
  104. %To reset the Header & Footer for TOC and LOF
  105. clearpage
  106. tableofcontents % adds Index Page
  107. newpage
  108.  
  109.  % adds the glossaries page
  110. addcontentsline{toc}{chapter}{numberline{}Glossary}%
  111. printglossary
  112. newpage
  113.  
  114. addcontentsline{toc}{chapter}{numberline{}listfigurename}%
  115. listoffigures % adds List of Figures
  116. cleardoublepage
  117.  
  118. %And reset back the settings we choose for Header and Footer
  119. pagestyle{fancy}
  120.  
  121. clearpage
  122. pagenumbering{arabic} %reset numbering to normal for the main content
  123.  
  124. input{project/introduction.tex} % adds the introduction page
  125. input{project/background.tex} % adds the background page
  126. input{project/design.tex}
  127. input{project/learning.tex}
  128. input{project/health.tex}
  129. input{project/conclusion.tex} % adds the Scheduling and Planning page
  130. input{project/ref.tex} % adds the References page
  131.  
  132. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top