Debian Codegraph @

texmf-dist/doc/latex/ualberta/99_Inclusions/Tables/Excel2Latex_Readme.md

raw symbols SCIP
1 # Excel2LaTeX
2 Making tables in LaTeX can be tedious, especially if some columns are calculated.
3 This converter allows you to write a table in Excel instead, and export the current selection as LaTeX markup
4 which can be pasted into an existing LaTeX document, or exported to a file and included via the `\input` command.
5
6 Known to be compatible with Windows Excel 2000–2016 (32-bit and 64-bit) and Mac Excel 2004, 2011, and 2016.
7 May also be compatible with other versions that support `.xla` add-ins.
8
9 ![Excel and Excel2LaTeX comparison](https://i.imgur.com/UNKCihT.png)
10
11 ## Features
12 Most Excel formatting is supported.
13 * Bold and italic (if applied to the whole cell)
14 * Left, right, center, and general alignment (per-cell or per-column)
15 * Vertical and horizontal borders (per-cell or per-column, single or double)
16 * Font color (using the `xcolor` package)
17 * Fill color (using the `colortbl` package)
18 * Rotation (using the `rotating` package)
19 * Merged cells (using the `multirow` package, if needed)
20 * Can convert `\`, `$`, `_`, `^`, `%`, `&`, and `#` to appropriate macros, or leave them in-place
21 * Supports `booktabs` package
22 * Uses `bigstrut` package when `booktabs` is not available
23 * Makes standard LaTeX `tabular` environment
24 * Can surround `tabular` environment with `table` environment template
25 * Copy output to clipboard or export to a `.tex` file for inclusion using `\include`
26 * Save table specifications to your Excel worksheet, then export all tables at once
27
28 ## Using
29 Just open the file Excel2LaTeX.xla in Excel. Then you will have two additional
30 menu items in your **Tools** menu and a new toolbar with two buttons on it. For
31 Excel 2007 and later, you will have two new buttons in the **Add-Ins** ribbon. If
32 you plan to use the program frequently, you can save it in your addin directory
33 and add it with **Tools**→**Add-Ins**. This way it will be loaded whenever Excel is
34 opened.
35
36 Select the table to convert and hit the button **Convert Table to LaTeX**. You
37 will be given the option to save the result to a `.tex` file, or send it to the clipboard
38 (so you can paste it into your LaTeX editor). Hit the **Store** button to store the
39 current settings so you can **Load** them later or **Export All** to files.
40
41 ![Excel2LaTeX interface](https://i.imgur.com/EK88upo.png)
42
43 ## Contributing
44 The development repository and the bug tracker for this package are hosted on
45 [GitHub](https://github.com/krlmlr/Excel2LaTeX). To work with the project, you
46 will require chelh's [VBA Sync Tool](https://github.com/chelh/VBASync).
47
48 ## License
49 Copyright © 1996–2017 Chelsea Hughes, Kirill Müller, Andrew Hawryluk,
50 Germán Riaño, and Joachim Marder.
51
52 This work is distributed under the LaTeX Project Public License, version 1.3
53 or later, available at http://www.latex-project.org/lppl.txt
54
55 Chelsea Hughes currently maintains this project (comprising `Excel2LaTeX.xla`
56 and `README.md`) and will receive error reports at the project GitHub page
57 (see **Contributing** above).