diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-14 00:56:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-14 00:56:47 +0000 |
commit | 13328a265ebe4ef58c26ab99e0c071edb0ca0195 (patch) | |
tree | 604fbea81411a5bda1ff25d9cd6ee5dd75acd761 /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html | |
parent | da29691fd87e0073830e9d11a1dccd9725f01cc6 (diff) |
3.16c+html
git-svn-id: svn://tug.org/texlive/trunk@2723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html index e3906b52dd2..f2ca26d9665 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-topgraph.html @@ -18,9 +18,9 @@ code does this: }% } </pre> -</blockquote> +</blockquote><p> The <code>\</code><code>vtop</code> primitive sets the base-line of the resulting object to -that of the first "line" in it; the <code>\</code><code>vskip</code> creates the illusion +that of the first “line” in it; the <code>\</code><code>vskip</code> creates the illusion of an empty line, so <code>\</code><code>vtop</code> makes the very top of the box into the base-line. <p>In cases where the graphics are to be aligned with text, there is a @@ -35,8 +35,18 @@ as in: }% } </pre> -</blockquote> -The fact is, <em>you</em> may choose where the base-line ends up. This +</blockquote><p> +A more LaTeX-y way of doing the job (somewhat innefficiently) uses +the <i>calc</i> package: +<blockquote> +<pre> +\usepackage{calc} +... +\raisebox{1ex-\height}{\includegraphics{figure}} +</pre> +</blockquote><p> +(this has the same effect as the text-align version, above). +<p>The fact is, <em>you</em> may choose where the base-line ends up. This answer merely shows you sensible choices you might make. <p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=topgraph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=topgraph</a> </body> |