Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [table]

Question about making, using, and editing tables inside of Emacs.

1
vote
1answer
44 views

org-table-copy-down for dates

Suppose I have an org-table like this: | 2018-09-09 | | | | | | 2018-09-10 | | | | | | 2018-09-11 | | | | ...
4
votes
2answers
50 views

Text substitution only in specific column of org table

I came across this problem today: I had a table with many entries and wanted to perform a text substitution (normal text substitution was sufficient as I hardly ever need regex text substitutions) in ...
0
votes
1answer
29 views

how add vertical column to vertical column

I have column of text like this: Abba Foo Boo M and I want to transform it to: Abba = Abba Foo = Foo Boo = Boo M = M I can add " = " to end column of text via C-x space and M-x string-insert-...
0
votes
1answer
20 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 ...
0
votes
0answers
9 views

Generating a Table of Children from Point (Org-Mode)

Suppose we have * Parent <---- point is here ** Child1 :PROPERTIES: :P: 0.1 :END: ** Child2 :PROPERTIES: :P: 0.2 :END: *** Grandchild1 How can one use elisp (or some other trickery) to generate ...
0
votes
1answer
36 views

Capturing data on .org document to table

I have a simple template in emacs .org mode . \begin{flushright} Name : Phone no: Billed amount: Date \end {flushright} • Details ......... I export the document to pdf and print it. I ...
1
vote
1answer
73 views

How to add hline and column sum to bottom of table using a src block?

I want to (non-interactively) add (one hline and) a last line to a table in which the last column is summed. Like so: #+name: mytable | p | q | |---+---| | a | 5 | | b | 2 | #+begin_src emacs-...
2
votes
3answers
24 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 ...
2
votes
0answers
152 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 +------------+-----------+-------------...
1
vote
1answer
62 views

org spreadsheet and collapsing columns

I have a long spreadsheet 30 rows and 60 columns . It is difficult to work on columns as I can not freeze the columns. Is it possible to collapse the columns ?
6
votes
3answers
2k 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 | | ...
0
votes
0answers
112 views

Plotting a chart from org table

org mode is very good in plotting table. But is there any way of creating line plot from the table directly in org mode?
3
votes
1answer
210 views

Re-Aligning Issue with org-mode tables in spite of monospaced font (Emacs 25.3 / Mac OS X)

I changed from Aquamacs to Emacs for Mac OS X (25.3). Now I have an issue with org-mode tables. After writing and before re-aligning it looks like this: After re-align the table with C-c C-c or TAB ...
1
vote
1answer
189 views

Can I use elisp code make a table and insert a variable into cell?

Can I insert a variable 'alpha' into @2$3 ? Does the function belong Emacs org? ** test elisp make a table #+name: make-table #+BEGIN_SRC emacs-lisp :results value (setq tol 0.1) (setq alpha 1.38) (...
2
votes
2answers
689 views

Quick calculation in org-mode table

I used to think that you can just type =13*57 into an org-mode table's cell, hit Tab or Ret, and have it enter the result for you. Today, I learned that this isn't true the hard way as I used this a ...
0
votes
0answers
75 views

Padding in emacs table

Is there a good way to insert a padding in a emacs table cell? For instance, from this: +-----+-------+ |Text1|No | | |padding| | |here | +-----+-------+ To that: +-------+---------+...
0
votes
1answer
82 views

extract numbers from org mode table and multiply and divide numbers while ignoring units

I would like to extract the numbers from a table like | 21.57 Mg | 10^3 g | 1 m^3 | |-----------+--------+--------| | 1.4^3 m^3 | 1 Mg | 10^3 L | and multiply / divide the numbers while ignoring ...
7
votes
2answers
1k views

Org tables: Wrap all fields in column to a given size

In org it is possible to set a column width like follows: |---+------------------------------| |---+----------------| | | | | | <14>...
3
votes
1answer
102 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'...
4
votes
2answers
226 views

How to generate list of hex numbers?

I am using emacs with org mode. Question 1: I want to number a column in a table in hex. E.g. | 0x00 | xyz | .. | | 0x01 | abc | .. | I want to auto generate first column. Any ideas how to do this ...
0
votes
0answers
27 views

Translate TAB with C-q TAB [duplicate]

I'm an amateur in Emacs and I would like to change TAB with C-q TAB. I used the code: (define-key key-translation-map (kbd "TAB") (kbd"C-q TAB")) But by doing so, I need to press TAB twice in order ...
3
votes
1answer
1k views

Reference cells of other tables in org-mode table

I have a long document with 10 tables, and I want to to have a summary table at the end of the document. Something like that: tab1 | Nº | Description | Value | +----+-------------+-------+ |... ...
0
votes
1answer
34 views

Fix redraw delay in table-mode

How can I eliminate the 200ms delay before text is redrawn in table-mode?
1
vote
1answer
122 views

org-mode table layout

hi i'm new to emacs and i'm really amazed about the org-mode. But i have some problems with the tables. i want a nice looking table but i get always a strange format example: But i want it like ...
4
votes
0answers
58 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)...
5
votes
1answer
306 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 | ...
2
votes
1answer
385 views

how can i split a cell in org-mode table [duplicate]

I would like to create a table like so. | field 1 | field 2 | field 3 | field 4 | | |------+-----|-----+-----+----| | | | sub 1|sub2 | xx | yy | zz | | |---...
2
votes
2answers
178 views

Concatenate ascii/org tables with some different headings

I want to concatenate two ascii tables (one below the other) that share some but not all column headings. e.g. Table 1 Head1 HeadA 1 a 2 b Table 2 HeadA HeadFoo c bar And the result ...
5
votes
2answers
2k views

How do I do simple addition in org mode?

I have heard that you can do math in org-mode through tables, but looking it up comes up with things about LaTeX and other confusing subjects. This is what I want to do: | | 1 | 2 | ...
0
votes
1answer
35 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) ...
1
vote
0answers
80 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 ...
1
vote
0answers
41 views

org-mode: Something like bytefield package

Is there a way to generate data structure overviews like the bytefield package for latex with plain tables? (I.e. I don't want to fall back to LaTeX)
2
votes
3answers
708 views

Org table: aggregate each column (but not the header column)

I would like to transpose this table example from Org as a spreadsheet system: a short introduction: | Student | Maths | Physics | Mean | |----------+-------+---------+------| | Bertrand | 13 | ...
4
votes
2answers
2k 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....
5
votes
1answer
232 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. ...
6
votes
1answer
212 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 ...
7
votes
1answer
461 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 ...
13
votes
1answer
831 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 ...
9
votes
1answer
621 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 ...
24
votes
2answers
1k views

How to clear a cell in an org-mode table?

Is there a built-in command to delete the contents of a cell in a single keystroke within an org-mode table? Note, I don't want to delete the row, just the cell contents. | some text | ==> | ...