Tool for manipulating LaTeX tables (HTML to LaTeX)











up vote
26
down vote

favorite
17












I am wondering if there is any tool that can help me work with tables in LaTeX. Specifically I'd like to be able to import HTML tables (or small Excel tables) into LateX



Are there tools that can help me do that painlessly?










share|improve this question




















  • 4




    Bear in mind that properly formatted tables for publication are not the same as the sort of thing that Excel, etc., produce. So even if you can import stuff quickly you may well have to work on the appearance.
    – Joseph Wright
    Aug 16 '10 at 7:48










  • @Mark Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. ;)
    – Alessandro Cuttin
    Dec 2 '16 at 10:59















up vote
26
down vote

favorite
17












I am wondering if there is any tool that can help me work with tables in LaTeX. Specifically I'd like to be able to import HTML tables (or small Excel tables) into LateX



Are there tools that can help me do that painlessly?










share|improve this question




















  • 4




    Bear in mind that properly formatted tables for publication are not the same as the sort of thing that Excel, etc., produce. So even if you can import stuff quickly you may well have to work on the appearance.
    – Joseph Wright
    Aug 16 '10 at 7:48










  • @Mark Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. ;)
    – Alessandro Cuttin
    Dec 2 '16 at 10:59













up vote
26
down vote

favorite
17









up vote
26
down vote

favorite
17






17





I am wondering if there is any tool that can help me work with tables in LaTeX. Specifically I'd like to be able to import HTML tables (or small Excel tables) into LateX



Are there tools that can help me do that painlessly?










share|improve this question















I am wondering if there is any tool that can help me work with tables in LaTeX. Specifically I'd like to be able to import HTML tables (or small Excel tables) into LateX



Are there tools that can help me do that painlessly?







tables html






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 16 '10 at 12:17









Stefan Kottwitz

174k62566752




174k62566752










asked Aug 16 '10 at 6:14









Mark

61131013




61131013








  • 4




    Bear in mind that properly formatted tables for publication are not the same as the sort of thing that Excel, etc., produce. So even if you can import stuff quickly you may well have to work on the appearance.
    – Joseph Wright
    Aug 16 '10 at 7:48










  • @Mark Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. ;)
    – Alessandro Cuttin
    Dec 2 '16 at 10:59














  • 4




    Bear in mind that properly formatted tables for publication are not the same as the sort of thing that Excel, etc., produce. So even if you can import stuff quickly you may well have to work on the appearance.
    – Joseph Wright
    Aug 16 '10 at 7:48










  • @Mark Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. ;)
    – Alessandro Cuttin
    Dec 2 '16 at 10:59








4




4




Bear in mind that properly formatted tables for publication are not the same as the sort of thing that Excel, etc., produce. So even if you can import stuff quickly you may well have to work on the appearance.
– Joseph Wright
Aug 16 '10 at 7:48




Bear in mind that properly formatted tables for publication are not the same as the sort of thing that Excel, etc., produce. So even if you can import stuff quickly you may well have to work on the appearance.
– Joseph Wright
Aug 16 '10 at 7:48












@Mark Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. ;)
– Alessandro Cuttin
Dec 2 '16 at 10:59




@Mark Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. ;)
– Alessandro Cuttin
Dec 2 '16 at 10:59










9 Answers
9






active

oldest

votes

















up vote
27
down vote













I think that, if you are able to import your html tables in Excel or OpenOffice Calc, these tools are what you need:





  • Excel2LaTeX for MSExcel


  • Calc2LaTeX for OO Calc (this one is my preferred, guess why ;)


The first one is a macro you add to your Excel, and provides you with an extra button to create the LaTeX code for the table from a set of selected cells, ready to be pasted in your .tex source.
The second, is an extension of OO, but should work in the same way.



Edit: there is also html2LaTeX, but I never used it.



Happy TeXing!






share|improve this answer























  • I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
    – krlmlr
    Mar 29 '12 at 7:31










  • Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
    – ctrl-alt-delor
    May 29 '16 at 14:07


















up vote
13
down vote













Check out this page http://www.ctan.org/tex-archive/help/Catalogue/entries/datatool.html and tools it links ie csvtools and pgfplotstable. They allow you to keep the data in csv or tsv format and configure typesetting options in .tex source. I have used pgfplotstable and it is very handy.






share|improve this answer

















  • 2




    This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
    – Joseph Wright
    Aug 16 '10 at 7:50










  • I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
    – Alessandro Cuttin
    Aug 17 '10 at 10:06










  • But when the table is small inputing isn't much of a problem.
    – Leo Liu
    Aug 17 '10 at 10:27






  • 4




    csvtools has been replaced by the datatool package (by the same author.)
    – Alan Munn
    Mar 20 '11 at 0:28










  • @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
    – krlmlr
    Mar 29 '12 at 7:30




















up vote
11
down vote













The on-line LaTeX table editor at http://truben.no/latex/table/ is very handy. You can import your data in LaTeX, JSON or CSV format (the last of these being relevant to this question), and export it in LaTeX format (among numerous other formats). It's also very easy to insert/delete columns, etc., and change the formatting.






share|improve this answer




























    up vote
    8
    down vote













    you can try this one: http://www.tablesgenerator.com/latex_tables#



    it can generate latex table codes as well as other formats like markdown, html, wiki etc.






    share|improve this answer




























      up vote
      6
      down vote













      If you use TeXShop on the Mac, there is a built-in macro for pasting copied spreadsheet cells directly into your latex sources into a variety of popular table formats. The same scripts are also available for other Mac text editors here: csv2latex. (OB Disclaimer: I am the author.)






      share|improve this answer























      • I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
        – krlmlr
        Mar 29 '12 at 7:30


















      up vote
      2
      down vote













      CALS tables



      Perhaps you will feel more comfortable defining tables in CALS syntax immediately in LaTeX.



      The CALS table model is the historic precursor of the HTML table model. It is easier in use and offers more capabilities than tabularx.



      Here is the documentation of the cals package:





      • http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc)


      • http://tug.org/TUGboat/tb32-2/tb101parashchenko.pdf (user's manual)






      share|improve this answer























      • Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
        – Serge Stroobandt
        Dec 2 '16 at 1:16




















      up vote
      1
      down vote













      As long as you can transform the table you want to import to one of the formats that Python pandas module reads or you can read it in in Python and use tabulate module to output the properly LaTeX-formatted table which could be a good starting point.




      • Recipes from this StackOverflow question can be a good starting point if you do not know Python






      share|improve this answer























      • Fixed now. Thank you for spotting this!
        – sophros
        6 hours ago


















      up vote
      0
      down vote













      Calc2LaTeX is the best option as said above, but if you're constantly switching computers or on a mac (I regularly do both), then an online editor is a good option.



      I have found http://www.tablesgenerator.com/latex_tables# is the best online editor, as efinal recommended, because it also converts & % to & % straightforwardly, which http://truben.no/latex/table/ doesn't, as far as I can tell. The Truben Table Editor was no good to me as the paste command simply pasted an entire table into one cell, fustratingly.






      share|improve this answer




























        up vote
        0
        down vote













        If you use TexStudio, there is a wizard for tabular, looks like
        wizard for Tabular






        share|improve this answer





















        • Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
          – Alessandro Cuttin
          Dec 2 '16 at 11:02











        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "85"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














         

        draft saved


        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f1801%2ftool-for-manipulating-latex-tables-html-to-latex%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        9 Answers
        9






        active

        oldest

        votes








        9 Answers
        9






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        27
        down vote













        I think that, if you are able to import your html tables in Excel or OpenOffice Calc, these tools are what you need:





        • Excel2LaTeX for MSExcel


        • Calc2LaTeX for OO Calc (this one is my preferred, guess why ;)


        The first one is a macro you add to your Excel, and provides you with an extra button to create the LaTeX code for the table from a set of selected cells, ready to be pasted in your .tex source.
        The second, is an extension of OO, but should work in the same way.



        Edit: there is also html2LaTeX, but I never used it.



        Happy TeXing!






        share|improve this answer























        • I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
          – krlmlr
          Mar 29 '12 at 7:31










        • Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
          – ctrl-alt-delor
          May 29 '16 at 14:07















        up vote
        27
        down vote













        I think that, if you are able to import your html tables in Excel or OpenOffice Calc, these tools are what you need:





        • Excel2LaTeX for MSExcel


        • Calc2LaTeX for OO Calc (this one is my preferred, guess why ;)


        The first one is a macro you add to your Excel, and provides you with an extra button to create the LaTeX code for the table from a set of selected cells, ready to be pasted in your .tex source.
        The second, is an extension of OO, but should work in the same way.



        Edit: there is also html2LaTeX, but I never used it.



        Happy TeXing!






        share|improve this answer























        • I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
          – krlmlr
          Mar 29 '12 at 7:31










        • Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
          – ctrl-alt-delor
          May 29 '16 at 14:07













        up vote
        27
        down vote










        up vote
        27
        down vote









        I think that, if you are able to import your html tables in Excel or OpenOffice Calc, these tools are what you need:





        • Excel2LaTeX for MSExcel


        • Calc2LaTeX for OO Calc (this one is my preferred, guess why ;)


        The first one is a macro you add to your Excel, and provides you with an extra button to create the LaTeX code for the table from a set of selected cells, ready to be pasted in your .tex source.
        The second, is an extension of OO, but should work in the same way.



        Edit: there is also html2LaTeX, but I never used it.



        Happy TeXing!






        share|improve this answer














        I think that, if you are able to import your html tables in Excel or OpenOffice Calc, these tools are what you need:





        • Excel2LaTeX for MSExcel


        • Calc2LaTeX for OO Calc (this one is my preferred, guess why ;)


        The first one is a macro you add to your Excel, and provides you with an extra button to create the LaTeX code for the table from a set of selected cells, ready to be pasted in your .tex source.
        The second, is an extension of OO, but should work in the same way.



        Edit: there is also html2LaTeX, but I never used it.



        Happy TeXing!







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 27 '11 at 15:54

























        answered Aug 16 '10 at 7:45









        Alessandro Cuttin

        2,68922348




        2,68922348












        • I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
          – krlmlr
          Mar 29 '12 at 7:31










        • Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
          – ctrl-alt-delor
          May 29 '16 at 14:07


















        • I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
          – krlmlr
          Mar 29 '12 at 7:31










        • Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
          – ctrl-alt-delor
          May 29 '16 at 14:07
















        I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
        – krlmlr
        Mar 29 '12 at 7:31




        I have started a comprehensive list -- do you want to add a description of Calc2LaTeX, especially comparing it to current Excel2LaTeX?
        – krlmlr
        Mar 29 '12 at 7:31












        Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
        – ctrl-alt-delor
        May 29 '16 at 14:07




        Have just installed calc2latex, via sudo apt-get install libreoffice-writer2latex apt says this if for writer and calc. I see it in the extension manager. However I can not workout how to use it: Where is it? What do I have to click?
        – ctrl-alt-delor
        May 29 '16 at 14:07










        up vote
        13
        down vote













        Check out this page http://www.ctan.org/tex-archive/help/Catalogue/entries/datatool.html and tools it links ie csvtools and pgfplotstable. They allow you to keep the data in csv or tsv format and configure typesetting options in .tex source. I have used pgfplotstable and it is very handy.






        share|improve this answer

















        • 2




          This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
          – Joseph Wright
          Aug 16 '10 at 7:50










        • I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
          – Alessandro Cuttin
          Aug 17 '10 at 10:06










        • But when the table is small inputing isn't much of a problem.
          – Leo Liu
          Aug 17 '10 at 10:27






        • 4




          csvtools has been replaced by the datatool package (by the same author.)
          – Alan Munn
          Mar 20 '11 at 0:28










        • @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
          – krlmlr
          Mar 29 '12 at 7:30

















        up vote
        13
        down vote













        Check out this page http://www.ctan.org/tex-archive/help/Catalogue/entries/datatool.html and tools it links ie csvtools and pgfplotstable. They allow you to keep the data in csv or tsv format and configure typesetting options in .tex source. I have used pgfplotstable and it is very handy.






        share|improve this answer

















        • 2




          This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
          – Joseph Wright
          Aug 16 '10 at 7:50










        • I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
          – Alessandro Cuttin
          Aug 17 '10 at 10:06










        • But when the table is small inputing isn't much of a problem.
          – Leo Liu
          Aug 17 '10 at 10:27






        • 4




          csvtools has been replaced by the datatool package (by the same author.)
          – Alan Munn
          Mar 20 '11 at 0:28










        • @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
          – krlmlr
          Mar 29 '12 at 7:30















        up vote
        13
        down vote










        up vote
        13
        down vote









        Check out this page http://www.ctan.org/tex-archive/help/Catalogue/entries/datatool.html and tools it links ie csvtools and pgfplotstable. They allow you to keep the data in csv or tsv format and configure typesetting options in .tex source. I have used pgfplotstable and it is very handy.






        share|improve this answer












        Check out this page http://www.ctan.org/tex-archive/help/Catalogue/entries/datatool.html and tools it links ie csvtools and pgfplotstable. They allow you to keep the data in csv or tsv format and configure typesetting options in .tex source. I have used pgfplotstable and it is very handy.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 16 '10 at 7:48









        Leo Liu

        3,59211735




        3,59211735








        • 2




          This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
          – Joseph Wright
          Aug 16 '10 at 7:50










        • I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
          – Alessandro Cuttin
          Aug 17 '10 at 10:06










        • But when the table is small inputing isn't much of a problem.
          – Leo Liu
          Aug 17 '10 at 10:27






        • 4




          csvtools has been replaced by the datatool package (by the same author.)
          – Alan Munn
          Mar 20 '11 at 0:28










        • @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
          – krlmlr
          Mar 29 '12 at 7:30
















        • 2




          This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
          – Joseph Wright
          Aug 16 '10 at 7:50










        • I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
          – Alessandro Cuttin
          Aug 17 '10 at 10:06










        • But when the table is small inputing isn't much of a problem.
          – Leo Liu
          Aug 17 '10 at 10:27






        • 4




          csvtools has been replaced by the datatool package (by the same author.)
          – Alan Munn
          Mar 20 '11 at 0:28










        • @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
          – krlmlr
          Mar 29 '12 at 7:30










        2




        2




        This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
        – Joseph Wright
        Aug 16 '10 at 7:50




        This is a good alternative to directly importing the data, particularly for large data sets or ones that will change over time.
        – Joseph Wright
        Aug 16 '10 at 7:50












        I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
        – Alessandro Cuttin
        Aug 17 '10 at 10:06




        I agree: CSVtools is very powerful and it's worth considering the csv way against the conversion from excel to the latex code, especially for large amount of data. In case of small tables, converting from excel could be more convenient.
        – Alessandro Cuttin
        Aug 17 '10 at 10:06












        But when the table is small inputing isn't much of a problem.
        – Leo Liu
        Aug 17 '10 at 10:27




        But when the table is small inputing isn't much of a problem.
        – Leo Liu
        Aug 17 '10 at 10:27




        4




        4




        csvtools has been replaced by the datatool package (by the same author.)
        – Alan Munn
        Mar 20 '11 at 0:28




        csvtools has been replaced by the datatool package (by the same author.)
        – Alan Munn
        Mar 20 '11 at 0:28












        @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
        – krlmlr
        Mar 29 '12 at 7:30






        @Leo: I have started a comprehensive list -- do you want to add datatool? I'm not familiar with it.
        – krlmlr
        Mar 29 '12 at 7:30












        up vote
        11
        down vote













        The on-line LaTeX table editor at http://truben.no/latex/table/ is very handy. You can import your data in LaTeX, JSON or CSV format (the last of these being relevant to this question), and export it in LaTeX format (among numerous other formats). It's also very easy to insert/delete columns, etc., and change the formatting.






        share|improve this answer

























          up vote
          11
          down vote













          The on-line LaTeX table editor at http://truben.no/latex/table/ is very handy. You can import your data in LaTeX, JSON or CSV format (the last of these being relevant to this question), and export it in LaTeX format (among numerous other formats). It's also very easy to insert/delete columns, etc., and change the formatting.






          share|improve this answer























            up vote
            11
            down vote










            up vote
            11
            down vote









            The on-line LaTeX table editor at http://truben.no/latex/table/ is very handy. You can import your data in LaTeX, JSON or CSV format (the last of these being relevant to this question), and export it in LaTeX format (among numerous other formats). It's also very easy to insert/delete columns, etc., and change the formatting.






            share|improve this answer












            The on-line LaTeX table editor at http://truben.no/latex/table/ is very handy. You can import your data in LaTeX, JSON or CSV format (the last of these being relevant to this question), and export it in LaTeX format (among numerous other formats). It's also very easy to insert/delete columns, etc., and change the formatting.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 24 '13 at 13:05









            rexg

            11112




            11112






















                up vote
                8
                down vote













                you can try this one: http://www.tablesgenerator.com/latex_tables#



                it can generate latex table codes as well as other formats like markdown, html, wiki etc.






                share|improve this answer

























                  up vote
                  8
                  down vote













                  you can try this one: http://www.tablesgenerator.com/latex_tables#



                  it can generate latex table codes as well as other formats like markdown, html, wiki etc.






                  share|improve this answer























                    up vote
                    8
                    down vote










                    up vote
                    8
                    down vote









                    you can try this one: http://www.tablesgenerator.com/latex_tables#



                    it can generate latex table codes as well as other formats like markdown, html, wiki etc.






                    share|improve this answer












                    you can try this one: http://www.tablesgenerator.com/latex_tables#



                    it can generate latex table codes as well as other formats like markdown, html, wiki etc.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 3 '14 at 10:25









                    efinal

                    8111




                    8111






















                        up vote
                        6
                        down vote













                        If you use TeXShop on the Mac, there is a built-in macro for pasting copied spreadsheet cells directly into your latex sources into a variety of popular table formats. The same scripts are also available for other Mac text editors here: csv2latex. (OB Disclaimer: I am the author.)






                        share|improve this answer























                        • I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
                          – krlmlr
                          Mar 29 '12 at 7:30















                        up vote
                        6
                        down vote













                        If you use TeXShop on the Mac, there is a built-in macro for pasting copied spreadsheet cells directly into your latex sources into a variety of popular table formats. The same scripts are also available for other Mac text editors here: csv2latex. (OB Disclaimer: I am the author.)






                        share|improve this answer























                        • I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
                          – krlmlr
                          Mar 29 '12 at 7:30













                        up vote
                        6
                        down vote










                        up vote
                        6
                        down vote









                        If you use TeXShop on the Mac, there is a built-in macro for pasting copied spreadsheet cells directly into your latex sources into a variety of popular table formats. The same scripts are also available for other Mac text editors here: csv2latex. (OB Disclaimer: I am the author.)






                        share|improve this answer














                        If you use TeXShop on the Mac, there is a built-in macro for pasting copied spreadsheet cells directly into your latex sources into a variety of popular table formats. The same scripts are also available for other Mac text editors here: csv2latex. (OB Disclaimer: I am the author.)







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Aug 27 '13 at 20:29

























                        answered Jan 4 '11 at 21:55









                        Alan Munn

                        157k27421695




                        157k27421695












                        • I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
                          – krlmlr
                          Mar 29 '12 at 7:30


















                        • I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
                          – krlmlr
                          Mar 29 '12 at 7:30
















                        I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
                        – krlmlr
                        Mar 29 '12 at 7:30




                        I have started a comprehensive list -- do you want to add your tool? I'm not familiar with it, and I don't have a Mac.
                        – krlmlr
                        Mar 29 '12 at 7:30










                        up vote
                        2
                        down vote













                        CALS tables



                        Perhaps you will feel more comfortable defining tables in CALS syntax immediately in LaTeX.



                        The CALS table model is the historic precursor of the HTML table model. It is easier in use and offers more capabilities than tabularx.



                        Here is the documentation of the cals package:





                        • http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc)


                        • http://tug.org/TUGboat/tb32-2/tb101parashchenko.pdf (user's manual)






                        share|improve this answer























                        • Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
                          – Serge Stroobandt
                          Dec 2 '16 at 1:16

















                        up vote
                        2
                        down vote













                        CALS tables



                        Perhaps you will feel more comfortable defining tables in CALS syntax immediately in LaTeX.



                        The CALS table model is the historic precursor of the HTML table model. It is easier in use and offers more capabilities than tabularx.



                        Here is the documentation of the cals package:





                        • http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc)


                        • http://tug.org/TUGboat/tb32-2/tb101parashchenko.pdf (user's manual)






                        share|improve this answer























                        • Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
                          – Serge Stroobandt
                          Dec 2 '16 at 1:16















                        up vote
                        2
                        down vote










                        up vote
                        2
                        down vote









                        CALS tables



                        Perhaps you will feel more comfortable defining tables in CALS syntax immediately in LaTeX.



                        The CALS table model is the historic precursor of the HTML table model. It is easier in use and offers more capabilities than tabularx.



                        Here is the documentation of the cals package:





                        • http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc)


                        • http://tug.org/TUGboat/tb32-2/tb101parashchenko.pdf (user's manual)






                        share|improve this answer














                        CALS tables



                        Perhaps you will feel more comfortable defining tables in CALS syntax immediately in LaTeX.



                        The CALS table model is the historic precursor of the HTML table model. It is easier in use and offers more capabilities than tabularx.



                        Here is the documentation of the cals package:





                        • http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc)


                        • http://tug.org/TUGboat/tb32-2/tb101parashchenko.pdf (user's manual)







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Dec 3 '16 at 3:55

























                        answered Jun 21 '13 at 8:40









                        Serge Stroobandt

                        2,60311936




                        2,60311936












                        • Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
                          – Serge Stroobandt
                          Dec 2 '16 at 1:16




















                        • Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
                          – Serge Stroobandt
                          Dec 2 '16 at 1:16


















                        Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
                        – Serge Stroobandt
                        Dec 2 '16 at 1:16






                        Nowadays, I create most of my tables as Pandoc Markdown pipe tables, which are very intuitive to create. Pandoc then converts to LaTeX, ConTeXt,…
                        – Serge Stroobandt
                        Dec 2 '16 at 1:16












                        up vote
                        1
                        down vote













                        As long as you can transform the table you want to import to one of the formats that Python pandas module reads or you can read it in in Python and use tabulate module to output the properly LaTeX-formatted table which could be a good starting point.




                        • Recipes from this StackOverflow question can be a good starting point if you do not know Python






                        share|improve this answer























                        • Fixed now. Thank you for spotting this!
                          – sophros
                          6 hours ago















                        up vote
                        1
                        down vote













                        As long as you can transform the table you want to import to one of the formats that Python pandas module reads or you can read it in in Python and use tabulate module to output the properly LaTeX-formatted table which could be a good starting point.




                        • Recipes from this StackOverflow question can be a good starting point if you do not know Python






                        share|improve this answer























                        • Fixed now. Thank you for spotting this!
                          – sophros
                          6 hours ago













                        up vote
                        1
                        down vote










                        up vote
                        1
                        down vote









                        As long as you can transform the table you want to import to one of the formats that Python pandas module reads or you can read it in in Python and use tabulate module to output the properly LaTeX-formatted table which could be a good starting point.




                        • Recipes from this StackOverflow question can be a good starting point if you do not know Python






                        share|improve this answer














                        As long as you can transform the table you want to import to one of the formats that Python pandas module reads or you can read it in in Python and use tabulate module to output the properly LaTeX-formatted table which could be a good starting point.




                        • Recipes from this StackOverflow question can be a good starting point if you do not know Python







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited 6 hours ago

























                        answered 16 hours ago









                        sophros

                        1214




                        1214












                        • Fixed now. Thank you for spotting this!
                          – sophros
                          6 hours ago


















                        • Fixed now. Thank you for spotting this!
                          – sophros
                          6 hours ago
















                        Fixed now. Thank you for spotting this!
                        – sophros
                        6 hours ago




                        Fixed now. Thank you for spotting this!
                        – sophros
                        6 hours ago










                        up vote
                        0
                        down vote













                        Calc2LaTeX is the best option as said above, but if you're constantly switching computers or on a mac (I regularly do both), then an online editor is a good option.



                        I have found http://www.tablesgenerator.com/latex_tables# is the best online editor, as efinal recommended, because it also converts & % to & % straightforwardly, which http://truben.no/latex/table/ doesn't, as far as I can tell. The Truben Table Editor was no good to me as the paste command simply pasted an entire table into one cell, fustratingly.






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          Calc2LaTeX is the best option as said above, but if you're constantly switching computers or on a mac (I regularly do both), then an online editor is a good option.



                          I have found http://www.tablesgenerator.com/latex_tables# is the best online editor, as efinal recommended, because it also converts & % to & % straightforwardly, which http://truben.no/latex/table/ doesn't, as far as I can tell. The Truben Table Editor was no good to me as the paste command simply pasted an entire table into one cell, fustratingly.






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Calc2LaTeX is the best option as said above, but if you're constantly switching computers or on a mac (I regularly do both), then an online editor is a good option.



                            I have found http://www.tablesgenerator.com/latex_tables# is the best online editor, as efinal recommended, because it also converts & % to & % straightforwardly, which http://truben.no/latex/table/ doesn't, as far as I can tell. The Truben Table Editor was no good to me as the paste command simply pasted an entire table into one cell, fustratingly.






                            share|improve this answer












                            Calc2LaTeX is the best option as said above, but if you're constantly switching computers or on a mac (I regularly do both), then an online editor is a good option.



                            I have found http://www.tablesgenerator.com/latex_tables# is the best online editor, as efinal recommended, because it also converts & % to & % straightforwardly, which http://truben.no/latex/table/ doesn't, as far as I can tell. The Truben Table Editor was no good to me as the paste command simply pasted an entire table into one cell, fustratingly.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Feb 9 '15 at 14:27









                            Laua

                            1108




                            1108






















                                up vote
                                0
                                down vote













                                If you use TexStudio, there is a wizard for tabular, looks like
                                wizard for Tabular






                                share|improve this answer





















                                • Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
                                  – Alessandro Cuttin
                                  Dec 2 '16 at 11:02















                                up vote
                                0
                                down vote













                                If you use TexStudio, there is a wizard for tabular, looks like
                                wizard for Tabular






                                share|improve this answer





















                                • Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
                                  – Alessandro Cuttin
                                  Dec 2 '16 at 11:02













                                up vote
                                0
                                down vote










                                up vote
                                0
                                down vote









                                If you use TexStudio, there is a wizard for tabular, looks like
                                wizard for Tabular






                                share|improve this answer












                                If you use TexStudio, there is a wizard for tabular, looks like
                                wizard for Tabular







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Dec 2 '16 at 8:39









                                ybtang21c

                                1162




                                1162












                                • Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
                                  – Alessandro Cuttin
                                  Dec 2 '16 at 11:02


















                                • Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
                                  – Alessandro Cuttin
                                  Dec 2 '16 at 11:02
















                                Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
                                – Alessandro Cuttin
                                Dec 2 '16 at 11:02




                                Indeed TeXStudio has the wizard, but apparently it does not provide the feature of importing tables of different nature (as the question asks)
                                – Alessandro Cuttin
                                Dec 2 '16 at 11:02


















                                 

                                draft saved


                                draft discarded



















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f1801%2ftool-for-manipulating-latex-tables-html-to-latex%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Accessing regular linux commands in Huawei's Dopra Linux

                                Can't connect RFCOMM socket: Host is down

                                Kernel panic - not syncing: Fatal Exception in Interrupt