0
votes
0answers
34 views

How can the following table be created in LaTeX [duplicate]

I have asked this question here, and asking it once again, as it was marked as duplicate, although it is different from the links that were pointed to be the same as the question. So, how can I ...
6
votes
3answers
112 views

Why cannot the word in the last column be centered

I have the following table: \begin{tabular}{|p{3cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|} \hline \centerline {image} & \multicolumn{2}{c|}{ABC} & \multicolumn{2}{c|}{DEF} \\ \hline & ...
0
votes
0answers
87 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
86 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] ...
13
votes
2answers
197 views

How to set tikzmarks with \noalign at the edge of tabular rows

I'm trying to improve the lines in a tabular with colored rows (lines above a colored row can disappear in the adobe reader at some zoom levels) by redrawing the line above a row after the row itself ...
7
votes
3answers
134 views

Defining tabular rows with macros using `\ifnum` leads to `Incomplete \ifnum`

I am trying to define tabular rows using a macro which shall perform an conditional definition of the tabular row according to a given parameter. Please consider the following MWE: ...
7
votes
1answer
175 views

xcolor and everycr-Problem

I'm trying to insert some \noalign-code in every row of a tabular by using colortbl and \everycr or \CT@everycr. In most cases it works fine, but not if there is a \rowcolors-command (from xcolor) ...
3
votes
1answer
264 views

how to use \loop … \repeat to generate an arbitrary number of rows in a table [duplicate]

Possible Duplicate: Copy table row n times The code below is intended to produce a table with 3 columns and 3 rows (one heading and two empty rows) but it can be seen that it doesn't work. ...
1
vote
0answers
70 views

How to print the newline character “\\” from a macro so that it is recognized as newline in tabular [duplicate]

Possible Duplicate: How to programmatically make tabular rows using \\whiledo ? I have a problem that may have an interesting answer. I am writing a macro whose output I would like to be a ...
8
votes
2answers
167 views

Execute non-expandable code inside a tabular environment

As there is no Expandable version of \InputIfFileExists or \IfFileExists, the question arises whether it is possible to execute non-expandable code in a tabular environment after all: File main.tex: ...
12
votes
3answers
315 views

Expansion of first token in a tabular cell

Background I currently do some work on the collcell package which collects the content of a tabular/array cell and provides it to a user defined macro, e.g. using ...
7
votes
2answers
731 views

Problem with dynamic table creation

I've wandered into uncharted territory with a package I'm writing. At one point I need to create a table of 'n' columns (n supplied by user in doc). Creating a variable in the preamble of the tabular ...