1
vote
1answer
56 views

Text color in natural table heading in ConTeXt

I'm new to ConTeXt and having a problem with colors of header in a "natural table". I want to have the text in the header displayed as white, and not gray. Here is what I have right now ...
5
votes
2answers
64 views

ConTeXt TABLEs, how to automatically fit table size with text with \setupTABLE

When I type something like \bTABLE \bTR\bTD abc\eTD\bTD abcdefg\eTD\eTR \bTR\bTD 123456789\eTD\bTD 1234\eTD\eTR \eTABLE in ConTeXt, it automatically sets the column widths to fit the text contained ...
2
votes
0answers
55 views

Is there a documentation for \setupTABLE?

I need to know which parameters can be passed to \setupTABLE command. Is there any documentation or can it be extracted from source ?
2
votes
1answer
60 views

How to place footnote under TABLE in ConTeXt?

I need to place footnotes, declared inside \bTABLE \eTABLE, just under the table, delimited with a short rule. |----------| | table | |----------| _______ *footnote I also need to \placetable ...
3
votes
0answers
111 views

Center an image horizontally and vertically in a table with ConTeXt

\setuppapersize[A4] \enableregime[utf-8] \usemodule [simplefonts][size=12pt] \setmainfont[EB Garamond 12][expansion=quality,protrusion=quality] \setuppagenumbering[location=] ...
0
votes
0answers
89 views

ConTeXt: How to control vertical and horizontal line thickness in tables?

In LaTeX, I could do something like: \begin{longtabu} to \linewidth {X |[3pt] X} ... \tabucline[3pt]{-} ... \end{longtabu} which would produce vertical and horizontal lines of 3pt thickness. ...
0
votes
1answer
89 views

ConTeXt: How to maximize width of column depending on fixed sizes of other columns?

In LaTex, I could do something like: \newcolumntype{C}[1] {>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{L}[1] ...
3
votes
1answer
82 views

Alignment issues with lists in a table in ConTeXt

This issue has been answered many times for LaTeX, but I couldn't find any explanation for ConTeXt. Here is a sample that shows the alignment problem : \starttable[|cB|p(4cm)|p(4cm)|] ...
5
votes
1answer
125 views

Set the width of every columns of a table in ConTeXt

Sometimes, I need such a table whose column widths should be equal with each other. Here is an example: Name Email John john1989@gmail.com Bill bill1990@outlook.com Tim ...
3
votes
1answer
182 views

How to change indentation/margin of table in Context?

This is the code I use to create a simple table in Context: \starttable[|lw(43mm)|lw(43mm)|] \NC {\em Mer uttalade} \NC {\em Mindre uttalade} \NC\AR \NC {\em bearbetningsegenskaper} \NC {\em ...
4
votes
2answers
215 views

Why are my tables running off the edge of the page in ConTeXt?

I need to make a table which fits to the \textwidth, or essentially, the width generally available to text on the page. I have created columns of 20%, 60%, and 20%, which should fit the width, ...
3
votes
1answer
160 views

ConTeXt mkiv: Footnote inside tabulation

I need to include a \footnote inside a tabulation environment. I adapted the example from ConTeXt wiki, but at compiling the content between \starttabulatehead and \stoptabulatehead doesn't show up ...
7
votes
1answer
224 views

How to prevent tables from being wider than the text width in ConTeXt?

I have some tables like this: \starttabulate[|l|l|] \HL \NC Title 1 \NC Title 2 \NC\NR \HL \NC This is a sentence. \NC This is another sentence. \NC\NR \HL \stoptabulate ...
7
votes
0answers
188 views

Strange problem with frames (ConTeXt tables) [closed]

Leads to a bug report on the ConTeXt mailing list: [dev-context] bTABLE in header and document give unexpected behavior When using this code I get a problem with the frame around the header on ...
5
votes
1answer
216 views

formatting natural table header with conTeXt

I am struggling with my table formatting a bit and hope there is someone around here that can give me some help. This is the table I have at the moment. \bTABLE \startTABLEhead \bTR \bTD ...
4
votes
1answer
704 views

Context: Vertical-Align Image in Table Cell

I'd like to vertically center the alignment of an image in a table cell. The Text is (like usual) vertically centered, but the images continue to stick to the top of the cell. \starttable[|l|l|] ...
9
votes
1answer
329 views

Discontinuous table rules in ConTeXt

How to set up a table with discontinuous horizontal rules? As an example I used a table from another answer: My table still lacks the interrupted rules. Another thing is the rule above “Total”. ...
4
votes
2answers
439 views

ConTeXt center tabular

In ConTeXt, a tabular environment evidently does not behave a centered context. e.g.: \startalignment[center] \starttabular \NC item one \NC item two \NC\NR \NC item three \NC ...
8
votes
2answers
361 views

Creating a table which spans verso and recto pages in ConTeXt?

I am preparing a book which contains information which is divided into three columns. The first column (A) occupies the full width of all verso pages. The second (B) and third (C) column share the ...
4
votes
2answers
352 views

Cutting a table to fit the available space on a page

I have a long list of data, in a CSV file, formatted like this: tiger, 300, 10.0, 7, 4.0 lion, 200, 15.0, 5, 3.0 bear, 100, 15.0, 3, 1.0 fish, 10, 10.0, 2, 0.1 The first rows are more important ...
1
vote
2answers
286 views

verbatim text in ConTeXt tables

I want to create a table for a few blocks of source code. In LaTeX, I would do \hline \begin{lstlisting} abc; def; \end{lstlisting} \tabularnewline Is there a way to accomplish something like ...
3
votes
1answer
526 views

Center ConTeXt table horizontally

Although my table is only so wide and inside a alignment[middle] environment, it doesn’t get centered and stays left aligned. (For ConTeXtians: right aligned :)) I tried a hack and add an empty ...
3
votes
1answer
412 views

Diagonal separator in table corner in ConTeXt

How can one create a diagonal separator in a table corner in ConTeXt (like the package slashbox for LaTeX)?
4
votes
1answer
377 views

ConTeXt - indented table, but horizontal rules go to left margin

This will be my last ConTeXt question for a little while...I've set up \setuptabulate[indenting=yes,margin=40pt] This works only to the extent that the table cells are indented appropriately - but ...
5
votes
1answer
600 views

Background color of cells in ConTeXt

I'd like to set the background colors for cells to indicate their relations. How can I do this in ConTeXt?
5
votes
1answer
279 views

ConTeXt TABLEs width

I am using the "natural tables" in ConTeXt: \bTABLE \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR \eTABLE How can I setup the table that the whole table uses a certain width? ...