SHOW:
|
|
- or go back to the newest paste.
| 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} |
| 87 | + | \end{document}
|
| 88 | ||
| 89 | ||
| 90 | ||
| 91 | This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) | |
| 92 | restricted \write18 enabled. | |
| 93 | entering extended mode | |
| 94 | (./test.tex | |
| 95 | LaTeX2e <2011/06/27> | |
| 96 | Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge | |
| 97 | rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi | |
| 98 | c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis | |
| 99 | h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis | |
| 100 | h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian, | |
| 101 | icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or | |
| 102 | iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, | |
| 103 | lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol | |
| 104 | ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven | |
| 105 | ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded | |
| 106 | . | |
| 107 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls | |
| 108 | Document Class: article 2007/10/19 v1.4h Standard LaTeX document class | |
| 109 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size11.clo)) | |
| 110 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/inputenc.sty | |
| 111 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/utf8.def | |
| 112 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.dfu) | |
| 113 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ot1enc.dfu) | |
| 114 | (/usr/local/texlive/2011/texmf-dist/tex/latex/base/omsenc.dfu))) | |
| 115 | (/usr/local/texlive/2011/texmf-dist/tex/latex/geometry/geometry.sty | |
| 116 | (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty) | |
| 117 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty) | |
| 118 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifvtex.sty) | |
| 119 | (/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty)) | |
| 120 | (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty | |
| 121 | (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty | |
| 122 | (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty) | |
| 123 | (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg) | |
| 124 | (/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def | |
| 125 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty) | |
| 126 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))) | |
| 127 | (/usr/local/texlive/2011/texmf-dist/tex/latex/booktabs/booktabs.sty) | |
| 128 | (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/array.sty) | |
| 129 | (/usr/local/texlive/2011/texmf-dist/tex/latex/paralist/paralist.sty) | |
| 130 | (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/verbatim.sty) | |
| 131 | (/usr/local/texlive/2011/texmf-dist/tex/latex/subfig/subfig.sty | |
| 132 | (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption.sty | |
| 133 | (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption3.sty))) | |
| 134 | (/usr/local/texlive/2011/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) | |
| 135 | (/usr/local/texlive/2011/texmf-dist/tex/latex/sectsty/sectsty.sty) | |
| 136 | (/usr/local/texlive/2011/texmf-dist/tex/latex/tocbibind/tocbibind.sty | |
| 137 | ||
| 138 | Package tocbibind Note: Using section or other style headings. | |
| 139 | ||
| 140 | ) (/usr/local/texlive/2011/texmf-dist/tex/latex/tocloft/tocloft.sty) | |
| 141 | No file test.aux. | |
| 142 | *geometry* driver: auto-detecting | |
| 143 | *geometry* detected driver: pdftex | |
| 144 | (/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii | |
| 145 | [Loading MPS to PDF converter (version 2006.09.02).] | |
| 146 | ) (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty | |
| 147 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty)) | |
| 148 | (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty | |
| 149 | (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty | |
| 150 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty)) | |
| 151 | (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty | |
| 152 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty | |
| 153 | (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty))) | |
| 154 | (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) | |
| 155 | ! Undefined control sequence. | |
| 156 | <argument> \subfigure | |
| 157 | [Trip trajectories of a moving object.] {\label {fig:...
| |
| 158 | l.79 } | |
| 159 | ||
| 160 | ? |