## #685 improve The "tabular" wizard

open
nobody
6
2014-08-23
2014-04-12
carolin9405
No

Latex has always been known for having a bit of difficulty making tables, Texmaker earlier was because a teacher recommended it to me but a colleague recommended me and I think texstudio more complete, but there is something that if you win Texmaker in tabular quick, it's much easier and more complete in Texmaker from version 3.1 that seriously improve texstudio good Texmaker it like (or better;))

In short it would be good to improve the tabular quick like that would facilitate Texmaker make tables, plus other options that do not give you the like of Texmaker longtable, which automatically adapts to the text and I think a good idea for the option agregen perform professional boards as the booktabs package, and also that they can color in principle be good like Texmaker

attached a screenshot to see that is more complete

thank you very much

1 Attachments

## Discussion

• carolin9405
2014-04-12

• Tim Hoffmann
2014-04-13

For handling tables we aim in another direction than a dedicated tabular wizard.

Though I did not look at the above links in detail, these approaches usually have one or more of the following shortcomings:

• They have a limited set of functionality. Once you want to go beyond that, say using a tabular type they did not implement, you cannot use them anymore.
• On the other hand, since tables are a quite large topic, supporting a reasonable set of functionality would be a major development effort.
• Most table generators are read only. You can create nice new tables, but they are no help if you want to modify an existing table.
• Cell contents is considered as strings. All the nice help TXS provides, like syntax highlighting, completion, citation checking etc., is not available in a tabular wizard.
• Most table wizards won't show you how your table would really look like as latex output.

For these reasons, we have not put any effort in the tabular wizard for a long time. Here is our how we think tables should be handled:

The source code is what generates the table in the end. Therefore, one should edit in the source code and not rely on a mechanism that tries to convert back and forth between source and a real table. Conversion will always fail sooner or later.

Since editing tex tables requires different functionality than editing text, we provide a number of helpers:

1. Use the functions in LaTeX -> Manipulate Tables to easily modify columns and rows.
2. Use LaTeX -> Manipulate Tables -> Align Columns to reformat the code so that the textual representation resembles a table. This helps you to keep an overview.
3. Use multiple cursors to edit cells simultaneously (Ctrl+Alt+Click+DragVertical for multiple vertically stacked cursors or hold Ctrl+Alt and click all the places you want a cursor).
4. Use LaTeX -> Manipulate Tables -> Remodel Table Using Template to apply a certain style to a table. (There are currently only a few, but in principle one can write the desired table template oneselve).
5. Use the inline preview to monitor how the table will look like in the end. For this, place the cursor at the start of \begin and choose Preview Selection\Parentheses from the context menu (The tabular environment forms the parentheses in this case). Now, watch how the preview updates while you edit the table.