Skip to main content

All Questions

Tagged with
3 votes
4 answers
255 views

Table decleration

In my document, I have a table, I want to use \setlength{\tabcolsep}{18pt} but since there is one more table, this also affects the other, which I don't want to change. Therefore I thought of creating ...
4DescarTes's user avatar
1 vote
0 answers
25 views

Add content in a global table located in the beginning of the document

I would like to generate a global table with entries that can be added with a command. I based myself on this post. The issue I have is that I can only display the table after I added all its entries. ...
Pa Dalton's user avatar
1 vote
3 answers
152 views

Subgroups inside of a table

I'm trying to create the following table so that the parts marked in red are listed as subgroups with indent while the others are unindented. I have tried multicolumn. However, it worked only ...
Alina Krichevsky's user avatar
1 vote
2 answers
135 views

Reduce font size for all tables in my document : inside these tables, there are \begingroup and \begin{tabular}

I would like to reduce the font size into of all my tables. The ideal would be to put new macro at the top of my Latex source. I show you for the moment the current formatting : we have 4 bins and not ...
user avatar
0 votes
1 answer
404 views

Change the word “Table” in only one table caption

I'm using the xltabular with the group, because of the table is large and it occupies more than one page. My document which is a thesis, I have two types of tables, the tables and the frames. By ...
user2535338's user avatar
0 votes
0 answers
25 views

How to add table in between two \item commands [duplicate]

I insert a table command between two itemized items, but the table appears at the top of the page. please help me locate this at the right place it means to be. thank you. Ardalan
Ardalan Marandi's user avatar
0 votes
2 answers
194 views

LaTex macro not properly executed in tabular environment

I want to use a macro to set the separators (&,\\) in a tabular environment. The macro should thereby act as a Boolean switch with three states. Unfortunately I keep getting a result like this: ...
Gedlex's user avatar
  • 3
1 vote
1 answer
63 views

Questions about TEX when I try to Constuct a tablet

Excuse ME, when I try to construct a tablet in LaTeX, I got the following error message: !Missing \endgroup inserted. <inserted text> \endgroup 1.141 &...
Fei Cao's user avatar
  • 11
2 votes
1 answer
117 views

How to make mhchem work with \bgroup and \egroup satements? [duplicate]

I am trying to create a table in which a column consists entirely of chemical formulae. I would like to use the array package to automatically insert the \ce{...} command, taking the cell's content as ...
Martin - マーチン's user avatar
1 vote
1 answer
512 views

Grouping numbers in a table without using S-column

This is bit different than my previous question. I have a huge tables with 7 to 8 digits. I need to make a small space between groups of three digits in the numbers. I have used the package siunitx....
Harry's user avatar
  • 961
1 vote
1 answer
916 views

Automatic three digit grouping

I have huge numbers in tables (some of them are grouped in three digit groups but some are not). I need to make a small space (or comma) between groups of three digits. I have used two packages, ...
Harry's user avatar
  • 961
9 votes
2 answers
194 views

Error when using defs inside a macro to write a row in a table

For the following MWE \documentclass{article} \newcommand{\cmd}[5]{% \def\tA{#1}% \def\tB{#2}% \def\tC{#3}% \def\tD{#4}% \def\tE{#5}% \tA & \tB & \tC & \tD & \tE \\ } \...
gablin's user avatar
  • 17.1k
5 votes
1 answer
700 views

How to create groups of table rows with alternating colors?

Problem. When coloring a table, using different colors for even / odd rows is quite usual and can be accomplished with the xcolor package. I, however, don't want to have alternating colors per row, ...
fxnn's user avatar
  • 153
4 votes
1 answer
330 views

Measure and retain lengths between tabular rows

I need elements in a tabular environment to set some lengths and be able to access these lengths in another row of this same table. But it appears that adding \global in front of \settoheight and \...
Peter Grill's user avatar
5 votes
2 answers
552 views

Macro behaviour different inside tabular environment

I have a lot of problems lately with macros expanding (or not expanding) at unexpected times, so thought I was having a related problem here. But, in this case, things are working as I want outside of ...
Peter Grill's user avatar

15 30 50 per page