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
1
vote
4answers
46 views

Merge Columns Together in Org-Mode Tables

Is there a way to merge columns together in an org-mode table? Often when I auto-create a table it will split certain fields into unnecessary columns. I would like a way to select those columns and ...
0
votes
0answers
29 views

Why is a TAB character added when using kill-rectangle and yank-rectangle to insert multiple rows into an org-mode table?

I noticed an annoying behaviour when copying multiple rows (a list) from a web page into an org-mode table, following a process inspired by Is it possible to copy /paste multiple lines of text into ...
1
vote
1answer
16 views

What parameter in orgtbl-to-latex to set column width?

I am trying to set the alignment width of columns in latex. I am using orgtbl's orgtbl-to-latex I want to override the resultant \begin{tabular}{lllll} to something like \begin{tabular}{rlccp3 cm)} ...
1
vote
1answer
157 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{...
0
votes
1answer
22 views

How to control image sizes inside of table

I know that you can write something like: #+attr_html: :width 250 px [[./linl/to/image.jpg]] But what if I have them inside of a table like: | [[./linl/to/image.jpg]] | [[./linl/to/image2.jpg]] | ...
0
votes
1answer
238 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
3answers
54 views

org mode sum time from remote table with org-lookup-all

I have two tables #+NAME: tasks | name | spent | |--------+--------| | task 1 | | | task 2 | | | task 3 | | | task 4 | | | task 5 | | #+NAME: works | date ...
0
votes
2answers
1k 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
2answers
88 views

Is it possible to export an org table into an interactive table?

Org-mode can nicely export tables into html customly. However, these exported tables cannot be sorted or filtered (i.e. are not interactive). Would it be possible to make these tables sortable and ...
0
votes
0answers
46 views

How can I use calc to convert in orgmode table

I am trying to use calc convert in an org mode table. The gnu manual suggests $c/$1/$cm So in my table I tried (for column formula =$c/$1/$cm also tried =$1/$c/$cm, =$1/$m/$cm etc Which produces #...
1
vote
1answer
142 views

org-mode table: how to add the left-most vertical line with column groups notation?

The documentation suggests that column groups syntax is a general way to add vertical lines in a table. For instance, the following org-mode's table snippet |--------+----------| | | Column 1 | ...
0
votes
1answer
60 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 ...
4
votes
2answers
93 views

How does if() work in org spreadsheets?

I got the impression from the manual that | a | | | b | | #+TBLFM: $2=if($-1==a, 1, 0) should produce "1" in the first row and "0" in the second. But instead I ...
0
votes
1answer
21 views

org table apply formula from specific row onwards

| BookmarkLevel | BookmarkPageNumber | ActualPageNumber | |---------------+--------------------+------------------| | 1 | 11 | | | 2 | ...
0
votes
1answer
21 views

disable table mode using either #+BEGIN_EXAMPLE or ‘:’ literal line , but insert latex math block $ … $

I’m trying to typeset a grammar in org markup, but want to use latex symbols in the grammar: a -> hello | $\neg$ world | universe • Now, without using #+BEGIN_EXAMPLE or : literal-line ...
1
vote
1answer
245 views

Unicode characters in org-mode tables

Here's an org-mode table with some unicode math characters in it: Note that the columns don't align. I can manually fix the issue by inserting literal tab characters after each character via ctrl-q ...
0
votes
1answer
49 views

Table formulas involving percentages

I'm creating a table with percentages and calculating a simple sum of a column. The only thing left is to show the result of the formula as a percentage. Here is my MWE: | Element | $ | | E1 | ...
38
votes
1answer
16k 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: |------------+-----------+----------+...
0
votes
1answer
12 views

Is the formula line tracking column insert properly in an org table?

I exhibit with a simple table. My org version is Org mode version 9.2.4 (9.2.4-10-g3b006f-elpa @ /Users/alanwehmann/.emacs.d/elpa/org-20190715/) | 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | | 9 | 10 | ...
1
vote
1answer
30 views

Pass a subset of the columns of a table to a script

I would like to pass only some columns of a table to a script: #+name: table #+RESULTS: | Col0 | Col1 | Col2 | Col3 | |-------+------+------+------| | Line1 | 1 | 2 | 3 | | Line2 | 4 | ...
0
votes
1answer
38 views

Links in Tables - fonts mess up table alignment

I would like to use links in a table to explain certain entries more in depth. | Some | random | table | entries | | More | data | and | LINK | <- misaligned * LINK target with - more ...
5
votes
3answers
1k views

How do I insert resizebox code in org-mode tables when exporting to latex?

I'm trying to figure out how to insert a resize command inside a table environment in org-mode that exports to latex, Here is my minimal example of raw latex source vs org-mode tables: #+LATEX_CLASS:...
0
votes
1answer
36 views

Row descriptor -X leads outside table

I'm trying to calculate a new column on an org table, I'm using the following table formula: #+TBLFM: $9=if (@# > 15, ($6-@-14$6)*100000/10724599, 0) It's taking the difference on column 6 between ...
1
vote
1answer
58 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
2answers
322 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 #+...
12
votes
2answers
923 views

Align columns in Org mode table with Japanese fonts

How can I mix Japanese and English in the same org-mode table (that uses fixed-width fonts)? Something like: | m m m m m m | | | はどう デシウ | | | ハーフ | ハーフ | won't align. ...
0
votes
1answer
140 views

Org-plot with gnuplot (searching for program: No such file or direcotry, aspell)

I am trying to plot simple examples in org-mode by using gnuplot. But it keeps telling me "Searching for program: No such file or directory, aspell". I installed gnuplot both to on emacs and ...
1
vote
1answer
130 views

Hide table border lines in org mode tables?

Is it possible to configure an org-mode table so that all border lines of the table are hidden when exported (e.g. to .tex, pdf and HTML)? I found a similar question in Emacs.SE but wasn't sure ...
1
vote
1answer
49 views

How to type a^b in org-mode?

In an org-mode table, I want to write 2^3, but exporting to html turns it into 23. I prefer not to use inline verbatim, and I would like to not have a space between the ^ and the other text. Is ...
1
vote
0answers
83 views

How to Change the font for org-date face in org-table context?

I like to have a variable font everywhere I can, but some things like tables in org-mode or the org-agenda itself look a little wonky that way, and I get around it by configuring specific fixed width ...
1
vote
2answers
885 views

How to quickly convert text to org-mode table?

windows 10, emacs 26.1 Supose I have the following text: OwnerKey OrganizationName GUID 111192 Infocom 41EA23423423423423423C8-62A61A1532C5 345423 TV A3B8F234234234234239FA5-...
4
votes
3answers
315 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 ...
3
votes
1answer
115 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 ...
2
votes
1answer
215 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
2answers
79 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
94 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
5k 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
75 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
34 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
20 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
36 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
1k 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
47 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 ...
1
vote
1answer
34 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
60 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
63 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
24 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 ...
1
vote
1answer
307 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 ...
1
vote
1answer
24 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 ...
2
votes
2answers
459 views

Table formula for dates delta

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

1
2 3 4 5