Text Formatting ⇒ The table is to the right of picture.
The table is to the right of picture.
How make that table will be to the right of picture?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
The table is to the right of picture.
Just put it there without \newline or a paragraph break. Here's an example:
The simple table will be put to the right of the picture.
Stefan
Code: Select all
Code, edit and compile here:
\documentclass[a4paper,10pt]{article}\usepackage[demo]{graphicx}\begin{document}\includegraphics{test}\begin{tabular}{c}Test\end{tabular}\end{document}
Stefan
LaTeX.org admin
The table is to the right of picture.
Thanks. Is it possible to do this with array?Stefan_K wrote:Just put it there without \newline or a paragraph break. Here's an example:The simple table will be put to the right of the picture.Code: Select all
Code, edit and compile here:\documentclass[a4paper,10pt]{article}\usepackage[demo]{graphicx}\begin{document}\includegraphics{test}\begin{tabular}{c}Test\end{tabular}\end{document}
Stefan
Re: The table is to the right of picture.
Stefan_K, Your example don't work properly.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
The table is to the right of picture.
Of course, for example:artemff wrote:Is it possible to do this with array?
Code: Select all
Code, edit and compile here:
\documentclass[a4paper,10pt]{article}\usepackage[demo]{graphicx}\begin{document}\includegraphics{test}$\begin{array}{rcl}E & = & mc^2\end{array}$\end{document}
LaTeX.org admin