Advertisement
obernardovieira

Latex basic report structure

Mar 6th, 2017
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.18 KB | None | 0 0
  1. \documentclass{report}
  2. %%images
  3. \usepackage{graphicx}
  4. %%quotes
  5. \usepackage{csquotes}
  6. %%some stuff to highlight code
  7. \usepackage{mcode}
  8. %%to do hyper links
  9. \usepackage[hidelinks]{hyperref}
  10. \usepackage{mdwlist}
  11. %%bibliography (make a search)
  12. \usepackage[backend=biber]{biblatex}
  13. \addbibresource{references.bib}
  14. %%chapter next to each other, with page break
  15. \usepackage{etoolbox}
  16. \makeatletter
  17. \patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{}{}{}
  18. \makeatother
  19.  
  20. %encoding
  21. %--------------------------------------
  22. \usepackage[utf8]{inputenc}
  23. \usepackage[T1]{fontenc}
  24. %--------------------------------------
  25.  
  26. %Portuguese-specific commands
  27. %--------------------------------------
  28. \usepackage[portuguese]{babel}
  29. %--------------------------------------
  30.  
  31. %Hyphenation rules
  32. %--------------------------------------
  33. \usepackage{hyphenat}
  34. \hyphenation{mate-mática recu-perar}
  35.  
  36. %%one color defined
  37. \definecolor{brickred}{HTML}{B6321C}
  38.  
  39. \begin{document}
  40.  
  41. \title{Your title}
  42. \author{Be the author}
  43.  
  44. \maketitle
  45.  
  46. %%all of your content
  47.  
  48. %%see bibliography number
  49. See~\cite{key}.
  50. %%bibliography (no heading)
  51. \printbibliography[heading=none]
  52.  
  53. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement