blob: 6fc5f0915f71ce7ad76ae220aeb17c441218f0f2 (
plain)
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
|
<head>
<title>UK TeX FAQ -- question label atvert</title>
</head><body>
<h3><code>\</code><code>spacefactor</code> complaints</h3>
<p/>The errors
<blockquote>
<pre>
! You can't use `\spacefactor' in vertical mode.
\@->\spacefactor
\@m
</pre>
</blockquote><p>
or
<blockquote>
<pre>
! You can't use `\spacefactor' in math mode.
\@->\spacefactor
\@m
</pre>
</blockquote><p>
or simply
<blockquote>
<pre>
! Improper \spacefactor.
...
</pre>
</blockquote><p>
bite the LaTeX programmer who uses an internal command without
taking “precautions”. An internal-style command such as <code>\</code><code>@foo</code>
has been defined or used in a private macro, and it is interpreted as
<code>\</code><code>@</code>, followed by the ‘text’ <code>foo</code>. (<code>\</code><code>@</code> is used, for
real, to set up end-of-sentence space in some circumstances; it uses
<code>\</code><code>spacefactor</code> to do that.)
<p/>The problem is discussed in detail in
“<a href="FAQ-atsigns.html"><code>@</code> in macro names</a>”,
together with solutions.
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=atvert">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=atvert</a>
</body>
|