template.tex 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. %% template.tex
  2. %% from
  3. %% bare_conf.tex
  4. %% V1.4b
  5. %% 2015/08/26
  6. %% by Michael Shell
  7. %% See:
  8. %% http://www.michaelshell.org/
  9. %% for current contact information.
  10. %%
  11. %% This is a skeleton file demonstrating the use of IEEEtran.cls
  12. %% (requires IEEEtran.cls version 1.8b or later) with an IEEE
  13. %% conference paper.
  14. %%
  15. %% Support sites:
  16. %% http://www.michaelshell.org/tex/ieeetran/
  17. %% http://www.ctan.org/pkg/ieeetran
  18. %% and
  19. %% http://www.ieee.org/
  20. %%*************************************************************************
  21. %% Legal Notice:
  22. %% This code is offered as-is without any warranty either expressed or
  23. %% implied; without even the implied warranty of MERCHANTABILITY or
  24. %% FITNESS FOR A PARTICULAR PURPOSE!
  25. %% User assumes all risk.
  26. %% In no event shall the IEEE or any contributor to this code be liable for
  27. %% any damages or losses, including, but not limited to, incidental,
  28. %% consequential, or any other damages, resulting from the use or misuse
  29. %% of any information contained here.
  30. %%
  31. %% All comments are the opinions of their respective authors and are not
  32. %% necessarily endorsed by the IEEE.
  33. %%
  34. %% This work is distributed under the LaTeX Project Public License (LPPL)
  35. %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
  36. %% distributed and modified. A copy of the LPPL, version 1.3, is included
  37. %% in the base LaTeX documentation of all distributions of LaTeX released
  38. %% 2003/12/01 or later.
  39. %% Retain all contribution notices and credits.
  40. %% ** Modified files should be clearly indicated as such, including **
  41. %% ** renaming them and changing author support contact information. **
  42. %%*************************************************************************
  43. % *** Authors should verify (and, if needed, correct) their LaTeX system ***
  44. % *** with the testflow diagnostic prior to trusting their LaTeX platform ***
  45. % *** with production work. The IEEE's font choices and paper sizes can ***
  46. % *** trigger bugs that do not appear when using other class files. *** ***
  47. % The testflow support page is at:
  48. % http://www.michaelshell.org/tex/testflow/
  49. \documentclass[conference,$if(fontsize)$$fontsize$,$endif$$if(draftmode)$$draftmode$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{IEEEtran}
  50. % Some Computer Society conferences also require the compsoc mode option,
  51. % but others use the standard conference format.
  52. %
  53. % If IEEEtran.cls has not been installed into the LaTeX system files,
  54. % manually specify the path to it like:
  55. % \documentclass[conference]{../sty/IEEEtran}
  56. % Some very useful LaTeX packages include:
  57. % (uncomment the ones you want to load)
  58. % *** MISC UTILITY PACKAGES ***
  59. %
  60. $if(with_ifpdf)$
  61. \usepackage{ifpdf}
  62. $endif$
  63. %\usepackage{ifpdf}
  64. % Heiko Oberdiek's ifpdf.sty is very useful if you need conditional
  65. % compilation based on whether the output is pdf or dvi.
  66. % usage:
  67. % \ifpdf
  68. % % pdf code
  69. % \else
  70. % % dvi code
  71. % \fi
  72. % The latest version of ifpdf.sty can be obtained from:
  73. % http://www.ctan.org/pkg/ifpdf
  74. % Also, note that IEEEtran.cls V1.7 and later provides a builtin
  75. % \ifCLASSINFOpdf conditional that works the same way.
  76. % When switching from latex to pdflatex and vice-versa, the compiler may
  77. % have to be run twice to clear warning/error messages.
  78. % *** CITATION PACKAGES ***
  79. %
  80. $if(with_cite)$
  81. \usepackage{cite}
  82. $endif$
  83. %\usepackage{cite}
  84. % cite.sty was written by Donald Arseneau
  85. % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
  86. % \cite{} output to follow that of the IEEE. Loading the cite package will
  87. % result in citation numbers being automatically sorted and properly
  88. % "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
  89. % cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
  90. % \cite will automatically add leading space, if needed. Use cite.sty's
  91. % noadjust option (cite.sty V3.8 and later) if you want to turn this off
  92. % such as if a citation ever needs to be enclosed in parenthesis.
  93. % cite.sty is already installed on most LaTeX systems. Be sure and use
  94. % version 5.0 (2009-03-20) and later if using hyperref.sty.
  95. % The latest version can be obtained at:
  96. % http://www.ctan.org/pkg/cite
  97. % The documentation is contained in the cite.sty file itself.
  98. % *** GRAPHICS RELATED PACKAGES ***
  99. %
  100. \ifCLASSINFOpdf
  101. % \usepackage[pdftex]{graphicx}
  102. % declare the path(s) where your graphic files are
  103. % \graphicspath{{../pdf/}{../jpeg/}}
  104. % and their extensions so you won't have to specify these with
  105. % every instance of \includegraphics
  106. % \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
  107. \else
  108. % or other class option (dvipsone, dvipdf, if not using dvips). graphicx
  109. % will default to the driver specified in the system graphics.cfg if no
  110. % driver is specified.
  111. % \usepackage[dvips]{graphicx}
  112. % declare the path(s) where your graphic files are
  113. % \graphicspath{{../eps/}}
  114. % and their extensions so you won't have to specify these with
  115. % every instance of \includegraphics
  116. % \DeclareGraphicsExtensions{.eps}
  117. \fi
  118. % graphicx was written by David Carlisle and Sebastian Rahtz. It is
  119. % required if you want graphics, photos, etc. graphicx.sty is already
  120. % installed on most LaTeX systems. The latest version and documentation
  121. % can be obtained at:
  122. % http://www.ctan.org/pkg/graphicx
  123. % Another good source of documentation is "Using Imported Graphics in
  124. % LaTeX2e" by Keith Reckdahl which can be found at:
  125. % http://www.ctan.org/pkg/epslatex
  126. %
  127. % latex, and pdflatex in dvi mode, support graphics in encapsulated
  128. % postscript (.eps) format. pdflatex in pdf mode supports graphics
  129. % in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure
  130. % that all non-photo figures use a vector format (.eps, .pdf, .mps) and
  131. % not a bitmapped formats (.jpeg, .png). The IEEE frowns on bitmapped formats
  132. % which can result in "jaggedy"/blurry rendering of lines and letters as
  133. % well as large increases in file sizes.
  134. %
  135. % You can find documentation about the pdfTeX application at:
  136. % http://www.tug.org/applications/pdftex
  137. % *** MATH PACKAGES ***
  138. %
  139. $if(with_amsmath)$
  140. \usepackage{amsmath}
  141. \interdisplaylinepenalty=2500
  142. $endif$
  143. %\usepackage{amsmath}
  144. % A popular package from the American Mathematical Society that provides
  145. % many useful and powerful commands for dealing with mathematics.
  146. %
  147. % Note that the amsmath package sets \interdisplaylinepenalty to 10000
  148. % thus preventing page breaks from occurring within multiline equations. Use:
  149. %\interdisplaylinepenalty=2500
  150. % after loading amsmath to restore such page breaks as IEEEtran.cls normally
  151. % does. amsmath.sty is already installed on most LaTeX systems. The latest
  152. % version and documentation can be obtained at:
  153. % http://www.ctan.org/pkg/amsmath
  154. % *** SPECIALIZED LIST PACKAGES ***
  155. %
  156. $if(with_algorithmic)$
  157. \usepackage{algorithmic}
  158. $endif$
  159. %\usepackage{algorithmic}
  160. % algorithmic.sty was written by Peter Williams and Rogerio Brito.
  161. % This package provides an algorithmic environment fo describing algorithms.
  162. % You can use the algorithmic environment in-text or within a figure
  163. % environment to provide for a floating algorithm. Do NOT use the algorithm
  164. % floating environment provided by algorithm.sty (by the same authors) or
  165. % algorithm2e.sty (by Christophe Fiorio) as the IEEE does not use dedicated
  166. % algorithm float types and packages that provide these will not provide
  167. % correct IEEE style captions. The latest version and documentation of
  168. % algorithmic.sty can be obtained at:
  169. % http://www.ctan.org/pkg/algorithms
  170. % Also of interest may be the (relatively newer and more customizable)
  171. % algorithmicx.sty package by Szasz Janos:
  172. % http://www.ctan.org/pkg/algorithmicx
  173. % *** ALIGNMENT PACKAGES ***
  174. %
  175. $if(with_array)$
  176. \usepackage{array}
  177. $endif$
  178. %\usepackage{array}
  179. % Frank Mittelbach's and David Carlisle's array.sty patches and improves
  180. % the standard LaTeX2e array and tabular environments to provide better
  181. % appearance and additional user controls. As the default LaTeX2e table
  182. % generation code is lacking to the point of almost being broken with
  183. % respect to the quality of the end results, all users are strongly
  184. % advised to use an enhanced (at the very least that provided by array.sty)
  185. % set of table tools. array.sty is already installed on most systems. The
  186. % latest version and documentation can be obtained at:
  187. % http://www.ctan.org/pkg/array
  188. % IEEEtran contains the IEEEeqnarray family of commands that can be used to
  189. % generate multiline equations as well as matrices, tables, etc., of high
  190. % quality.
  191. % *** SUBFIGURE PACKAGES ***
  192. %\ifCLASSOPTIONcompsoc
  193. % \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
  194. %\else
  195. % \usepackage[caption=false,font=footnotesize]{subfig}
  196. %\fi
  197. % subfig.sty, written by Steven Douglas Cochran, is the modern replacement
  198. % for subfigure.sty, the latter of which is no longer maintained and is
  199. % incompatible with some LaTeX packages including fixltx2e. However,
  200. % subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
  201. % which will override IEEEtran.cls' handling of captions and this will result
  202. % in non-IEEE style figure/table captions. To prevent this problem, be sure
  203. % and invoke subfig.sty's "caption=false" package option (available since
  204. % subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
  205. % handling of captions.
  206. % Note that the Computer Society format requires a larger sans serif font
  207. % than the serif footnote size font used in traditional IEEE formatting
  208. % and thus the need to invoke different subfig.sty package options depending
  209. % on whether compsoc mode has been enabled.
  210. %
  211. % The latest version and documentation of subfig.sty can be obtained at:
  212. % http://www.ctan.org/pkg/subfig
  213. % *** FLOAT PACKAGES ***
  214. %
  215. $if(with_dblfloatfix)$
  216. \usepackage{dblfloatfix}
  217. $endif$
  218. %\usepackage{fixltx2e}
  219. % fixltx2e, the successor to the earlier fix2col.sty, was written by
  220. % Frank Mittelbach and David Carlisle. This package corrects a few problems
  221. % in the LaTeX2e kernel, the most notable of which is that in current
  222. % LaTeX2e releases, the ordering of single and double column floats is not
  223. % guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a
  224. % single column figure to be placed prior to an earlier double column
  225. % figure.
  226. % Be aware that LaTeX2e kernels dated 2015 and later have fixltx2e.sty's
  227. % corrections already built into the system in which case a warning will
  228. % be issued if an attempt is made to load fixltx2e.sty as it is no longer
  229. % needed.
  230. % The latest version and documentation can be found at:
  231. % http://www.ctan.org/pkg/fixltx2e
  232. %\usepackage{stfloats}
  233. % stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
  234. % the ability to do double column floats at the bottom of the page as well
  235. % as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in
  236. % LaTeX2e). It also provides a command:
  237. %\fnbelowfloat
  238. % to enable the placement of footnotes below bottom floats (the standard
  239. % LaTeX2e kernel puts them above bottom floats). This is an invasive package
  240. % which rewrites many portions of the LaTeX2e float routines. It may not work
  241. % with other packages that modify the LaTeX2e float routines. The latest
  242. % version and documentation can be obtained at:
  243. % http://www.ctan.org/pkg/stfloats
  244. % Do not use the stfloats baselinefloat ability as the IEEE does not allow
  245. % \baselineskip to stretch. Authors submitting work to the IEEE should note
  246. % that the IEEE rarely uses double column equations and that authors should try
  247. % to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
  248. % packages (also by Sigitas Tolusis) as the IEEE does not format its papers in
  249. % such ways.
  250. % Do not attempt to use stfloats with fixltx2e as they are incompatible.
  251. % Instead, use Morten Hogholm'a dblfloatfix which combines the features
  252. % of both fixltx2e and stfloats:
  253. %
  254. % \usepackage{dblfloatfix}
  255. % The latest version can be found at:
  256. % http://www.ctan.org/pkg/dblfloatfix
  257. % *** PDF, URL AND HYPERLINK PACKAGES ***
  258. %
  259. %\usepackage{url}
  260. % url.sty was written by Donald Arseneau. It provides better support for
  261. % handling and breaking URLs. url.sty is already installed on most LaTeX
  262. % systems. The latest version and documentation can be obtained at:
  263. % http://www.ctan.org/pkg/url
  264. % Basically, \url{my_url_here}.
  265. % *** Do not adjust lengths that control margins, column widths, etc. ***
  266. % *** Do not use packages that alter fonts (such as pslatex). ***
  267. % There should be no need to do such things with IEEEtran.cls V1.6 and later.
  268. % (Unless specifically asked to do so by the journal or conference you plan
  269. % to submit to, of course. )
  270. %% BEGIN MY ADDITIONS %%
  271. $if(natbib)$
  272. \usepackage{natbib}
  273. \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
  274. $endif$
  275. $if(biblatex)$
  276. \usepackage{biblatex}
  277. \bibliographystyle{IEEEtran}
  278. \bibliography{IEEEabrv,mybibfile}
  279. $if(biblio-files)$
  280. \bibliography{$biblio-files$}
  281. $endif$
  282. $endif$
  283. $if(tables)$
  284. \usepackage{longtable,booktabs}
  285. $endif$
  286. $if(graphics)$
  287. \usepackage{graphicx}
  288. % We will generate all images so they have a width \maxwidth. This means
  289. % that they will get their normal width if they fit onto the page, but
  290. % are scaled down if they would overflow the margins.
  291. \makeatletter
  292. \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth
  293. \else\Gin@nat@width\fi}
  294. \makeatother
  295. \let\Oldincludegraphics\includegraphics
  296. \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
  297. $endif$
  298. \usepackage[unicode=true]{hyperref}
  299. \hypersetup{
  300. $if(title-meta)$
  301. pdftitle={$title-meta$},
  302. $endif$
  303. $if(author-meta)$
  304. pdfauthor={$author-meta$},
  305. $endif$
  306. $if(keywords)$
  307. pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
  308. $endif$
  309. $if(colorlinks)$
  310. colorlinks=true,
  311. linkcolor=$if(linkcolor)$$linkcolor$$else$Magenta$endif$,
  312. citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
  313. urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
  314. $else$
  315. pdfborder={0 0 0},
  316. $endif$
  317. breaklinks=true}
  318. \urlstyle{same} % don't use monospace font for urls
  319. % Pandoc toggle for numbering sections (defaults to be off)
  320. $if(numbersections)$
  321. \setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
  322. $else$
  323. \setcounter{secnumdepth}{0}
  324. $endif$
  325. % Pandoc syntax highlighting
  326. $if(highlighting-macros)$
  327. $highlighting-macros$
  328. $endif$
  329. % Pandoc header
  330. $for(header-includes)$
  331. $header-includes$
  332. $endfor$
  333. \providecommand{\tightlist}{%
  334. \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
  335. %% END MY ADDITIONS %%
  336. \hyphenation{$hyphenfixes$}
  337. \begin{document}
  338. %
  339. % paper title
  340. % Titles are generally capitalized except for words such as a, an, and, as,
  341. % at, but, by, for, in, nor, of, on, or, the, to and up, which are usually
  342. % not capitalized unless they are the first or last word of the title.
  343. % Linebreaks \\ can be used within to get better formatting as desired.
  344. % Do not put math or special symbols in the title.
  345. \title{$title$}
  346. % author names and affiliations
  347. % use a multiple column layout for up to three different
  348. % affiliations
  349. \author{
  350. $for(author)$
  351. \IEEEauthorblockN{$author.name$}
  352. \IEEEauthorblockA{$author.affiliation$\\
  353. $author.department$\\
  354. $author.location$\\
  355. $author.email$
  356. }
  357. $sep$\and
  358. $endfor$
  359. }
  360. % conference papers do not typically use \thanks and this command
  361. % is locked out in conference mode. If really needed, such as for
  362. % the acknowledgment of grants, issue a \IEEEoverridecommandlockouts
  363. % after \documentclass
  364. % for over three affiliations, or if they all won't fit within the width
  365. % of the page, use this alternative format:
  366. %
  367. %\author{\IEEEauthorblockN{Michael Shell\IEEEauthorrefmark{1},
  368. %Homer Simpson\IEEEauthorrefmark{2},
  369. %James Kirk\IEEEauthorrefmark{3},
  370. %Montgomery Scott\IEEEauthorrefmark{3} and
  371. %Eldon Tyrell\IEEEauthorrefmark{4}}
  372. %\IEEEauthorblockA{\IEEEauthorrefmark{1}School of Electrical and Computer Engineering\\
  373. %Georgia Institute of Technology,
  374. %Atlanta, Georgia 30332--0250\\ Email: see http://www.michaelshell.org/contact.html}
  375. %\IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Century Fox, Springfield, USA\\
  376. %Email: [email protected]}
  377. %\IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Academy, San Francisco, California 96678-2391\\
  378. %Telephone: (800) 555--1212, Fax: (888) 555--1212}
  379. %\IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc., 123 Replicant Street, Los Angeles, California 90210--4321}}
  380. % use for special paper notices
  381. %\IEEEspecialpapernotice{(Invited Paper)}
  382. % make the title area
  383. \maketitle
  384. % As a general rule, do not put math, special symbols or citations
  385. % in the abstract
  386. \begin{abstract}
  387. $abstract$
  388. \end{abstract}
  389. % no keywords
  390. % use for special paper notices
  391. $if(IEEEspecialpaper)$
  392. \IEEEspecialpapernotice{$IEEEspecialpaper$}
  393. $endif$
  394. % make the title area
  395. \maketitle
  396. % no keywords
  397. % For peer review papers, you can put extra information on the cover
  398. % page as needed:
  399. % \ifCLASSOPTIONpeerreview
  400. % \begin{center} \bfseries EDICS Category: 3-BBND \end{center}
  401. % \fi
  402. %
  403. % For peerreview papers, this IEEEtran command inserts a page break and
  404. % creates the second title. It will be ignored for other modes.
  405. \IEEEpeerreviewmaketitle
  406. $for(include-before)$
  407. $include-before$
  408. $endfor$
  409. $body$
  410. $if(natbib)$
  411. $if(biblio-files)$
  412. $if(biblio-title)$
  413. $if(book-class)$
  414. \renewcommand\bibname{$biblio-title$}
  415. $else$
  416. \renewcommand\refname{$biblio-title$}
  417. $endif$
  418. $endif$
  419. \bibliography{$biblio-files$}
  420. $endif$
  421. $endif$
  422. $if(biblatex)$
  423. \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
  424. $endif$
  425. $for(include-after)$
  426. $include-after$
  427. $endfor$
  428. \end{document}