Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. \usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
  2.  
  3. %%% Examples of Article customizations
  4. % These packages are optional, depending whether you want the features they provide.
  5. % See the LaTeX Companion or other references for full information.
  6.  
  7. %%% PAGE DIMENSIONS
  8. \usepackage{geometry} % to change the page dimensions
  9. \geometry{a4paper} % or letterpaper (US) or a5paper or....
  10. % \geometry{margin=2in} % for example, change the margins to 2 inches all round
  11. % \geometry{landscape} % set up the page for landscape
  12. % read geometry.pdf for detailed page layout information
  13.  
  14. \usepackage{graphicx} % support the \includegraphics command and options
  15.  
  16. % \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
  17.  
  18. %%% PACKAGES
  19. \usepackage{booktabs} % for much better looking tables
  20. \usepackage{array} % for better arrays (eg matrices) in maths
  21. \usepackage{paralist} % very flexible & customisable lists (eg. enumerate/itemize, etc.)
  22. \usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
  23. \usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
  24. % These packages are all incorporated in the memoir class to one degree or another...
  25.  
  26. \usepackage{hyperref}
  27.  
  28. %%% HEADERS & FOOTERS
  29. \usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
  30. \pagestyle{fancy} % options: empty , plain , fancy
  31. \renewcommand{\headrulewidth}{0pt} % customise the layout...
  32. \lhead{}\chead{}\rhead{}
  33. \lfoot{}\cfoot{\thepage}\rfoot{}
  34.  
  35. \usepackage{pdfpages}
  36.  
  37.  
  38. \usepackage{minted} %for code syntax highlighting
  39. \setlength{\parindent}{0pt} %remove indent
  40.  
  41. \hypersetup{
  42. colorlinks = true
  43. }
  44.  
  45. %%% SECTION TITLE APPEARANCE
  46. \usepackage{sectsty}
  47. \allsectionsfont{\sffamily\mdseries\upshape} % (See the fntguide.pdf for font help)
  48. % (This matches ConTeXt defaults)
  49.  
  50. %%% ToC (table of contents) APPEARANCE
  51. \usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
  52. \usepackage[titles,subfigure]{tocloft} % Alter the style of the Table of Contents
  53. \renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
  54. \renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape} % No bold!
  55.  
  56. \usepackage{color}
  57. %\everymath=\expandafter{\the\everymath\displaystyle}
  58. %\DeclareMathSizes{display size}{text size}{script size}{scriptscript size}
  59. \DeclareMathSizes{10}{10}{10}{10}
  60. %%% END Article customizations
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement