TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ciao guys I am making a presentation using beamer. It is based on an online research article. Let's say there's a pdf file with a table consisting of 4 columns and 5 rows. What would be the easiest way (besides manual) to get just the rows 1-5 and columns 1-3?

share|improve this question
I am unsure I am parsing this question right -- can you please explain your last sentence? Regards, – kan Jun 27 '12 at 16:45
@Abhimanyu Do you mean to copy-paste the data from the table? – Joseph Wright Jun 27 '12 at 16:46
@JosephWright: Yes indeed not the entire table but a part of it. Not only the data but if possible the format and layout as well – Abhimanyu Arora Jun 27 '12 at 17:29
@KannappanSampath:I think row 1-3 would be better put – Abhimanyu Arora Jun 27 '12 at 17:36
If you question is that you have a table in LaTeX with 4 columns and 5 rows, but want the table to only print the first three columns (without changing the table's data), then you can do this with the collcell package. See for example Control order of columns in table, and How to execute command on every table column. – Peter Grill Jun 27 '12 at 20:04

The simple answer is -- you must do the table by hand.

The pdf file is like a cake -- you can't identify the ingredients.

share|improve this answer

If the range of rows and columns you want to import is contiguous, a possible solution, not that I am recommending it, could be to use \includegraphics to insert part of your pdf, with appropiate values for trim and clip option.

For details about trim option you can see my answer to the question How to trim after an overpic

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.