diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-errmissitem.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-errmissitem.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-errmissitem.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-errmissitem.html index 5332e1ba795..66464aa1fe3 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-errmissitem.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-errmissitem.html @@ -30,7 +30,7 @@ correct: </pre> </blockquote><p> produces the error at the <code>\\</code>. This usage is just wrong; if you -want to number the cells in a table, you have to do it “by hand”: +want to number the cells in a table, you have to do it “by hand”: <blockquote> <pre> \newcounter{tablecell} @@ -80,15 +80,15 @@ seemingly innocent: </pre> </blockquote><p> produces the error (the same happens with <code>\</code><code>mbox</code> in place of -<code>\</code><code>fbox</code>, or with either of their “big brothers”, <code>\</code><code>framebox</code> and +<code>\</code><code>fbox</code>, or with either of their “big brothers”, <code>\</code><code>framebox</code> and <code>\</code><code>makebox</code>). This is because the <code>alltt</code> environment -uses a “trivial” list, hidden inside their definition. (The +uses a “trivial” list, hidden inside their definition. (The <code>itemize</code> environment also has this construct inside -itself, in fact, so <code>\</code><code>begin{itemize}</code> won’t work inside an +itself, in fact, so <code>\</code><code>begin{itemize}</code> won’t work inside an <code>\</code><code>fbox</code>, either.) The list construct wants to happen between paragraphs, so it makes a new paragraph of its own. Inside the -<code>\</code><code>fbox</code> command, that doesn’t work, and subsequent macros convince -themselves that there’s a missing <code>\</code><code>item</code> command. +<code>\</code><code>fbox</code> command, that doesn’t work, and subsequent macros convince +themselves that there’s a missing <code>\</code><code>item</code> command. <p/>To solve this rather cryptic error, one must put the <code>alltt</code> inside a paragraph-style box. The following modification of the above <em>does</em> work: @@ -103,14 +103,14 @@ modification of the above <em>does</em> work: } </pre> </blockquote><p> -The code above produces a box that’s far too wide for the text. One +The code above produces a box that’s far too wide for the text. One may want to use something that allows <a href="FAQ-varwidth.html">variable size boxes</a> in place of the <code>minipage</code> environment. -<p/>Oddly, although the <code>verbatim</code> environment wouldn’t work +<p/>Oddly, although the <code>verbatim</code> environment wouldn’t work inside a <code>\</code><code>fbox</code> command argument (see <a href="FAQ-verbwithin.html">verbatim in command arguments</a>), you -get an error that complains about <code>\</code><code>item</code>: the environment’s +get an error that complains about <code>\</code><code>item</code>: the environment’s internal list bites you before <code>verbatim</code> has even had a chance to create its own sort of chaos. <p/>Another (seemingly) obvious use of <code>\</code><code>fbox</code> also falls foul of this @@ -120,10 +120,10 @@ error: \fbox{\section{Boxy section}} </pre> </blockquote><p> -This is a case where you’ve simply got to be more subtle; you should -either write your own macros to replace the insides of LaTeX’s +This is a case where you’ve simply got to be more subtle; you should +either write your own macros to replace the insides of LaTeX’s sectioning macros, or look for some alternative in the packages discussed in -“<a href="FAQ-secthead.html">The style of section headings</a>”. +“<a href="FAQ-secthead.html">The style of section headings</a>”. <p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=errmissitem">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=errmissitem</a> </body> |