figures in a grid with multiple line of textsvertical spacing between subfloatMinipage with four figures -...
Can I write a book of my D&D game?
What is the in-universe cost of a TIE fighter?
Program that converts a number to a letter of the alphabet
Explain the objections to these measures against human trafficking
What was the earliest start time of a Catholic mass before 1957?
Guns against regular people
How can animals be objects of ethics without being subjects as well?
Book where aliens are selecting humans for food consumption
figures in a grid with multiple line of texts
Solubility of a tribasic weak acid
How does Arcane Armament interact with the Artillerist Artificer's Wand Prototype feature?
Isn't using the Extrusion Multiplier like cheating?
Why zero tolerance on nudity in space?
Why did this image turn out darker?
Checking for the existence of multiple directories
How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?
Can a hotel cancel a confirmed reservation?
Is a debit card dangerous in my situation?
Is there any differences between "Gucken" and "Schauen"?
How would one buy a used TIE Fighter or X-Wing?
Calculate Contact age in a Drupal view
Breaking a Loop in Tikz
Would a National Army of mercenaries be a feasible idea?
Avoiding morning and evening handshakes
figures in a grid with multiple line of texts
vertical spacing between subfloatMinipage with four figures - avoiding too much whitespaceLaTeX Error: File subfigure.sty not foundHow to arrage multiple figures?Insert multiple figures in Latexsubfigure counters not resettingSub-figures of different sizes grid layoutOverfull hbox warning - two plots side-by-sidefigures in multiple rowsArrange 3 subfigures and 1 justified caption in a 2x2 fashionMultiple figures with subOutset of images: Figures surrounding figures
How can I put insert figures in a grid? Each figures will have 4 captions. I tried using subfloat but it doesn't seem to work.
documentclass{article}
usepackage{graphicx}
usepackage{subfig}
begin{figure}[ht] label{ fig7}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{1.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
hfill
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{3.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
end{figure}
end{document}
subfloats includegraphics
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
|
show 6 more comments
How can I put insert figures in a grid? Each figures will have 4 captions. I tried using subfloat but it doesn't seem to work.
documentclass{article}
usepackage{graphicx}
usepackage{subfig}
begin{figure}[ht] label{ fig7}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{1.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
hfill
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{3.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
end{figure}
end{document}
subfloats includegraphics
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SE. You could see here, for example, tex.stackexchange.com/questions/126818/… or here tex.stackexchange.com/questions/162824/…
– Sebastiano
3 hours ago
one figure with four captions? please, show a sketch of how this should look like.
– Zarko
2 hours ago
@Zarko, added. sorry about the orientation.
– blues
2 hours ago
and where are captions? how they are numbered? and really each image has four caption? i never seen something like this demand ... (to my opinion, it does not make sense)
– Zarko
2 hours ago
1
Hey @blues5, are you sure you need actual captions? Wouldn't 4 simple lines of text be sufficient?
– sheß
2 hours ago
|
show 6 more comments
How can I put insert figures in a grid? Each figures will have 4 captions. I tried using subfloat but it doesn't seem to work.
documentclass{article}
usepackage{graphicx}
usepackage{subfig}
begin{figure}[ht] label{ fig7}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{1.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
hfill
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{3.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
end{figure}
end{document}
subfloats includegraphics
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
How can I put insert figures in a grid? Each figures will have 4 captions. I tried using subfloat but it doesn't seem to work.
documentclass{article}
usepackage{graphicx}
usepackage{subfig}
begin{figure}[ht] label{ fig7}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{1.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{2.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
hfill
begin{minipage}[b]{0.5linewidth}
includegraphics[width=0.35linewidth,valign=c]{3.jpg}
caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{minipage}
end{figure}
end{document}
subfloats includegraphics
subfloats includegraphics
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 1 hour ago
blues
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 hours ago
bluesblues
63
63
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
blues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SE. You could see here, for example, tex.stackexchange.com/questions/126818/… or here tex.stackexchange.com/questions/162824/…
– Sebastiano
3 hours ago
one figure with four captions? please, show a sketch of how this should look like.
– Zarko
2 hours ago
@Zarko, added. sorry about the orientation.
– blues
2 hours ago
and where are captions? how they are numbered? and really each image has four caption? i never seen something like this demand ... (to my opinion, it does not make sense)
– Zarko
2 hours ago
1
Hey @blues5, are you sure you need actual captions? Wouldn't 4 simple lines of text be sufficient?
– sheß
2 hours ago
|
show 6 more comments
1
Welcome to TeX.SE. You could see here, for example, tex.stackexchange.com/questions/126818/… or here tex.stackexchange.com/questions/162824/…
– Sebastiano
3 hours ago
one figure with four captions? please, show a sketch of how this should look like.
– Zarko
2 hours ago
@Zarko, added. sorry about the orientation.
– blues
2 hours ago
and where are captions? how they are numbered? and really each image has four caption? i never seen something like this demand ... (to my opinion, it does not make sense)
– Zarko
2 hours ago
1
Hey @blues5, are you sure you need actual captions? Wouldn't 4 simple lines of text be sufficient?
– sheß
2 hours ago
1
1
Welcome to TeX.SE. You could see here, for example, tex.stackexchange.com/questions/126818/… or here tex.stackexchange.com/questions/162824/…
– Sebastiano
3 hours ago
Welcome to TeX.SE. You could see here, for example, tex.stackexchange.com/questions/126818/… or here tex.stackexchange.com/questions/162824/…
– Sebastiano
3 hours ago
one figure with four captions? please, show a sketch of how this should look like.
– Zarko
2 hours ago
one figure with four captions? please, show a sketch of how this should look like.
– Zarko
2 hours ago
@Zarko, added. sorry about the orientation.
– blues
2 hours ago
@Zarko, added. sorry about the orientation.
– blues
2 hours ago
and where are captions? how they are numbered? and really each image has four caption? i never seen something like this demand ... (to my opinion, it does not make sense)
– Zarko
2 hours ago
and where are captions? how they are numbered? and really each image has four caption? i never seen something like this demand ... (to my opinion, it does not make sense)
– Zarko
2 hours ago
1
1
Hey @blues5, are you sure you need actual captions? Wouldn't 4 simple lines of text be sufficient?
– sheß
2 hours ago
Hey @blues5, are you sure you need actual captions? Wouldn't 4 simple lines of text be sufficient?
– sheß
2 hours ago
|
show 6 more comments
2 Answers
2
active
oldest
votes
The above shown output is achieved using nested tables as shown in the following MWE:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage{tabularx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{L}[1]{>{RaggedRightletnewline\arraybackslashhspace{0pt}}p{#1}}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Xp{2cm}X}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}\
\
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}
end{tabularx}
end{document}
Here is a variant using the description
environment instead of nested tables:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{Z}{>{RaggedRightletnewline\arraybackslashhspace{0pt}}X}
usepackage{enumitem}
setlist[description]{after=vspace{-baselineskip},before=vspace{-baselineskip},topsep=0pt,partopsep=0pt}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Zp{2cm}Z}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description}
end{tabularx}
end{document}
add a comment |
edit: still guessing ... but now images are in array of 2 x 2 images:
documentclass[twocolumn]{article}
usepackage[export]{adjustbox}
usepackage{tabularx}
usepackage{caption}
usepackage{subcaption}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure*}
setkeys{Gin}{width=linewidth}
captionsetup{font=footnotesize, labelfont=bf,
justification=raggedright,
skip=0.5ex, singlelinecheck=false}
setlengthtabcolsep{3pt}
begin{tabularx}{linewidth}{@{} *{4}{X} @{}}
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption} \
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{tabularx}
end{figure*}
end{document}
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks forcaption*{< some description>}
or simple list of options. who knows. let us wait what will op say.
– Zarko
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
|
show 4 more comments
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
});
}
});
blues 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%2f477337%2ffigures-in-a-grid-with-multiple-line-of-texts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The above shown output is achieved using nested tables as shown in the following MWE:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage{tabularx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{L}[1]{>{RaggedRightletnewline\arraybackslashhspace{0pt}}p{#1}}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Xp{2cm}X}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}\
\
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}
end{tabularx}
end{document}
Here is a variant using the description
environment instead of nested tables:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{Z}{>{RaggedRightletnewline\arraybackslashhspace{0pt}}X}
usepackage{enumitem}
setlist[description]{after=vspace{-baselineskip},before=vspace{-baselineskip},topsep=0pt,partopsep=0pt}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Zp{2cm}Z}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description}
end{tabularx}
end{document}
add a comment |
The above shown output is achieved using nested tables as shown in the following MWE:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage{tabularx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{L}[1]{>{RaggedRightletnewline\arraybackslashhspace{0pt}}p{#1}}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Xp{2cm}X}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}\
\
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}
end{tabularx}
end{document}
Here is a variant using the description
environment instead of nested tables:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{Z}{>{RaggedRightletnewline\arraybackslashhspace{0pt}}X}
usepackage{enumitem}
setlist[description]{after=vspace{-baselineskip},before=vspace{-baselineskip},topsep=0pt,partopsep=0pt}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Zp{2cm}Z}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description}
end{tabularx}
end{document}
add a comment |
The above shown output is achieved using nested tables as shown in the following MWE:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage{tabularx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{L}[1]{>{RaggedRightletnewline\arraybackslashhspace{0pt}}p{#1}}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Xp{2cm}X}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}\
\
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}
end{tabularx}
end{document}
Here is a variant using the description
environment instead of nested tables:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{Z}{>{RaggedRightletnewline\arraybackslashhspace{0pt}}X}
usepackage{enumitem}
setlist[description]{after=vspace{-baselineskip},before=vspace{-baselineskip},topsep=0pt,partopsep=0pt}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Zp{2cm}Z}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description}
end{tabularx}
end{document}
The above shown output is achieved using nested tables as shown in the following MWE:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage{tabularx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{L}[1]{>{RaggedRightletnewline\arraybackslashhspace{0pt}}p{#1}}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Xp{2cm}X}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}\
\
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{tabular}[t]{lL{3cm}}
Original:& Two people walking on the beach.\
Model21:& Zwei Personen gehen am Strand. \
Model2:& Zwei Personen gehen am Strand. \
Model23:& Zwei Personen gehen am Strand. \
end{tabular}
end{tabularx}
end{document}
Here is a variant using the description
environment instead of nested tables:
documentclass{article}
usepackage{geometry}
usepackage{graphicx}
usepackage[export]{adjustbox}
usepackage{ragged2e}
newcolumntype{Z}{>{RaggedRightletnewline\arraybackslashhspace{0pt}}X}
usepackage{enumitem}
setlist[description]{after=vspace{-baselineskip},before=vspace{-baselineskip},topsep=0pt,partopsep=0pt}
begin{document}
begin{tabularx}{textwidth}{p{2cm}Zp{2cm}Z}
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description} &
includegraphics[width=linewidth,valign=t]{example-image} &
begin{description}
item[Original] Two people walking on the beach.
item[Model21] Zwei Personen gehen am Strand.
item[Model2] Zwei Personen gehen am Strand.
item[Model23] Zwei Personen gehen am Strand.
end{description}
end{tabularx}
end{document}
edited 1 hour ago
answered 1 hour ago


leandriisleandriis
9,2271530
9,2271530
add a comment |
add a comment |
edit: still guessing ... but now images are in array of 2 x 2 images:
documentclass[twocolumn]{article}
usepackage[export]{adjustbox}
usepackage{tabularx}
usepackage{caption}
usepackage{subcaption}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure*}
setkeys{Gin}{width=linewidth}
captionsetup{font=footnotesize, labelfont=bf,
justification=raggedright,
skip=0.5ex, singlelinecheck=false}
setlengthtabcolsep{3pt}
begin{tabularx}{linewidth}{@{} *{4}{X} @{}}
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption} \
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{tabularx}
end{figure*}
end{document}
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks forcaption*{< some description>}
or simple list of options. who knows. let us wait what will op say.
– Zarko
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
|
show 4 more comments
edit: still guessing ... but now images are in array of 2 x 2 images:
documentclass[twocolumn]{article}
usepackage[export]{adjustbox}
usepackage{tabularx}
usepackage{caption}
usepackage{subcaption}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure*}
setkeys{Gin}{width=linewidth}
captionsetup{font=footnotesize, labelfont=bf,
justification=raggedright,
skip=0.5ex, singlelinecheck=false}
setlengthtabcolsep{3pt}
begin{tabularx}{linewidth}{@{} *{4}{X} @{}}
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption} \
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{tabularx}
end{figure*}
end{document}
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks forcaption*{< some description>}
or simple list of options. who knows. let us wait what will op say.
– Zarko
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
|
show 4 more comments
edit: still guessing ... but now images are in array of 2 x 2 images:
documentclass[twocolumn]{article}
usepackage[export]{adjustbox}
usepackage{tabularx}
usepackage{caption}
usepackage{subcaption}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure*}
setkeys{Gin}{width=linewidth}
captionsetup{font=footnotesize, labelfont=bf,
justification=raggedright,
skip=0.5ex, singlelinecheck=false}
setlengthtabcolsep{3pt}
begin{tabularx}{linewidth}{@{} *{4}{X} @{}}
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption} \
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{tabularx}
end{figure*}
end{document}
edit: still guessing ... but now images are in array of 2 x 2 images:
documentclass[twocolumn]{article}
usepackage[export]{adjustbox}
usepackage{tabularx}
usepackage{caption}
usepackage{subcaption}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure*}
setkeys{Gin}{width=linewidth}
captionsetup{font=footnotesize, labelfont=bf,
justification=raggedright,
skip=0.5ex, singlelinecheck=false}
setlengthtabcolsep{3pt}
begin{tabularx}{linewidth}{@{} *{4}{X} @{}}
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption} \
includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
& includegraphics[valign=T]{example-image-duck}
& caption{The first caption}
caption{The second caption}
caption{The third caption}
caption{The fourth caption}
end{tabularx}
end{figure*}
end{document}
edited 1 hour ago
answered 2 hours ago
ZarkoZarko
126k867164
126k867164
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks forcaption*{< some description>}
or simple list of options. who knows. let us wait what will op say.
– Zarko
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
|
show 4 more comments
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks forcaption*{< some description>}
or simple list of options. who knows. let us wait what will op say.
– Zarko
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
This seems to me is a very correct answer to the literal question the OP asked, but I doubt that this is actually what the OP wants to do. @blues5, please correct me if I'm wrong.
– sheß
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
posted the new code. but it still looks terrible. inserting a minipage within minipage might take care for the alignment i guess
– blues
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@blues, your mwe contain errors (missed packages, etc}. anyway, see, if my edited answer is close to what you like to have.
– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks for
caption*{< some description>}
or simple list of options. who knows. let us wait what will op say.– Zarko
1 hour ago
@sheß, you are right. meanwhile i correct my answer (according to quite unclear sketch in question}. i still woundering about four captions per images ... mabe op looks for
caption*{< some description>}
or simple list of options. who knows. let us wait what will op say.– Zarko
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
sorry for the poor description. there would be four system output corresponding to each image. say for image 1, i have the original description and three system output.
– blues
1 hour ago
|
show 4 more comments
blues is a new contributor. Be nice, and check out our Code of Conduct.
blues is a new contributor. Be nice, and check out our Code of Conduct.
blues is a new contributor. Be nice, and check out our Code of Conduct.
blues 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%2f477337%2ffigures-in-a-grid-with-multiple-line-of-texts%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
1
Welcome to TeX.SE. You could see here, for example, tex.stackexchange.com/questions/126818/… or here tex.stackexchange.com/questions/162824/…
– Sebastiano
3 hours ago
one figure with four captions? please, show a sketch of how this should look like.
– Zarko
2 hours ago
@Zarko, added. sorry about the orientation.
– blues
2 hours ago
and where are captions? how they are numbered? and really each image has four caption? i never seen something like this demand ... (to my opinion, it does not make sense)
– Zarko
2 hours ago
1
Hey @blues5, are you sure you need actual captions? Wouldn't 4 simple lines of text be sufficient?
– sheß
2 hours ago