Git Product home page Git Product logo

excel2latex's Introduction

Excel2LaTeX

Making tables in LaTeX can be tedious, especially if some columns are calculated. This converter allows you to write a table in Excel instead, and export the current selection as LaTeX markup which can be pasted into an existing LaTeX document, or exported to a file and included via the \input command.

Known to be compatible with Windows Excel 2000–2016 (32-bit and 64-bit) and Mac Excel 2004, 2011, and 2016. May also be compatible with other versions that support .xla add-ins.

Excel and Excel2LaTeX comparison

Features

Most Excel formatting is supported.

  • Bold and italic (if applied to the whole cell)
  • Left, right, center, and general alignment (per-cell or per-column)
  • Vertical and horizontal borders (per-cell or per-column, single or double)
  • Font color (using the xcolor package)
  • Fill color (using the colortbl package)
  • Rotation (using the rotating package)
  • Merged cells (using the multirow package, if needed)
  • Can convert \, $, _, ^, %, &, and # to appropriate macros, or leave them in-place
  • Supports booktabs package
  • Uses bigstrut package when booktabs is not available
  • Makes standard LaTeX tabular environment
  • Can surround tabular environment with table environment template
  • Copy output to clipboard or export to a .tex file for inclusion using \include
  • Save table specifications to your Excel worksheet, then export all tables at once

Using

Just open the file Excel2LaTeX.xla in Excel. Then you will have two additional menu items in your Tools menu and a new toolbar with two buttons on it. For Excel 2007 and later, you will have two new buttons in the Add-Ins ribbon. If you plan to use the program frequently, you can save it in your addin directory and add it with ToolsAdd-Ins. This way it will be loaded whenever Excel is opened.

Select the table to convert and hit the button Convert Table to LaTeX. You will be given the option to save the result to a .tex file, or send it to the clipboard (so you can paste it into your LaTeX editor). Hit the Store button to store the current settings so you can Load them later or Export All to files.

Excel2LaTeX interface

Contributing

The development repository and the bug tracker for this package are hosted on GitHub. To work with the project, you will require chelh's VBA Sync Tool.

License

Copyright © 1996–2017 Chelsea Hughes, Kirill Müller, Andrew Hawryluk, Germán Riaño, and Joachim Marder.

This work is distributed under the LaTeX Project Public License, version 1.3 or later, available at http://www.latex-project.org/lppl.txt

Chelsea Hughes currently maintains this project (comprising Excel2LaTeX.xla and README.md) and will receive error reports at the project GitHub page (see Contributing above).

excel2latex's People

Contributors

krlmlr avatar chelh avatar link-ny avatar

Watchers

James Cloos avatar Shengliang Pu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.