[OS X TeX] How to copy and paste tables into LaTeX (from Excel or other programs)?

Jean-Claude DE SOZA jeanclaudedesoza at wanadoo.fr
Mon Dec 5 20:18:47 CET 2005


Markus,

I use a Excel Macro, Excel2LaTeX you can download from here:
http://www.freedownloadscenter.com/Business/MS_Office_Add-ins/ 
Excel2LaTeX.html
Jean-Claude DE SOZA

Le 5 déc. 2005 à 19:20, Markus Hänchen a écrit :

> Hi,
>
> among the standard LaTeX operations creating tables is certainly  
> one of the most cumbersome one. I am looking for an easy solution  
> to copy data from an Excel table (or Igor, or Matlab) into a LaTeX  
> document.
>
> There are macros and the Matrix Panel in TeXShop to easily create a  
> simple table but how to get the data in it?
>
> My best solution so far was to create an Excel file having only one  
> table and then save it as a csv file. Open the csv file with a text  
> editor and do a find and replace of the comma with an ampersand.  
> Select and copy into the .tex file.
> This, naturally, could be done from any program that can export  
> something like a csv file.
>
> I would like to script that in a way that I ideally only have to  
> select tabular data in any kind of program (even from a website),  
> run the script on the contents of my clipboard, and paste the  
> result into the .tex file.
>
> Does something like this exist already?
>
> Cheers,
>
> Markus
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>
> ---------------------------------------------------------------------- 
> -----------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti- 
> virus mail. Aucun virus connu a ce jour par nos services n'a ete  
> detecte.
>
>


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list