├── LICENSE ├── README.md ├── figure.pdf ├── mainTemplatePDF.pdf ├── mainTemplatePDF.tex ├── refs.bib └── simpleConference.sty /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Ruoho Ruotsi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # latex-template-arxiv-preprint 2 | A simple LaTeX template for Technical Reports, arXiv preprints & 2-column Conference papers 3 | -------------------------------------------------------------------------------- /figure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruohoruotsi/latex-template-arxiv-preprint/ac24f569abb5f67cdbf00cac88b707738fbd52da/figure.pdf -------------------------------------------------------------------------------- /mainTemplatePDF.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruohoruotsi/latex-template-arxiv-preprint/ac24f569abb5f67cdbf00cac88b707738fbd52da/mainTemplatePDF.pdf -------------------------------------------------------------------------------- /mainTemplatePDF.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt,twocolumn]{article} 2 | \usepackage{simpleConference} 3 | \usepackage{times} 4 | \usepackage{graphicx} 5 | \usepackage{amssymb} 6 | \usepackage{url,hyperref} 7 | 8 | \begin{document} 9 | 10 | \title{\LaTeX\ Template for a Simple, Two-Column Paper} 11 | 12 | \author{Iroro Orife \\ 13 | \\ 14 | Technical Report \\ 15 | Seattle, Washington, USA \\ 16 | \today 17 | \\ 18 | \\ 19 | iroro@alumni.cmu.edu \\ 20 | } 21 | 22 | \maketitle 23 | \thispagestyle{empty} 24 | 25 | \begin{abstract} 26 | The material in this template is an edited \& \LaTeX\--ified version of the recommendations here: \url{http://cs.stanford.edu/people/widom/paper-writing.html} The objective would be to help us writers, stay on topic and focused for each section of a report. 27 | 28 | For the abstract state the problem, your approach and solution, and the main contributions of the paper. Include little if any background and motivation. Be factual but comprehensive. The material in the abstract should not be repeated later word for word in the paper. 29 | \end{abstract} 30 | 31 | 32 | \section{Introduction} 33 | The Introduction is crucially important. By the time a referee has finished the Introduction, he's probably made an initial decision about whether to accept or reject the paper. He'll read the rest of the paper looking for evidence to support his decision. A casual reader will continue on if the Introduction captivated him, and will set the paper aside otherwise. 34 | Here is the Stanford InfoLab's patented five-point structure for Introductions. Unless there's a good argument against it, the Introduction should consist of five paragraphs answering the following five questions: 35 | 36 | \begin{description} 37 | \item[$\bullet$] What is the problem? 38 | \item[$\bullet$] Why is it interesting and important? 39 | \item[$\bullet$] Why is it hard? Why do naive approaches fail? 40 | \item[$\bullet$] Why hasn't it been solved before? What's wrong with previous proposed solutions? How does mine differ? 41 | \item[$\bullet$] What are the key components of my approach and results? Also include any specific limitations. 42 | \end{description} 43 | 44 | Then have a final paragraph or subsection: ``Summary of Contributions". It should list the major contributions in bullet form, mentioning in which sections they can be found. This material doubles as an outline of the rest of the paper, saving space and eliminating redundancy. 45 | 46 | \section{Related Work} 47 | 48 | The perennial question: Should related work be covered near the beginning of the paper or near the end? 49 | 50 | \begin{description} 51 | \item[$\bullet$] Beginning, if it can be short yet detailed enough, or if it's critical to take a strong defensive stance about previous work right away. In this case Related Work can be either a subsection at the end of the Introduction, or its own Section 2. 52 | \item[$\bullet$] End, if it can be summarized quickly early on (in the Introduction or Preliminaries), or if sufficient comparisons require the technical content of the paper. In this case Related Work should appear just before the Conclusions, possibly in a more general section ``Discussion and Related Work". 53 | \end{description} 54 | 55 | \section{The Body} 56 | 57 | \textbf{Guideline 1:} A clear new important technical contribution should have been articulated by the time the reader finishes page 3 i.e., a quarter of the way through the paper. 58 | 59 | \textbf{Guideline 2:} Every section of the paper should tell a story. Don't, however, fall into the common trap of telling the entire story of how you arrived at your results. Just tell the story of the results themselves. The story should be linear, keeping the reader engaged at every step and looking forward to the next step. There should be no significant interruptions -- those can go in the Appendix. 60 | \\ 61 | \\ 62 | Aside from these guidelines, which apply to every paper, the structure of the body varies a lot depending on content. Important components are: 63 | 64 | \begin{description} 65 | \item[$\bullet$] Running Example: When possible, use a running example throughout the paper. It can be introduced either as a subsection at the end of the Introduction, or its own Section 2 or 3 (depending on Related Work). 66 | \item[$\bullet$] Preliminaries: This section, which follows the Introduction and possibly Related Work and/or Running Example, sets up notation and terminology that is not part of the technical contribution. One important function of this section is to delineate material that's not original but is needed for the paper. Be concise -- remember Guideline 1. 67 | \item[$\bullet$] Content: The meat of the paper includes algorithms, system descriptions, new language constructs, analyses, etc. Whenever possible use a ``top-down" description: readers should be able to see where the material is going, and they should be able to skip ahead and still get the idea. 68 | \end{description} 69 | 70 | 71 | \section{Performance Experiments} 72 | 73 | We could have an entire treatise on this topic alone and I am surely not the expert. Here are some random thoughts: 74 | 75 | \begin{description} 76 | \item[$\bullet$] Many conferences expect experiments. 77 | \item[$\bullet$] It's easy to do ``hokey" or meaningless experiments, and many papers do. 78 | \item[$\bullet$] It's easy to craft experiments to show your work in its best light, and most papers do. 79 | \item[$\bullet$] What should performance experiments measure? Possibilities: 80 | \begin{description} 81 | \item[$\bullet$] Pure running time 82 | \item[$\bullet$] Sensitivity to important parameters 83 | \item[$\bullet$] Scalability in various aspects: data size, problem complexity, ... 84 | \end{description} 85 | \item[$\bullet$] What should performance experiments show? Possibilities: 86 | \begin{description} 87 | \item[$\bullet$] Absolute performance i.e., it's acceptable/usable 88 | \item[$\bullet$] Relative performance to naive approaches 89 | \item[$\bullet$] Relative performance to previous approaches 90 | \item[$\bullet$] Relative performance among different proposed approaches 91 | \end{description} 92 | \item[$\bullet$] 93 | \end{description} 94 | 95 | 96 | \section{The Conclusions} 97 | 98 | In general a short summarizing paragraph will do, and under no circumstances should the paragraph simply repeat material from the Abstract or Introduction. In some cases it's possible to now make the original claims more concrete, e.g., by referring to quantitative performance results. 99 | 100 | \section{Future Work} 101 | 102 | This material is important -- part of the value of a paper is showing how the work sets new research directions. I like bullet lists here. A couple of things to keep in mind: 103 | \begin{description} 104 | \item[$\bullet$] If you're actively engaged in follow-up work, say so. E.g.: ``We are currently extending the algorithm to... blah blah, and preliminary results are encouraging." This statement serves to mark your territory. 105 | \item[$\bullet$] Conversely, be aware that some researchers look to Future Work sections for research topics. My opinion is that there's nothing wrong with that -- consider it a compliment. 106 | \end{description} 107 | 108 | \section{The Acknowledgements} 109 | 110 | Don't forget them or you'll have people with hurt feelings. Acknowledge anyone who contributed in any way: through discussions, feedback on drafts, implementation, etc. If in doubt about whether to include someone, include them. 111 | 112 | 113 | \section{Citations} 114 | 115 | Spend the effort to make all citations complete and consistent. Do not just copy random inconsistent BibTex (or other) entries from the web and call it a day. Check over your final bibliography carefully and make sure every entry looks right. 116 | 117 | \section{Appendix A} 118 | This is a simple sample of a document created using \LaTeX 119 | (specifically pdflatex) that includes a figure from the Vergil visual editor for Ptolemy II 120 | that was created by printing to the Acrobat Distiller to get a PDF file. 121 | It also illustrates a simple two-column conference paper style, 122 | and use of bibtex to handle bibligraphies. 123 | 124 | This is a sample document for use with pdflatex, which is 125 | a program that is included with the Miktex distribution 126 | that directly produces PDF files from \LaTeX sources. 127 | To run \LaTeX on this file, you need the following files: 128 | \begin{enumerate} 129 | \item templatePDF.tex (this file) 130 | \item figure.pdf (the figure file) 131 | \item simpleConference.sty (style file) 132 | \item refs.bib (bibiliography file) 133 | \end{enumerate} 134 | \noindent 135 | To create a PDF file, execute the following commands: 136 | \begin{enumerate} 137 | \item pdflatex mainTemplatePDF 138 | \item bibtex mainTemplatePDF 139 | \item pdflatex mainTemplatePDF 140 | \item pdflatex mainTemplatePDF 141 | \end{enumerate} 142 | \noindent 143 | Yes (strangely) it is necessary to run pdflatex three times. 144 | The result will be a PDF file (plus several other files that \LaTeX 145 | produces). You will need a mechanism, of course, for executing 146 | commands on the command line. If you are using Windows, I recommend 147 | installing Cygwin and using its bash shell. 148 | 149 | \section{Appendix B: How to Include Vergil Diagrams as Figures} 150 | 151 | \begin{figure}[!b] 152 | \begin{center} 153 | \includegraphics[width=3.5in]{figure.pdf} 154 | \end{center} 155 | 156 | \caption{\small Figure caption. To get a figure to span two 157 | columns, use the environment figure* rather than figure.} 158 | \label{fig-label} 159 | \end{figure} 160 | 161 | 162 | Suppose you wish to include a figure, like that in figure \ref{fig-label}. 163 | The simplest mechanism is to install Adobe Acrobat, which includes 164 | a ``printer'' called ``Acrobat Distiller.'' Printing to this printer 165 | creates a PDF file, which can be included in a document as shown 166 | here. To include Ptolemy II models \cite{PtolemyVol1:04}, 167 | just print to the distiller from within Vergil and reference 168 | the PDF file in your \LaTeX document. 169 | 170 | There is a bit more work to do, however. 171 | The file that is produced by the distiller represents 172 | a complete page, not the individual figure. 173 | You can open it in using Acrobat (version 5.0 or later), 174 | and select Document $\rightarrow$ Crop Pages from the menu. 175 | In the resulting dialog, check ``Remove White Margins.'' 176 | Save the modified PDF file in a file and then reference 177 | it in the \LaTeX file as shown in this example. 178 | 179 | An alternative is to generate EPS (encapsulated postscript), 180 | but the process is much more complex and fragile. 181 | I recommend using pdflatex and Adobe Acrobat. 182 | 183 | \bibliographystyle{abbrv} 184 | \bibliography{refs} 185 | \end{document} 186 | -------------------------------------------------------------------------------- /refs.bib: -------------------------------------------------------------------------------- 1 | @techreport{PtolemyVol1:04, 2 | Author = {Brooks, C. and Lee, E. A. and Liu, X. and Neuendorffer, S. and Zhao, Y. and Zheng, H.}, 3 | Title = {Heterogeneous Concurrent Modeling and Design in Java}, 4 | Institution = {University of California}, 5 | Number = {Technical Memorandum UCB/ERL M04/27}, 6 | Month= {July 29}, 7 | URL ={http://ptolemy.eecs.berkeley.edu/publications/papers/04/ptIIDesignIntro/}, 8 | Year = {2004} 9 | } -------------------------------------------------------------------------------- /simpleConference.sty: -------------------------------------------------------------------------------- 1 | % --------------------------------------------------------------- 2 | % Style file for simple, two column conference papers. 3 | % Based on latex8.sty by Paolo.Ienne@di.epfl.ch 4 | % --------------------------------------------------------------- 5 | % Use with LaTeX2e as: 6 | % \documentclass[times,10pt,twocolumn]{article} 7 | % \usepackage{simpleConference} 8 | % \usepackage{times} 9 | % --------------------------------------------------------------- 10 | % specify references as 11 | % \bibliographystyle{simpleConference} 12 | % \bibliography{...your files...} 13 | % 14 | % use Section{} and SubSection{} instead of standard section{} 15 | % and subsection{} to obtain headings in the form 16 | % "1.3. My heading" 17 | % --------------------------------------------------------------- 18 | % ten point helvetica bold required for captions 19 | % in some sites the name of the helvetica bold font may differ, 20 | % change the name here: 21 | \font\tenhv = phvb at 10pt 22 | 23 | % eleven point times bold required for second-order headings 24 | \font\elvbf = ptmb scaled 1100 25 | 26 | % set dimensions of columns, gap between columns, and paragraph indent 27 | \setlength{\textheight}{8.875in} 28 | \setlength{\textwidth}{6.875in} 29 | \setlength{\columnsep}{0.3125in} 30 | \setlength{\topmargin}{0in} 31 | \setlength{\headheight}{0in} 32 | \setlength{\headsep}{0in} 33 | \setlength{\parindent}{1pc} 34 | \setlength{\oddsidemargin}{-.304in} 35 | \setlength{\evensidemargin}{-.304in} 36 | 37 | % memento from size10.clo 38 | % \normalsize{\@setfontsize\normalsize\@xpt\@xiipt} 39 | % \small{\@setfontsize\small\@ixpt{11}} 40 | % \footnotesize{\@setfontsize\footnotesize\@viiipt{9.5}} 41 | % \scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} 42 | % \tiny{\@setfontsize\tiny\@vpt\@vipt} 43 | % \large{\@setfontsize\large\@xiipt{14}} 44 | % \Large{\@setfontsize\Large\@xivpt{18}} 45 | % \LARGE{\@setfontsize\LARGE\@xviipt{22}} 46 | % \huge{\@setfontsize\huge\@xxpt{25}} 47 | % \Huge{\@setfontsize\Huge\@xxvpt{30}} 48 | 49 | \def\@maketitle 50 | { 51 | \newpage 52 | \null 53 | \vskip .375in 54 | \begin{center} 55 | {\Large \bf \@title \par} 56 | % additional two empty lines at the end of the title 57 | \vspace*{24pt} 58 | { 59 | \large 60 | \lineskip .5em 61 | \begin{tabular}[t]{c} 62 | \@author 63 | \end{tabular} 64 | \par 65 | } 66 | % additional small space at the end of the author name 67 | \vskip .5em 68 | { 69 | \large 70 | \begin{tabular}[t]{c} 71 | \@affiliation 72 | \end{tabular} 73 | \par 74 | \ifx \@empty \@email 75 | \else 76 | \begin{tabular}{r@{~}l} 77 | E-mail: & {\tt \@email} 78 | \end{tabular} 79 | \par 80 | \fi 81 | } 82 | % additional empty line at the end of the title block 83 | \vspace*{12pt} 84 | \end{center} 85 | } 86 | 87 | \def\abstract 88 | {% 89 | \centerline{\large\bf Abstract}% 90 | \vspace*{12pt}% 91 | % \it% %%%% iroro - commenting out italicized abstract 92 | } 93 | 94 | \def\endabstract 95 | { 96 | % additional empty line at the end of the abstract 97 | \vspace*{12pt} 98 | } 99 | 100 | \def\affiliation#1{\gdef\@affiliation{#1}} \gdef\@affiliation{} 101 | 102 | \def\email#1{\gdef\@email{#1}} 103 | \gdef\@email{} 104 | 105 | \newlength{\@ctmp} 106 | \newlength{\@figindent} 107 | \setlength{\@figindent}{1pc} 108 | 109 | \long\def\@makecaption#1#2{ 110 | \vskip 10pt 111 | \setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2} 112 | \setlength{\@ctmp}{\hsize} 113 | \addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent} 114 | % IF longer than one indented paragraph line 115 | \ifdim \wd\@tempboxa >\@ctmp 116 | % THEN set as an indented paragraph 117 | \begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin} 118 | \item[]\tenhv #1.~#2\par 119 | \end{list} 120 | \else 121 | % ELSE center 122 | \hbox to\hsize{\hfil\box\@tempboxa\hfil} 123 | \fi} 124 | 125 | % correct heading spacing and type 126 | \def\section{\@startsection {section}{1}{\z@} 127 | {14pt plus 2pt minus 2pt}{14pt plus 2pt minus 2pt} {\large\bf}} 128 | \def\subsection{\@startsection {subsection}{2}{\z@} 129 | {13pt plus 2pt minus 2pt}{13pt plus 2pt minus 2pt} {\elvbf}} 130 | 131 | % add the period after section numbers 132 | \newcommand{\Section}[1]{\section{\hskip -1em.~#1}} 133 | \newcommand{\SubSection}[1]{\subsection{\hskip -1em.~#1}} 134 | 135 | % end of file latex8.sty 136 | % --------------------------------------------------------------- 137 | --------------------------------------------------------------------------------