diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-wideflt.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-wideflt.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-wideflt.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-wideflt.html new file mode 100644 index 00000000000..49e24031d72 --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-wideflt.html @@ -0,0 +1,30 @@ +<head> +<title>UK TeX FAQ -- question label wideflt</title> +</head><body> +<h3>Centring a very wide figure or table</h3> +<p/>The normal means of centring a figure or table object is to include +<code>\</code><code>centering</code> at the top of the float. This doesn’t help if the +object is wider than <code>\</code><code>textwidth</code> — the object starts at the left +margin and juts out into the right margin (which is actually doubly +unsatisfactory, since as well as looking bad, the float won’t be +placed until the next <code>\</code><code>clearpage</code> or the like.) +<p/>You can avoid the problem by rescaling the figure or table to fit, but +this is often not satisfactory, for several reasons. +<p/>Otherwise, if the object is wider than the printable area of the page, +you’ve no choice other than to <a href="FAQ-landscape.html">rotate it</a>. If, +however, the object is <em>just</em> wider than the text block, you can +make it pretend to be the right size by: +<blockquote> +<pre> +\begin{figure} + \noindent + \makebox[\textwidth]{\includegraphics{my-wide-figure}}% + \caption{This figure juts out into both margins} +\end{figure} +</pre> + +</blockquote><p> +Note the <code>\</code><code>noindent</code>: the <code>\</code><code>makebox</code> starts a paragraph, and you +really don’t want that indented by <code>\</code><code>parindent</code>. +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wideflt">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wideflt</a> +</body> |