Debian Codegraph @

texmf-dist/doc/latex/acmconf/error.tex

raw
1 %%
2 %% This is file `error.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% acmconf.dtx (with options: `error,body')
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from error.tex.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file acmconf.dtx.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 %%
24 %% to test the checksum, uncomment \OnlyDescription
25 %% in the driver
26 %%\fi
27 %%
28 %% \CharacterTable
29 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
30 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
31 %% Digits \0\1\2\3\4\5\6\7\8\9
32 %% Exclamation \! Double quote \" Hash (number) \#
33 %% Dollar \$ Percent \% Ampersand \&
34 %% Acute accent \' Left paren \( Right paren \)
35 %% Asterisk \* Plus \+ Comma \,
36 %% Minus \- Point \. Solidus \/
37 %% Colon \: Semicolon \; Less than \<
38 %% Equals \= Greater than \> Question mark \?
39 %% Commercial at \@ Left bracket \[ Backslash \\
40 %% Right bracket \] Circumflex \^ Underscore \_
41 %% Grave accent \` Left brace \{ Vertical bar \|
42 %% Right brace \} Tilde \~}
43
44
45 \documentclass[print]{acmconf}
46
47 %% LaTeXing this file should produce some errors.
48
49 \pagestyle{headings}
50
51 \IfFileExists{graphicx.sty}{\usepackage{graphicx}}{}
52
53 \def\XX{More text should follow, but keep in mind that a limit of 6
54 pages has been set, including figures and references. More text
55 should follow, but keep in mind that a limit of 6 pages has been
56 set, including figures and references. More text should follow, but
57 keep in mind that a limit of 6 pages has been set, including figures
58 and references. More text should follow, but keep in mind that a
59 limit of 6 pages has been set, including figures and references.
60 \par
61 }
62
63 \begin{document}
64 \date{31. December 1999}
65 \title{A New Intuitionistic Proof of Usability\\
66 of the Recommended Style File for the ACM Conference Papers}
67 \author{\Author{J\"urgen Vollmer\thanks{Happy \LaTeX{}ing}}\\
68 \Address{Karlsruhe}\\
69 \Email{[email protected]}\\
70 \and
71 \Author{Mickey Mouse}\\
72 \Address{Enthausen University}\\
73 \Email{[email protected]}
74 }
75 \maketitle
76
77 \begin{abstract}
78 This document demonstrates how to use the \LaTeX2e \verb|acmconf|
79 class by exhibiting itself as an example. You are expected to be
80 familiar with~\cite{Lam94}. The best way to use this file is to use
81 it as a template, i.e., replace the prose in it by your
82 own\footnote{And may use footnotes.}.
83 \end{abstract}
84
85 \begin{keywords}
86 \LaTeX2e-class, ACM proceedings
87 \end{keywords}
88
89 \section{Introduction}
90 To understand this file read the \emph{source} and not the typeset
91 version. If you are reading this in the typeset version you might as
92 well stop --- it is not supposed to make sense.
93
94 \section{The Story Begins\ldots}
95 A real article is supposed to have some deep results and good
96 explanations. That, however, is your job and not mine so you should
97 replace this text with something more appropriate\footnote{Another a
98 footnote}..
99
100 \section{Some often used \LaTeX\ commands}
101
102 \subsection{\texttt{emph}, etc.}
103 Text may be set as \emph{emph}.\\
104 Text may be set as \texttt{texttt}.\\
105 Text may be set as \underline{unterline}.\\
106 Text may be set as \textbf{textbf}.\\
107 Text may be set as \textrm{textrm}.\\
108 Text may be set as {\tiny tiny}.\\
109 Text may be set as {\scriptsize scriptsize}.\\
110 Text may be set as {\footnotesize footnotesize}.\\
111 Text may be set as {\normalfont normalsize}.\\
112 Text may be set as {\large large}.\\
113 Text may be set as {\Large Large}.\\
114 Text may be set as {\LARGE LARGE}.\\
115 Text may be set as {\huge huge}.\\
116 Text may be set as {\Huge Huge}.\\
117 Text may have$^{\textrm{super}}$ and$_{\textrm{sub}}$scripts.
118
119 \subsection{\texttt{itemize}}
120 \begin{itemize}
121 \item More text should follow, but keep in mind that a limit of 6
122 pages has been set, including figures and references. More text
123 should follow, but keep in mind that a limit of 6 pages has been
124 set, including figures and references.
125 \item More text should follow, but keep in mind that a limit of 6
126 pages has been set, including figures and references. More text
127 should follow, but keep in mind that a limit of 6 pages has been
128 set, including figures and references.
129 \end{itemize}
130
131 \subsection{\texttt{enumerate}}
132 \begin{enumerate}
133 \item More text should follow, but keep in mind that a limit of 6
134 pages has been set, including figures and references. More text
135 should follow, but keep in mind that a limit of 6 pages has been
136 set, including figures and references.
137 \item More text should follow, but keep in mind that a limit of 6
138 pages has been set, including figures and references. More text
139 should follow, but keep in mind that a limit of 6 pages has been
140 set, including figures and references.
141 \end{enumerate}
142
143 \subsection{\texttt{description}}
144 \begin{description}
145 \item[Foo] More text should follow, but keep in mind that a limit of 6
146 pages has been set, including figures and references. More text
147 should follow, but keep in mind that a limit of 6 pages has been
148 set, including figures and references.
149 \item[Bar] More text should follow, but keep in mind that a limit of 6
150 pages has been set, including figures and references. More text
151 should follow, but keep in mind that a limit of 6 pages has been
152 set, including figures and references.
153 \end{description}
154
155 \subsection{\texttt{center} and \texttt{tabular}}
156 \begin{center}
157 \begin{tabular}{|l|c|r|}\hline
158 left & center & right \\\hline\hline
159 AAAAAAAA & BBBBBBBB & CCCCCCCC \\
160 AAAAAAAA & BBBBBBBB & CCCCCCCC \\\cline{3-3}
161 AAAAAAAA & BBBBBBBB & CCCCCCCC \\\cline{2-2}
162 AAAAAAAA & BBBBBBBB & CCCCCCCC \\\cline{1-2}
163 AAAAAAAA & BBBBBBBB & CCCCCCCC \\\hline
164 AAAAAAAA & BBBBBBBB & CCCCCCCC \\\hline
165 1 & \multicolumn{2}{|c|}{2} \\\hline
166 \end{tabular}
167 \end{center}
168
169 \subsection{\texttt{figure} and Postscript pictures}
170 Have a look to to figure~\ref{fig-1} and~\ref{fig-2}.
171
172 \begin{figure}
173 \hrule
174 Nice Postscript, isn't it?
175 \begin{center}
176 \IfFileExists{graphicx.sty}{
177 \includegraphics{body.eps}
178 }{
179 Sorry, package \texttt{graphicx} not present.
180 }
181 \end{center}
182
183 Same, a little bit smaller:
184 \begin{center}
185 \IfFileExists{graphicx.sty}{
186 \includegraphics[scale=.5]{body.eps}
187 }{
188 Sorry, package \texttt{graphicx} not present.
189 }
190 \end{center}
191 \caption{\label{fig-1}This is a nice floating figure}
192 \hrule
193 \end{figure}
194
195 \begin{figure*}
196 \hrule
197 This figure uses both columns, using \texttt{figure*}
198 \begin{center}
199 \IfFileExists{graphicx.sty}{
200 \includegraphics[scale=.5]{body.eps}
201 \hspace{1cm}
202 \includegraphics[scale=.5]{body.eps}
203 }{
204 Sorry, package \texttt{graphicx} not present.
205 }
206 \end{center}
207 \caption{\label{fig-2}This is a nice floating figure}
208 \hrule
209 \end{figure*}
210
211 \section{The Story Continues 1}
212
213 This is a \verb+\section+.
214
215 \XX\XX
216
217 \subsection{The Story Continues 2}
218
219 This is a \verb+\subsection+.
220
221 \XX\XX
222
223 \subsubsection{The Story Continues 3}
224
225 This is a \verb+\subsubsection+.
226
227 \XX\XX
228
229 \subsubsubsection{The Story Continues 4}
230
231 This is a \verb+\subsubsubsection+.
232
233 \XX\XX
234
235 \subsubsubsubsection{The Story Continues 5}
236
237 This is a \verb+\subsubsubsubsection+.
238
239 \XX\XX
240
241 \paragraph{The Story Continues 6}
242
243 This is a \verb+\paragraph+.
244 \XX\XX
245
246 \subparagraph{The Story Continues 7}
247 This is a \verb+\subparagraph+.
248 \XX\XX\XX
249
250 \section{Conclusion}
251 The end, at last! In this example there really are no results or
252 points to summarize but I trust your article has more food for though
253 and thus will need a conclusion.
254
255 \appendix
256 \section{Appendices}
257 If you have any, appendices might go here. Note that appendices
258 should not be used to circumvent the word count limit.
259
260 This is "doing it by hand" --- you might be better off using BibTeX.
261
262 \begin{thebibliography}{X}
263 \bibitem[1]{Lam94} Leslie Lamport: {\em \LaTeX, A Document
264 Preparation System,} Addison Wesley~1994.
265 \end{thebibliography}
266 \IfPrepare{
267 \tableofcontents
268 \listoffigures
269 \listoftables
270 }{}
271 \tableofcontents
272 \listoffigures
273 \listoftables
274 \end{document}
275 \endinput
276 %%
277 %% End of file `error.tex'.