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
What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
Regex in IF condition in awk
Can a non-EU citizen traveling with me come with me through the EU passport line?
Who can trigger ship-wide alerts in Star Trek?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
Why is black pepper both grey and black?
Alternate inner products on Euclidean space?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
grandmas drink with lemon juice
How can players work together to take actions that are otherwise impossible?
Bonus calculation: Am I making a mountain out of a molehill?
Is it true that "carbohydrates are of no use for the basal metabolic need"?
Want to buy sofa for living room. What to do about cats?
Stars Make Stars
Java 8 stream max() function argument type Comparator vs Comparable
When to stop saving and start investing?
How can whole tone melodies sound more interesting?
Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?
How can I make names more distinctive without making them longer?
If 'B is more likely given A', then 'A is more likely given B'
If a contract sometimes uses the wrong name, is it still valid?
How to assign captions for two tables in LaTeX?
Can Pao de Queijo, and similar foods, be kosher for Passover?
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
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 hours ago
BrownBrown
111
111
New contributor
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Brown is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
31 mins 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
33 mins 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
31 mins 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
31 mins 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 1 hour 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
31 mins 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
31 mins 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
31 mins 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
31 mins 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 1 hour 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
33 mins 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
33 mins 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 1 hour ago
BernardBernard
176k778210
176k778210
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
33 mins ago
add a comment |
I am getting this errorPackage floatrow Error: Do not use float package with floatrow.
– Brown
33 mins ago
I am getting this error
Package floatrow Error: Do not use float package with floatrow.– Brown
33 mins ago
I am getting this error
Package floatrow Error: Do not use float package with floatrow.– Brown
33 mins 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