# Making LaTeX tabular environment behave well under copy/paste [closed]

Whenever I copy a table created with the LaTeX tabular environment from the output .pdf file and paste it into a word processor, all the entries go to different lines. Worse, the first column is copied, then the second, and so on.

Is there any way to make the table retain some of its original format? That is, when pasted into a word processor, you see something like this:

row 1 contents...

row 2 contents...

and so on...


Here is the code I am using (to ensure that the columns have fixed width):

\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}

\begin{tabular}{L{6cm}  L{7cm}  R{2.5cm}}

a & b & c\\

d & e & f\\

g & h & i

\end{tabular}


## closed as off-topic by user31729, moewe, user13907, Jesse, MasroorNov 9 '14 at 11:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Community, moewe, Community, Jesse, Masroor
If this question can be reworded to fit the rules in the help center, please edit the question.

• Why not copy and paste from the .tex file instead of the .pdf? – dustin Jul 13 '13 at 1:38
• This is for my CV, and employers will have the .pdf file. If they copy text directly, I want to make sure formatting is preserved – user33589 Jul 13 '13 at 1:40
• Could you show us what your tabular code looks like that is causing an incorrect copy-and-paste? It depends on how you typeset it, but it is possible to select the contents first by row or first by column. – Werner Jul 13 '13 at 6:08
• Isn't that an issue of your PDF viewer or your word processor? I am just asking because of features like on the following page: nightcrawlerinshadow.wordpress.com/2011/08/20/… – Patrick Häcker Jul 13 '13 at 16:12
• it works just fine on my system... – RicoRally Nov 9 '14 at 11:08