Guest User

Untitled

a guest
May 15th, 2012
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 3.14 KB | None | 0 0
  1. % !TEX TS-program = pdflatex
  2. % !TEX encoding = UTF-8 Unicode
  3.  
  4. % This is a simple template for a LaTeX document using the "article" class.
  5. % See "book", "report", "letter" for other types of document.
  6.  
  7. \documentclass[11pt]{article} % use larger type; default would be 10pt
  8.  
  9. \usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
  10.  
  11. %%% Examples of Article customizations
  12. % These packages are optional, depending whether you want the features they provide.
  13. % See the LaTeX Companion or other references for full information.
  14.  
  15. %%% PAGE DIMENSIONS
  16. \usepackage{geometry} % to change the page dimensions
  17. \geometry{a4paper} % or letterpaper (US) or a5paper or....
  18. % \geometry{margins=2in} % for example, change the margins to 2 inches all round
  19. % \geometry{landscape} % set up the page for landscape
  20. %   read geometry.pdf for detailed page layout information
  21.  
  22. \usepackage{graphicx} % support the \includegraphics command and options
  23.  
  24. % \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
  25.  
  26. %%% PACKAGES
  27. \usepackage{booktabs} % for much better looking tables
  28. \usepackage{array} % for better arrays (eg matrices) in maths
  29. \usepackage{paralist} % very flexible & customisable lists (eg. enumerate/itemize, etc.)
  30. \usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
  31. \usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
  32. % These packages are all incorporated in the memoir class to one degree or another...
  33.  
  34. %%% HEADERS & FOOTERS
  35. \usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
  36. \pagestyle{fancy} % options: empty , plain , fancy
  37. \renewcommand{\headrulewidth}{0pt} % customise the layout...
  38. \lhead{}\chead{}\rhead{}
  39. \lfoot{}\cfoot{\thepage}\rfoot{}
  40.  
  41. %%% SECTION TITLE APPEARANCE
  42. \usepackage{sectsty}
  43. \allsectionsfont{\sffamily\mdseries\upshape} % (See the fntguide.pdf for font help)
  44. % (This matches ConTeXt defaults)
  45.  
  46. %%% ToC (table of contents) APPEARANCE
  47. \usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
  48. \usepackage[titles,subfigure]{tocloft} % Alter the style of the Table of Contents
  49. \renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
  50. \renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape} % No bold!
  51.  
  52. %%% END Article customizations
  53.  
  54. %%% The "real" document content comes below...
  55.  
  56. \title{Brief Article}
  57. \author{The Author}
  58. %\date{} % Activate to display a given date or no date (if empty),
  59.          % otherwise the current date is printed
  60.  
  61. \begin{document}
  62. \maketitle
  63.  
  64. \section{First section}
  65.  
  66. Your text goes here.
  67.  
  68. \subsection{A subsection}
  69.  
  70. More text.
  71.  
  72. \begin{figure}[t] % % DO NOT REMOVE [h] option!
  73. \centering
  74. \mbox{
  75. \subfigure[Trip trajectories of a moving object.] {\label{fig:triproutes}
  76. \includegraphics[width=.35\linewidth]{rowmajor} }\quad
  77. \subfigure [Sample trajectories of set of moving objects.] {\label{fig:trips_high}
  78. \includegraphics[width=.35\linewidth]{zorder} }
  79. }
  80. \vspace{-0.6em}
  81. \caption{Moving object trajectories.}
  82. \label{fig:MOtraj}
  83. %\vspace{-1.49em}
  84. \end{figure}
  85.  
  86.  
  87. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment