summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ouparmd.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ouparmd.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ouparmd.html73
1 files changed, 0 insertions, 73 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ouparmd.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ouparmd.html
deleted file mode 100644
index 6db5ee5c795..00000000000
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ouparmd.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<head>
-<title>UK TeX FAQ -- question label ouparmd</title>
-</head><body>
-<h3>Not in outer par mode</h3>
-<p/>The error:
-<blockquote>
-<pre>
-! LaTeX Error: Not in outer par mode.
-</pre>
-</blockquote><p>
-comes when some &#8220;main&#8221; document feature is shut up somewhere it
-doesn&#8217;t like.
-<p/>The commonest occurrence is when the user wants a figure somewhere
-inside a table:
-<blockquote>
-<pre>
-\begin{tabular}{|l|}
- \hline
- \begin{figure}
- \includegraphics{foo}
- \end{figure}
- \hline
-\end{tabular}
-</pre>
-</blockquote><p>
-a construction that was supposed to put a frame around the diagram,
-but doesn&#8217;t work, any more than:
-<blockquote>
-<pre>
-\framebox{\begin{figure}
- \includegraphics{foo}
- \end{figure}%
-}
-</pre>
-</blockquote><p>
-The problem is, that the <code>tabular</code> environment, and the
-<code>\</code><code>framebox</code> command restrain the <code>figure</code> environment
-from its natural m&#233;tier, which is to float around the document.
-<p/>The solution is simply not to use the <code>figure</code> environment
-here:
-<blockquote>
-<pre>
-\begin{tabular}{|l|}
- \hline
- \includegraphics{foo}
- \hline
-\end{tabular}
-</pre>
-</blockquote><p>
-What was the float for? &#8212; as written in the first two examples, it
-serves no useful purpose; but perhaps you actually wanted a diagram
-and its caption framed, in a float.
-<p/>It&#8217;s simple to achieve this &#8212; just reverse the order of the
-environments (or of the <code>figure</code> environment and the
-command):
-<blockquote>
-<pre>
-\begin{figure}
- \begin{tabular}{|l|}
- \hline
- \includegraphics{foo}
- \caption{A foo}
- \hline
- \end{tabular}
-\end{figure}
-</pre>
-</blockquote><p>
-The same goes for <code>table</code> environments (or any other sort
-of float you&#8217;ve defined for yourself) inside tabulars or box commands;
-you <em>must</em> get the float environment out from inside, one way or
-another.
-<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ouparmd">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ouparmd</a>
-</body>