Questions tagged [org-table]

for questions about Org mode's ASCII table editor. Use this tag for its spreadsheet calculations and plotting features as well.

Filter by
Sorted by
Tagged with
3
votes
1answer
68 views

Sort Chinese Characters in Emacs

Is there a ready-made function that sorts Chinese characters (by pinyin or stroke number) in Emacs in an org-table or line by line in regular text? If not, how should one go about writing such ...
0
votes
0answers
16 views

Org Mode - Use remote table reference in constants

In https://orgmode.org/manual/References.html remote references are mentioned. Also there are constants for a local environment of a table. I would like to retrieve the value for a constant from the ...
2
votes
1answer
201 views

How remove active date from a dynamic block using columnview

This post explains how you can setup dynamic blocks to create tables based on meeting minutes. In short, you can extract the TODOs of the minutes and put them in a table of actions like so: * ...
1
vote
1answer
59 views

Org mode table export latex with title (upper) and notes (lower)

I would like to create the following LaTeX type table by using the standard org-mode functions. The LaTeX code is the following: \begin{table}[!h] \centering \caption{Results} \label{tab} \begin{...
1
vote
2answers
49 views

Cumulative Column in Org Table

I would like to create a table with Coronavirus case counts for the state of Utah in the United States. I have a table with two columns: a date column and a column of total new cases for that day in ...
1
vote
3answers
76 views

Separately sum positive/negative numbers?

By example: | | Amount | |---+--------| | | 3.50 | | | 1.00 | | | -6.00 | | | 5.00 | | | -2.50 | |---+--------| | | 9.50 | | ^ | wins | |---+--------| | | 8.50 | | ^ | ...
4
votes
2answers
4k views

How to have the sum of a column (with computed data) in the first row?

In org-mode is it possible to generate a table, where there is a column which contains a value computed from values in the other columns and which contains the sum of these values? More specifically, ...
1
vote
1answer
57 views

Reference cells of other tables in org-mode table as plain text

I intent to copy the value of a cell and put the exact copy to the target cell and be able to update the value on referenced cell to be updated on the targeted one. Calling remote to a cell evaluate ...
1
vote
1answer
24 views

Org-mode tables exported as latex arrays within eqnarray environment, how?

If I have constructed a blocked array using an org-mode table, I can easily export the table as, e.g., a pmatrix array as presented below. However, the pmatrix is exported within a math environment (\[...
0
votes
0answers
9 views

Calculating weighted average in orgmode table [duplicate]

In the following table | Item | Weight | Grade | |--------+--------+-------| | Quizes | .15 | 3 | | Exam 1 | .3 | 5 | | Exam 2 | .5 | 4 | |--------+--------+-------| | Total ...
0
votes
0answers
29 views

How to insert quotations in Org tables?

In org mode, how does one insert a quotation in a table cell? I know that #+BEGIN_QUOTE ... #+END_QUOTE is the way to go outside a table, but I can't find a way to use it inside a table cell.
3
votes
1answer
843 views

Exporting Org in Landscape

I have an org document I'd like to export to PDF - with several wide tables columns in it - so much so that it makes sense to export the whole document in A4 landscape to keep the orientation ...
2
votes
0answers
36 views

org-table: hide grid lines

I like how org-mode allows me to quickly create and edit tables. However, I do not like the table's appearance and I would like to modify it. Customizing the face only lets me change foreground and ...
2
votes
1answer
299 views

TBLFM insert new row with current time

I want to insert a new row at line 2 in a table (preferably using TBLFM), and I want it to be prefilled with the current date (col 1) and time (col 2). How do I insert a new row (something like #+...
0
votes
1answer
226 views

org-mode table editor behaves strangely

With cursor in row 2, col 3 | a | b | c | | 1 | 2 | 3 _| Pressing <TAB> creates a new row: | a | b | c | | 1 | 2 | 3 | | | | | Type more than one character and press tab. Vertical ...
0
votes
2answers
885 views

Org-mode: How to fix table width to page width for dynamically generated tables?

I am using dynamically generated table to create a tabulated to do list with various parameters using: #+COLUMNS: %ITEM %SCHEDULED %DEADLINE for more info see: Org-Agenda export to dynamic Org-Table ...
1
vote
1answer
29 views

Perform calculations in orgtbl with the LaTeX syntax?

This is an orgtbl table #+begin_src emacs-lisp :results none (setq calc-language 'latex) (calc-radians-mode) #+end_src #+attr_latex: :mode math |----------+-----+----------| | Fonction | var | ...
0
votes
1answer
35 views

Org table date arithmetic with Lisp expressions

It's easy to do date arithmetic using org-mode table formulas. For example, if I enter this table: | [2020-01-01] | | | [2020-02-01] | | | [2020-03-01] | | #+TBLFM: $2=$1+1 ...and then do C-c C-c ...
2
votes
1answer
38 views

Hide org-table rows outside certain date ranges?

Excel tables lets us show just the rows that have "July 2018" in a specific column, and hide the rest. Or to show "21st August 2017-30th August 2017, and also July 2018, and also all of 2019", and ...
0
votes
0answers
13 views

Custom org-refile of a table entry similar to Capture

My question concerns the refiling of table entry. I keep my cheatsheets for different kind of things in a table format. Let's suppose, that each heading has exactly one table. * My table 1 ...
0
votes
1answer
94 views

Org mode table- make entire column to contain checkbox

I have a table like this using Org mode (by typing |-- and then tab to complete |-- Item-- |--Notes---| | blah blah|blah blah | Now I would like to add another column just before Item and contains ...
3
votes
2answers
199 views

Make Org Table with #+NAME label collapsible

I have an org table with has a NAME label like: #+NAME: TBL | Foo | Bar | In the past I have always been able to expand and collapse the whole table by cycling using TAB on the #+NAME line. However ...
1
vote
1answer
19 views

Set org-table tab-key behavior to insert row when above a footer/hline

I've been experimenting with/learning org-mode's table features and spreadsheet-like formulae. If I include a totals-type footer row in a table and precede it with a border (hline), then I can simply ...
1
vote
2answers
287 views

Table formula for dates delta

Here my org table: | | Start date | End date | State | Duration | |---+------------------------+------------------------+-------+----------| | # | <2019-01-02 Wed 10:...
0
votes
0answers
36 views

Time-formatted output from org-table date- and time calculation?

I have an org-table for my timesheets. Part of it looks this: | Start | End | End - Start | | <2020-03-05 10:00> | <2020-03-05 Thu 14:30> | 0.1875 | #+...
1
vote
0answers
33 views

using org table as yasnippet input

I'm using yasnippets to create code blocks in org mode to document and execute DevOps activities. To improve productivity, it would be nice to have a possibility to create org tables with rows of ...
4
votes
1answer
145 views

Org mode + table.el: Use Org formatting inside cells

Say I have a table in an Org document looking like this: (Source) +----------+-----------+----------+-------------------------------------------------------+ | Date | Day | Pages | ...
2
votes
2answers
142 views

Export table to CSV file without prompt

I want to have tables that I can easily export to files. In this regard I want to associate a file path and a format to tables. This page in the docs is most relevant: https://orgmode.org/manual/...
2
votes
2answers
85 views

Org Reveal : Tabular fragments

I'm using org-reveal to make a presentation. I want to have elements in tabular form appear sequentially but in column-major order. I know you can put :frag property-markers for gradual appearance....
1
vote
1answer
98 views

calculate the sum of the muplication of 2 columns in org table

I have a org table: | a | b | c | |---+---+---| | 1 | 2 | i | | 3 | 4 | j | |---+---+---| | 4 | 6 | | I want to multiply columns a and b and sum them up (except last row: 1*2+3*4) and put into the ...
0
votes
4answers
64 views

Nesting conditionals, consolidating functionality in elisp

Working in an org-mode file, I have this table #+tblname: site-charac-matrix | | glaze | orn | color | thin | |---+-------+-----+-------+------| | A | 0 | 1 | 0 | 0 | | B | 1 | 0 ...
4
votes
3answers
1k views

Conditionally calculate the sum of a column depending on a fields value in another cell of the same row

In orgmode, I do have a table like the following to track my overall working time a day. It is not important for which tasks or projects or even which client I spent my time on, just if I was in ...
0
votes
1answer
41 views

How to unpack a tuple from org-sbe evaluating a python code block into multiple columns of a org-table?

I often encounter situations where I can easily think of python code that, given some input values, computes multiple output values at once. As an example, consider the following simple code-block ...
1
vote
1answer
38 views

Org-mode table recalculation with a remote() formula using calc?

Can I make table2 automatically recalculate a remote() formula when I modify data in table1? I have the below tables and the first table is automatically recalculated when I press TAB (thanks to the "...
11
votes
2answers
2k views

How can I filter table in org mode

For example, I want to filter table that make it shows the row which only contains "USA" string in the column 3 and 4.
0
votes
0answers
15 views

Footnote link broken when converting to table.el format

Org mode footnotes within table cells are broken when converting to table.el format with C-c~. * Org Table | col1 | col2 | col3 | |-----------+------+----------------| | some text | ...
0
votes
1answer
49 views

Exact steps to export to an org table to csv

Sorry if this is trivial. What are the exact step to export the following table: 1) to a buffer 2) to the file specified in properties For now if I position the cursor inside the M-x org-table-...
0
votes
0answers
11 views

Dealing with a table with too many row in org-mode

When a table gets too long, how can you deal with it? Is there any way of collapsing parts of it? Or maybe dividing it in multiple tables and still perform operations (like adding a column) on all of ...
0
votes
1answer
22 views

Applying formatting from within tables

It seems that ^c ^c applies table formatting only when point is on the formatting line (the one beginning in #+tblfm:). Is it possible to have ^c ^c apply formatting even when point is in the table ...
1
vote
2answers
699 views

Org-Mode How to position tables correctly when exporting to Latex?

I have a document I have written in org-mode which contains several tables. The tables all have the following attributes. #+begin_table #+LATEX: \caption{Initial risk List} #+LATEX: \label{tab:risk-...
5
votes
2answers
275 views

Auto-update org tables before each export

I am looking for a solution (a function) that evaluates all the tables in the org file/buffer. I should be then simply able to add that to the local value of before-save-hook in org-mode. Currently, ...
0
votes
0answers
21 views

Force Org-Link to inherit a different face when placed in org-table?

I currently have (variable-pitch-mode +1) set on a hook when I start org-mode. I have customized my org-mode faces such that faces like org-link inherit from my variable-pitch face. This looks great ...
2
votes
1answer
169 views

org column view with date calculations

* TODO fix this bug asap :PROPERTIES: :UPDATE: writing test cases almost there! :LASTUPDATED: 2019-11-25 :DEADLINE: 2019-11-30 :END: * TODO update that documentation :PROPERTIES: :UPDATE: updating my ...
2
votes
1answer
43 views

org-table to calc matrix and back again?

Is it possible to feed data from an org table into calc as a matrix, and then get it out again as a vector to fill in a column? For example, if I have: | | Fund A | Fund B | Fund C | ...
1
vote
4answers
55 views

Convert text under a heading into an org-table

I am using spacemacs. I've written my shortcuts in an org file to not forget them. It has a structure of Description: key, then I go to the next line and enter the next command. For example *** Latex ...
0
votes
0answers
48 views

Org-mode parameters for custom table environment for LaTeX

I am using an overridden table environment based on tabular to get some custom cell coloring based on row alternation (similar to what rowcolors does, but also allowing column color variation at the ...
0
votes
1answer
128 views

org-mode headings to org-table

I have a big org file with lot of topics, and every topic have a books subheading. I would like write a function that can generate a list of all books in org-table. I was trying with (org-map-entries) ...
0
votes
1answer
50 views

How to transform abbrevated dates in org table

The input column represents the year without 201 and month and day without leading zeros. I must transform these into full date strings. After a couple of hours to take step 1, I'm wondering if there ...
11
votes
5answers
728 views

Preview fields in org table

Sometimes it is convenient to set a manual column width when creating a table in org-mode. This makes it so that columns do not have to grow to the size of their longest entry. When an entry in and ...
0
votes
0answers
28 views

How to make Alt-h work in Org mode in Spacemacs?

When inside a table in Org mode, I can press Alt-l to move the column to the right. But alt-h does nothing. The same happens when I try to put the heading one level deeper. Alt-l works but alt-h ...

1
2 3 4 5