Questions tagged [table]

Question about making, using, and editing tables inside of Emacs. This tag is meant mainly for table.el tables as described in the Emacs manual, but it should also be used for generic table questions. If you have a question about tables in Org mode, please use the "org-table" tag instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Org Table Sum IFs

I have two tables, 'tbl1', where I keep adding entries, and 'tbl2' where i get the totals. What I'm looking for, is to ADD up all values that match both the 1st row and 1st column ,returning empty or ...
MoLov2069's user avatar
0 votes
1 answer
26 views

Is there a way to Insert a Table from external pdf similar to inserting external pdf as figure?

We can easily insert figures from external PDF, but how do I insert a table the same way? For example: I have a table in .tex file in a standalone class as it is easier to generate it from an external ...
Atreyagaurav's user avatar
0 votes
0 answers
34 views

Un-wrap cells in org-mode

Is there a way to turn all multiline (wrapped) cells in a table in org-mode into single-line (un-wrapped) cells? The table I have: |------------+----------+-----+-----| | DATE | DESCR | IN | ...
Paolo's user avatar
  • 21
0 votes
1 answer
34 views

Expand specific org-mode table column with headings

Consider an org-mode file like so: #+NAME: foobar | | Alice | Bob | Charlie | | Foo | 11 | 12 | 13 | | Bar | 21 | 22 | 23 | | Baz | 31 | 32 | 33 | * Alice - Works at ...
dotancohen's user avatar
5 votes
1 answer
113 views

Can Markdown mode help with generating the 2nd line in a Markdown table?

When I write a table like | Syntax | Description | More columns ... | | ----------- | ----------- | ---------------- | | Header | Title | . | | Paragraph | Text ...
halloleo's user avatar
  • 1,341
2 votes
1 answer
98 views

Calculating overtime in org tables

I enter my daily work hours in a spreadsheet. My daily target working time is 8 hours. In the first line my overtime is calculated with this: | Overtime | 2.5 | |----------+------| | Day 1 | 8 |...
ontheair's user avatar
0 votes
2 answers
92 views

Discerning org-mode's two table styles

Prelude I understand that org-mode has two distinct styles of tables. The two styles can be identified visually. One looks like this | | | | | | | | | | | | | | ...
Sam7919's user avatar
  • 379
0 votes
1 answer
58 views

Automatic table layout

Here's a hypothetical table that keep tracks of cloud content. +-----------------------------+----------+-------------------+ | file | server | uname | +-----------------------------+----------+-------...
user avatar
3 votes
2 answers
312 views

Emacs Lisp to view text file like a table

I'd like to write a mode, or at least some Lisp functions, to view a tab-separated file like a table. What I mean is lines like this: foo\t123\tbar yabba dabba\t12345\treally long field here Should ...
Rob N's user avatar
  • 639
0 votes
1 answer
80 views

Table according to numeric selector

I have the following elisp functions to show a table by calling make-table. Associated with each completion framework there is a number. 0 means feature not loaded; 1 feature loaded; 2 feature loaded ...
Dilna's user avatar
  • 1
0 votes
1 answer
60 views

Getting out of a table

Have been trying various ways to insert two tables, but having no success getting the cursor out of the first table. This means that the second table gets inserted in the last cell of the first table....
Dilna's user avatar
  • 1
0 votes
1 answer
54 views

Inserting numbers in a table automatically

I would like to have a function that inserts a table with 16 columns and 5 rows. Then insert numbers from 1 to 15 in the first row (last column leaving it empty), and numbers 16 to 31 in the second ...
Dilna's user avatar
  • 1
0 votes
0 answers
36 views

How to keep emacs from joining lines when pasting text into an ascii table cell?

I have this text : helo domain.com 250 OK mail from: <[email protected]> 250 OK rcpt to: <[email protected]> That I'd like to paste into this table cell +-------------------------------+-...
ychaouche's user avatar
  • 207
3 votes
0 answers
107 views

How to align latex tables when using macro folding

I have a latex table which contains some long commands like includegraphics or href which makes the table very nasty to read. To get a better view I fold all macros in the table and want to use ...
student's user avatar
  • 1,109
0 votes
1 answer
116 views

How to create a customized translation table when using the command translate-region?

When using the command translate-region, the command asks to use which table. There are already some predefined tables (by pressing TAB) such as cp51932-decode cp51932-encode eucjp-ms-decode ...
Name's user avatar
  • 7,859
2 votes
3 answers
984 views

How can I ask a user to choose from a list of options, while showing her a long list with extra metadata?

I'm writing a package which connects to a remote server for a game. I want to show the list of players, along with their score, and let the player choose one of the players. I thought of using ...
Parham Doustdar's user avatar
7 votes
0 answers
795 views

latex inside table using table.el in org mode

I am trying to achieve multicolumn cells in org-mode tables like in Multicolumn cells in org-mode tables, but with Latex inside the cells. * Minimal Example +------------+-----------+-------------...
user19456's user avatar
38 votes
3 answers
24k views

Wrap cell content in an org mode table

I have a table like this: | Verse No | Verse | | | <10> | | 1 | line1 li=> | | 2 | line2 li=> | I would like to view it as | Verse No | Verse | | ...
user2740's user avatar
  • 579
2 votes
1 answer
168 views

Error using the Emacs Spreadsheet

I have started to use the Simple Emacs Spreadsheet (SES) with GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17. When I try to mark/highlight a column with (ses-mark-column), the selection doesn'...
antonio's user avatar
  • 1,822
0 votes
1 answer
56 views

Fix redraw delay in table-mode

How can I eliminate the 200ms delay before text is redrawn in table-mode?
mstrange's user avatar
  • 101
4 votes
0 answers
291 views

truncate-string-to-width doesn't pad/print the string, as documented

I am referring the documentation for truncate-string-to-width from here. It says, (truncate-string-to-width "\tab\t" 12 4) will output, ab But what i get in my machine (emacs versioned 25.1.50.1)...
Saravana's user avatar
  • 2,071
5 votes
1 answer
606 views

How to get align-regexp to help line up Markdown tables properly?

I am trying to line up a text table using align-regexp. A table, before alignment, looks like this: | Alpha | Bravo | Charlie | |-------|-------|---------| | Delta | Echo | Foxtrot | | Golf | Hotel | ...
rityzmon's user avatar
  • 181
0 votes
1 answer
49 views

Error trying to add Table editor to .emacs

I downloaded the Table editor for emacs table.el. I then edited my .emacs file to load the table file as follows (add-to-list 'load-path "~/.emacs.d/manual") (load "table.el") (require 'table) ...
rambalachandran's user avatar
1 vote
0 answers
170 views

How to update edited table so that columns align

I am using table.el in Emacs 24.x on win7. I have created a table and updated the cell contents but cannot get the table to reformat to match the new contents. As far as I have read, EMACS should ...
Arjay-El's user avatar
43 votes
1 answer
22k views

Multicolumn cells in org-mode tables

Is it possible to merge two or more cells in an org-mode table like when using \multicolumn{}{}{} or \multirow{}{}{} in LaTeX? Something like this does not work: |------------+-----------+----------+...
Tymric's user avatar
  • 762
5 votes
2 answers
3k views

Correct markdown-format tables with orgtbl-mode?

I'm just learning about org-mode, and of course blown away by its sheer level of usability. I of course want to use it everywhere, so I want to create tables with it. Including tables in markdown-mode....
Trevoke's user avatar
  • 2,440
5 votes
1 answer
441 views

In table-mode, how do I change the face used for cells?

If I make a table (with M-x table-insert), the background color is a dark blue, and the text color is a light grey. I'd like to make the face different, but I'm not sure what face I need to change. ...
zck's user avatar
  • 9,092
6 votes
1 answer
371 views

Have table.el insert space after vertical separator for reStructuredText

I am using Emacs's table.el mode to fill a lot of tables in rst documents. table.el is really fine to do the job, but it lacks the possibility to have one space between vertical separator and cell ...
calve's user avatar
  • 61
7 votes
2 answers
1k views

Setting (or *simple* mode) for editing tab-separated columns

I'm looking for either some built-in setting or a simple mode for viewing and editing tab-separated columns (TSV files). All I need is for the TSV text to be displayed in a way that respects the ...
kjo's user avatar
  • 3,247
17 votes
1 answer
1k views

How to view and edit large delimiter separated value files?

I have been using csv-mode to modify small to medium sized CSV files, but recently I have been working with large files containing more than 40,812 entries. csv-mode struggles to align and navigate ...
holocronweaver's user avatar
9 votes
1 answer
1k views

Align vertical columns of numbers on the decimal point

I wrote this post in Emacs. In order to make the tables look nice, I decided to adjust the spacing so that decimals line up neatly. The original format from the database looked like this: emacs ...
Jon Ericson's user avatar