How to assign captions for two tables in LaTeX? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to put two tables in a table* element so that the tables appear side by side in a two column layout scientific paper?Two Captions for the tableHow to put captions below tables residing in multiple columnsTable caption not appearing in PNAS document classsubfloat, how to put two tables side by side instead of one above the other?Two tables side by side with independent and global captionsPutting two tables side by side (one table with subtables)Putting two tables inside a table with different captionsTables side by side with two captions for each oneTabulars in the same table with separate captions
Why is there no army of Iron-Mans in the MCU?
Stars Make Stars
macOS-like app switching in Plasma 5
How to recreate this effect in Photoshop?
Is it true that "carbohydrates are of no use for the basal metabolic need"?
What do you call a plan that's an alternative plan in case your initial plan fails?
Right-skewed distribution with mean equals to mode?
What happens to sewage if there is no river near by?
Why is "Consequences inflicted." not a sentence?
Should I call the interviewer directly, if HR aren't responding?
Bonus calculation: Am I making a mountain out of a molehill?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
If 'B is more likely given A', then 'A is more likely given B'
The logistics of corpse disposal
How to deal with a team lead who never gives me credit?
What LEGO pieces have "real-world" functionality?
IndentationError when pasting code in Python 3 interpreter mode
Marking the functions of a sentence: 'She may like it'
When to stop saving and start investing?
Does the Giant Rocktopus have a Swim Speed?
If a contract sometimes uses the wrong name, is it still valid?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Should gear shift center itself while in neutral?
How is the internal pullup resistor in a microcontroller wired?
How to assign captions for two tables in LaTeX?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to put two tables in a table* element so that the tables appear side by side in a two column layout scientific paper?Two Captions for the tableHow to put captions below tables residing in multiple columnsTable caption not appearing in PNAS document classsubfloat, how to put two tables side by side instead of one above the other?Two tables side by side with independent and global captionsPutting two tables side by side (one table with subtables)Putting two tables inside a table with different captionsTables side by side with two captions for each oneTabulars in the same table with separate captions
I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment?
documentclassarticle
begindocument
begintabularll
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabular
enddocument
tables floats pdftex captions
New contributor
add a comment |
I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment?
documentclassarticle
begindocument
begintabularll
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabular
enddocument
tables floats pdftex captions
New contributor
add a comment |
I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment?
documentclassarticle
begindocument
begintabularll
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabular
enddocument
tables floats pdftex captions
New contributor
I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment?
documentclassarticle
begindocument
begintabularll
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabular
enddocument
tables floats pdftex captions
tables floats pdftex captions
New contributor
New contributor
New contributor
asked 3 hours ago
BrownBrown
161
161
New contributor
New contributor
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
using tabularx
for outer table and use table
environment:
documentclassarticle
usepackage[skip=1ex]caption
usepackagetabularx
newcolumntypeC>centeringarraybackslashX
begindocument
begintable[htb]
begintabularxlinewidthCC
captionThe first table
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
captionThe second table
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabularx
endtable
enddocument
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article usingbegintable*
– Brown
2 hours ago
add a comment |
With minipages
and captionof
you can achieve the following:
documentclassarticle
usepackagecapt-of
begindocument
noindent
beginminipage0.5textwidth
centering
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
captionoftableMy first caption
endminipage%
beginminipage0.5textwidth
centering
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
captionoftableMy second caption
endminipage
enddocument
add a comment |
You can use the floatrow
package:
documentclassarticle
usepackagecaption
usepackagefloatrow
begindocument
begintable
captionsetupjustification=raggedright
floatsetupcaptionskip=2pt
beginfloatrow
ttabbox[1.4FBwidth]captionA First Tablebegintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
ttabbox[1.4FBwidth]captionA Second Tablebegintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endfloatrow
endtable
enddocument
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
Yes, becausefloatrow
redefines theH
specifier for its own sake, and a few other things. So if you loadfloat
for ‘H’, you can use it with onlyfloatrow
.
– Bernard
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Brown is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485016%2fhow-to-assign-captions-for-two-tables-in-latex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
using tabularx
for outer table and use table
environment:
documentclassarticle
usepackage[skip=1ex]caption
usepackagetabularx
newcolumntypeC>centeringarraybackslashX
begindocument
begintable[htb]
begintabularxlinewidthCC
captionThe first table
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
captionThe second table
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabularx
endtable
enddocument
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article usingbegintable*
– Brown
2 hours ago
add a comment |
using tabularx
for outer table and use table
environment:
documentclassarticle
usepackage[skip=1ex]caption
usepackagetabularx
newcolumntypeC>centeringarraybackslashX
begindocument
begintable[htb]
begintabularxlinewidthCC
captionThe first table
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
captionThe second table
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabularx
endtable
enddocument
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article usingbegintable*
– Brown
2 hours ago
add a comment |
using tabularx
for outer table and use table
environment:
documentclassarticle
usepackage[skip=1ex]caption
usepackagetabularx
newcolumntypeC>centeringarraybackslashX
begindocument
begintable[htb]
begintabularxlinewidthCC
captionThe first table
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
captionThe second table
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabularx
endtable
enddocument
using tabularx
for outer table and use table
environment:
documentclassarticle
usepackage[skip=1ex]caption
usepackagetabularx
newcolumntypeC>centeringarraybackslashX
begindocument
begintable[htb]
begintabularxlinewidthCC
captionThe first table
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
&
captionThe second table
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endtabularx
endtable
enddocument
answered 3 hours ago
ZarkoZarko
130k869169
130k869169
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article usingbegintable*
– Brown
2 hours ago
add a comment |
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article usingbegintable*
– Brown
2 hours ago
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article using
begintable*
– Brown
2 hours ago
This is very good but the problem what happens when Table I has a lot more columns than Table II. How do handle the space and I want these two tables to be placed at the top of a two-column article using
begintable*
– Brown
2 hours ago
add a comment |
With minipages
and captionof
you can achieve the following:
documentclassarticle
usepackagecapt-of
begindocument
noindent
beginminipage0.5textwidth
centering
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
captionoftableMy first caption
endminipage%
beginminipage0.5textwidth
centering
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
captionoftableMy second caption
endminipage
enddocument
add a comment |
With minipages
and captionof
you can achieve the following:
documentclassarticle
usepackagecapt-of
begindocument
noindent
beginminipage0.5textwidth
centering
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
captionoftableMy first caption
endminipage%
beginminipage0.5textwidth
centering
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
captionoftableMy second caption
endminipage
enddocument
add a comment |
With minipages
and captionof
you can achieve the following:
documentclassarticle
usepackagecapt-of
begindocument
noindent
beginminipage0.5textwidth
centering
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
captionoftableMy first caption
endminipage%
beginminipage0.5textwidth
centering
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
captionoftableMy second caption
endminipage
enddocument
With minipages
and captionof
you can achieve the following:
documentclassarticle
usepackagecapt-of
begindocument
noindent
beginminipage0.5textwidth
centering
begintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
captionoftableMy first caption
endminipage%
beginminipage0.5textwidth
centering
begintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
captionoftableMy second caption
endminipage
enddocument
answered 3 hours ago
leandriisleandriis
11.3k1733
11.3k1733
add a comment |
add a comment |
You can use the floatrow
package:
documentclassarticle
usepackagecaption
usepackagefloatrow
begindocument
begintable
captionsetupjustification=raggedright
floatsetupcaptionskip=2pt
beginfloatrow
ttabbox[1.4FBwidth]captionA First Tablebegintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
ttabbox[1.4FBwidth]captionA Second Tablebegintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endfloatrow
endtable
enddocument
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
Yes, becausefloatrow
redefines theH
specifier for its own sake, and a few other things. So if you loadfloat
for ‘H’, you can use it with onlyfloatrow
.
– Bernard
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
add a comment |
You can use the floatrow
package:
documentclassarticle
usepackagecaption
usepackagefloatrow
begindocument
begintable
captionsetupjustification=raggedright
floatsetupcaptionskip=2pt
beginfloatrow
ttabbox[1.4FBwidth]captionA First Tablebegintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
ttabbox[1.4FBwidth]captionA Second Tablebegintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endfloatrow
endtable
enddocument
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
Yes, becausefloatrow
redefines theH
specifier for its own sake, and a few other things. So if you loadfloat
for ‘H’, you can use it with onlyfloatrow
.
– Bernard
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
add a comment |
You can use the floatrow
package:
documentclassarticle
usepackagecaption
usepackagefloatrow
begindocument
begintable
captionsetupjustification=raggedright
floatsetupcaptionskip=2pt
beginfloatrow
ttabbox[1.4FBwidth]captionA First Tablebegintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
ttabbox[1.4FBwidth]captionA Second Tablebegintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endfloatrow
endtable
enddocument
You can use the floatrow
package:
documentclassarticle
usepackagecaption
usepackagefloatrow
begindocument
begintable
captionsetupjustification=raggedright
floatsetupcaptionskip=2pt
beginfloatrow
ttabbox[1.4FBwidth]captionA First Tablebegintabularccc
A & B & C \
cline1-3
1 & 2 & 3 \
cline1-3
C & B & A \
endtabular
ttabbox[1.4FBwidth]captionA Second Tablebegintabularccc
D & E & F \
cline1-3
4 & 5 & 6 \
cline1-3
F & E & D \
endtabular
endfloatrow
endtable
enddocument
answered 3 hours ago
BernardBernard
176k778210
176k778210
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
Yes, becausefloatrow
redefines theH
specifier for its own sake, and a few other things. So if you loadfloat
for ‘H’, you can use it with onlyfloatrow
.
– Bernard
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
add a comment |
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
Yes, becausefloatrow
redefines theH
specifier for its own sake, and a few other things. So if you loadfloat
for ‘H’, you can use it with onlyfloatrow
.
– Bernard
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
I am getting this error
Package floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
I am getting this error
Package floatrow Error: Do not use float package with floatrow.
– Brown
2 hours ago
Yes, because
floatrow
redefines the H
specifier for its own sake, and a few other things. So if you load float
for ‘H’, you can use it with only floatrow
.– Bernard
1 hour ago
Yes, because
floatrow
redefines the H
specifier for its own sake, and a few other things. So if you load float
for ‘H’, you can use it with only floatrow
.– Bernard
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
It means there is no way to get around this. But thank you!
– Brown
1 hour ago
add a comment |
Brown is a new contributor. Be nice, and check out our Code of Conduct.
Brown is a new contributor. Be nice, and check out our Code of Conduct.
Brown is a new contributor. Be nice, and check out our Code of Conduct.
Brown is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485016%2fhow-to-assign-captions-for-two-tables-in-latex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown