-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tex
More file actions
371 lines (294 loc) · 13.3 KB
/
Copy pathexample.tex
File metadata and controls
371 lines (294 loc) · 13.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
\documentclass{sigchi}
% Use this section to set the ACM copyright statement (e.g. for
% preprints). Consult the conference website for the camera-ready
% copyright statement.
% Copyright
\CopyrightYear{2017}
%\setcopyright{acmcopyright}
\setcopyright{acmlicensed}
%\setcopyright{rightsretained}
%\setcopyright{usgov}
%\setcopyright{usgovmixed}
%\setcopyright{cagov}
%\setcopyright{cagovmixed}
% DOI
\doi{http://dx.doi.org/10.475/123_4}
% ISBN
\isbn{123-4567-24-567/08/06}
%Conference
\conferenceinfo{CHI'16,}{May 07--12, 2016, San Jose, CA, USA}
%Price
\acmPrice{\$15.00}
% Use this command to override the default ACM copyright statement
% (e.g. for preprints). Consult the conference website for the
% camera-ready copyright statement.
%% HOW TO OVERRIDE THE DEFAULT COPYRIGHT STRIP --
%% Please note you need to make sure the copy for your specific
%% license is used here!
% \toappear{
% Permission to make digital or hard copies of all or part of this work
% for personal or classroom use is granted without fee provided that
% copies are not made or distributed for profit or commercial advantage
% and that copies bear this notice and the full citation on the first
% page. Copyrights for components of this work owned by others than ACM
% must be honored. Abstracting with credit is permitted. To copy
% otherwise, or republish, to post on servers or to redistribute to
% lists, requires prior specific permission and/or a fee. Request
% permissions from \href{mailto:Permissions@acm.org}{Permissions@acm.org}. \\
% \emph{CHI '16}, May 07--12, 2016, San Jose, CA, USA \\
% ACM xxx-x-xxxx-xxxx-x/xx/xx\ldots \$15.00 \\
% DOI: \url{http://dx.doi.org/xx.xxxx/xxxxxxx.xxxxxxx}
% }
% Arabic page numbers for submission. Remove this line to eliminate
% page numbers for the camera ready copy
% \pagenumbering{arabic}
% Load basic packages
\usepackage{balance} % to better equalize the last page
\usepackage{graphics} % for EPS, load graphicx instead
\usepackage[T1]{fontenc} % for umlauts and other diaeresis
\usepackage{txfonts}
\usepackage{mathptmx}
\usepackage[pdflang={en-US},pdftex]{hyperref}
\usepackage{color}
\usepackage{booktabs}
\usepackage{textcomp}
% Some optional stuff you might like/need.
\usepackage{microtype} % Improved Tracking and Kerning
% \usepackage[all]{hypcap} % Fixes bug in hyperref caption linking
\usepackage{ccicons} % Cite your images correctly!
% \usepackage[utf8]{inputenc} % for a UTF8 editor only
% If you want to use todo notes, marginpars etc. during creation of
% your draft document, you have to enable the "chi_draft" option for
% the document class. To do this, change the very first line to:
% "\documentclass[chi_draft]{sigchi}". You can then place todo notes
% by using the "\todo{...}" command. Make sure to disable the draft
% option again before submitting your final document.
\usepackage{todonotes}
% Paper metadata (use plain text, for PDF inclusion and later
% re-using, if desired). Use \emtpyauthor when submitting for review
% so you remain anonymous.
\def\plaintitle{SRL Latex Guide}
\def\plainauthor{SRL Latex Savants}
\def\emptyauthor{}
\def\plainkeywords{Authors' choice; of terms; separated; by
semicolons; include commas, within terms only; required.}
\def\plaingeneralterms{Documentation, Standardization}
% llt: Define a global style for URLs, rather that the default one
\makeatletter
\def\url@leostyle{%
\@ifundefined{selectfont}{
\def\UrlFont{\sf}
}{
\def\UrlFont{\small\bf\ttfamily}
}}
\makeatother
\urlstyle{leo}
% To make various LaTeX processors do the right thing with page size.
\def\pprw{8.5in}
\def\pprh{11in}
\special{papersize=\pprw,\pprh}
\setlength{\paperwidth}{\pprw}
\setlength{\paperheight}{\pprh}
\setlength{\pdfpagewidth}{\pprw}
\setlength{\pdfpageheight}{\pprh}
% Make sure hyperref comes last of your loaded packages, to give it a
% fighting chance of not being over-written, since its job is to
% redefine many LaTeX commands.
\definecolor{linkColor}{RGB}{6,125,233}
\hypersetup{%
pdftitle={\plaintitle},
% Use \plainauthor for final version.
% pdfauthor={\plainauthor},
pdfauthor={\emptyauthor},
pdfkeywords={\plainkeywords},
pdfdisplaydoctitle=true, % For Accessibility
bookmarksnumbered,
pdfstartview={FitH},
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=linkColor,
breaklinks=true,
hypertexnames=false
}
% create a shortcut to typeset table headings
% \newcommand\tabhead[1]{\small\textbf{#1}}
% SRL commands to control commenting/blinding/etc
%\newcommand*{\srlhidecomments}{}% %put this line (uncommented) in your document to hide comments
%\newcommand*{\srlblind}{}% %put this line (uncommented)in your document to turn blinding on
\input{srl.tex} %uncomment this to include this file so you get all the nice commands...
% End of preamble. Here it comes the document.
\begin{document}
\title{\plaintitle}
\numberofauthors{2}
\author{%
\alignauthor{SRL LaTeX Savants\\
\affaddr{McGill University}\\
\affaddr{Montréal, Canada}\\
\email{e-mail address}}\\
\alignauthor{Jeremy Cooperstock\\
\affaddr{McGill University}\\
\affaddr{Montreal, Canada}\\
\email{e-mail address}}\\
}
\maketitle
\begin{abstract}
A sample document that demonstrates srl.tex and gives specific advice for how we do papers, plus general tips and tricks...
\end{abstract}
\category{H.5.m.}{HCI}{Miscellaneous} \category{}{}{}
\keywords{Human-Human Communication}
\section{Introduction}
Welcome to SRL.
We use LaTeX.
\hide{
\subsection{Problems in Everyday Communication}
\begin{itemize}
\item
Asymmetry Symmetry (abilities, age, gender, culture, needs, dependency, etc.)
\item
Intrusiveness, Demanding attentions Connectedness
\item
Situation is multiple-layered, complicated
\item
Stress with the overloaded cognition, and perception (vision, audio, haptic)
\item
Importance of managing secret, etc.
\end{itemize}
\subsection{Objectives}
\begin{itemize}
\item
Identify key issues:
\begin{itemize}
\item
problematic phenomena occur in focused situations, dimension of asymmetry, etc.
\end{itemize}
\item
Develop new media technology for communication X that address a subset of key issues
\end{itemize}
Identify key issues:
problematic phenomena occur in focused situations, dimension of asymmetry, etc.
}
\section{SRL commands in srl.tex}
\subsection{commenting}
For comments, you use a commenting command based on your name, which you have to set up in srl.tex.
Put it in the master version so that everyone gets it for free when they update their srl.tex file.
Note that before the command there is no space, since otherwise when you shut comments off to send camera ready copy, things will format funny\jef{ here is an example comment, note no space before the command in the LaTeX code!}.
Uncomment the srlhidecomments command at the top of your document to hide all the comments, e.g., before you submit the PDF!
Blinding the authors can be more tricky, and may need to be done by hand.
\subsection{hide}
If there are things you want to effectively comment out, use the hide command.
This should be the last sentence you see in this section in the PDF, but there is actually a hide line right after this.
\hide{This does not appear in the compiled PDF!}
\subsection{blinding}
Most conferences want you to anonymize your publication for review, so that nobody knows who wrote it.
If you use the blind command, your secret text will be \blind{normal like this}, but when you uncomment the srlblind command at the top of the document, they will magically become [omitted for blind review].
Thus, you can toggle it on and off for the entire document to get your pagination and such correct.
\section{Top 10 SRL tips and tricks}
\begin{enumerate}
\item
Compile your document often.
NEVER check in a new version without first compiling it.
If you don't check, you'll forget a brace somewhere, and everyone else working on the document will hate you.
Same goes for missing included files, such as figures, that you did not include in your commit.
\item
Don't ever use the built in latex tables.
They are super ugly.
Use booktabs instead.\footnote{\url{http://cs.brown.edu/about/system/managed/latex/doc/booktabs.pdf}}
Note that the package is already included in srl.tex.
Wikibooks has a short tutorial that explains them fairly well.
\jer{an example would be nice; I've actually found the \LaTeX table and longtable environments perfectly adequate, so am curious to see the difference}\jef{There are examples in the footnoted URL, but you can also use booktabs with longtable...booktabs makes the tables publication-quality, and longtable makes splits across pages better. The footnoted link provides more information about using them together, and this link covers many tabular-related latex packages\footnote{\url{http://tex.stackexchange.com/questions/12672/which-tabular-packages-do-which-tasks-and-which-packages-conflict}}.}
\dan{There is also this handy website\footnote{\url{http://www.tablesgenerator.com/}} that facilitates table making. Don't forget to change the table style! Look for the drop-down menu at the far right of the bold/italic toolbar.}
\item
Put each sentence on its own line.
If you don't, you'll be very sad when trying to do merges via source control (svn/git).
This won't bother you until everyone is editing at once, which usually happens right before deadline, and then you will curse yourself for not listening.
\item
Just before you use the ref command to do a citation, use a tilde to make a non-breaking space (replacing the normal space), so that your citation index does not bump to the next line.
\end{enumerate}
\section{Overleaf and git}
As a general guideline, never commit generated files, such as PDFs or .aux (etc.) files - there is a .gitignore file at /home/srecollab/git/gitignoreLatex.
If you want to use both Overleaf and a local git, that is possible, as is putting everything into the lab git repository on barn.
Basic steps :
\begin{enumerate}
\item Git clone the repository from barn
\item Set a second remote to overleaf
\item git push to one or both remotes as you make changes
\end{enumerate}
I suggest that we put the overleaf URL in the document as a comment so we know where to find it.
Also, note that Overleaf probably is not a good place to put confidential (e.g., participant) data, so be careful.
\section{Citations}
This is a must to cover, at least briefly, since it's often done wrong.
Make sure to add your citations in an external .bib file such as the sample.bib here.
It doesn't matter whether you use a bib generator such as Mendeley or "do it yourself".
Here's a citation to the Sensorama, an important piece of prior literature of relevance to Shared Reality~\cite{heilig:sensorama}.
\section{Tutorial notes and stuff to add later}
Before we do a live tutorial, please use either overleaf or a local install (e.g., texmaker) to create a simple LaTeX document and compile it to PDF.
There are many online tutorials for this (suggestions?).
For the tutorial, will use a lab UIST paper as an example:
%\begin{verbatim}
git clone \url{git+ssh://$USER@barn.cim.mcgill.ca/home/srecollab/git/publications/2015-CHI-jeffbl-HapticPerception.git}
%\end{verbatim}
figures/images : placement on page, column widths, subfig, full width, labeling and referring
tweaking space (vspace)
math/equations $x= \sum_a^b y^3$ Note that you can build them online graphically, e.g. \url{http://www.sciweavers.org/free-online-latex-equation-editor}
common special characters (e.g., degree symbol)
final bib tweaks - e.g., condensing conference/journal names
cleaning up for submitting LaTeX source
noindent
bibtex/mendeley
what to do if can't find command? google it and install the package. on ubuntu at least, do *not* try and manually install individual packages except as a last resort - figure out which texlive package it is in, and just install the whole thing (use \url{http://packages.ubuntu.com} for example and search for the package containing the filename).
Advanced things not covered : draft mode,
\section{Annotations Test Area}
\jer{test}
\jef{test}
\jan{test}
\pef{test}
\dan{test}
\guofan{test}
\taeyong{test}
\hao{test}
\paris{test}
\rog{test}
\joe{test}
\gan{test}
\zored{test}
\lis{test}
\Catherine{test}
\pre{test}
\reb{test}
\bij{test}
\fer{test}
\ani{test}
\oli{test}
\rev{test}
% Balancing columns in a ref list is a bit of a pain because you
% either use a hack like flushend or balance, or manually insert
% a column break. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=balance
% multicols doesn't work because we're already in two-column mode,
% and flushend isn't awesome, so I choose balance. See this
% for more info: http://cs.brown.edu/system/software/latex/doc/balance.pdf
%
% Note that in a perfect world balance wants to be in the first
% column of the last page.
%
% If balance doesn't work for you, you can remove that and
% hard-code a column break into the bbl file right before you
% submit:
%
% http://stackoverflow.com/questions/2149854/how-to-manually-equalize-columns-
% in-an-ieee-paper-if-using-bibtex
%
% Or, just remove \balance and give up on balancing the last page.
%
% BALANCE COLUMNS
\balance{}
% REFERENCES FORMAT
% References must be the same font size as other body text.
\bibliographystyle{SIGCHI-Reference-Format}
\bibliography{sample}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: