Figure with one caption below and one caption/legend on the sideTwo figures side-by-side with inequal height and aligned captionsTwo figures side by side with text wrappingHow to arrange a table and figure side by side with all captions on one sideNon break space between figure and caption for figure float hBoxed caption and figure, with colored captionImage and table side by sideConTeXt: Placing caption of wide figure centered in the margin, below figureLaTeX: figure + includegraphics unwanted page breaks and wrong spacing between caption
How do you say "half the time …, the other half …" in German?
Should I ask for a raise one month before the end of an internship?
Can a network vulnerability be exploited locally?
Is there a word or phrase that means "use other people's wifi or Internet service without consent"?
Should I use the words "pyromancy" and "necromancy" even if they don't mean what people think they do?
In how many ways we can distribute 7 distinct balls among 3 students such that everyone gets at least 2 balls?
Normalized Malbolge to Malbolge translator
How could a self contained organic body propel itself in space
Is allowing Barbarian features to work with Dex-based attacks imbalancing?
If the UK Gov. has authority to cancel article 50 notification, why do they have to agree an extension with the EU
Cutting numbers into a specific decimals
Are spot colors limited and why CMYK mix is not treated same as spot color mix?
How did medieval manors handle population growth? Were there room for more fields to be ploughed?
Can I get a PhD for developing educational software?
How to reply to people who accuse me of putting people out of work?
How to prevent a hosting company from accessing a VM's encryption keys?
Is Nikon D500 a good fit for nature and ambient-lighting portraits and occasional other uses?
Should I judge the efficacy of Samadhi based on the ethical qualities of the meditator?
Which polygons can be turned inside out by a smooth deformation?
Why did Starhopper's exhaust plume become brighter just before landing?
Is there an in-universe explanation given to the senior Imperial Navy Officers as to why Darth Vader serves Emperor Palpatine?
Why is 3/4 a simple meter while 6/8 is a compound meter?
STM32 cannot reach individual registers and pins as PIC
Why did the population of Bhutan drop by 70% between 2007 and 2008?
Figure with one caption below and one caption/legend on the side
Two figures side-by-side with inequal height and aligned captionsTwo figures side by side with text wrappingHow to arrange a table and figure side by side with all captions on one sideNon break space between figure and caption for figure float hBoxed caption and figure, with colored captionImage and table side by sideConTeXt: Placing caption of wide figure centered in the margin, below figureLaTeX: figure + includegraphics unwanted page breaks and wrong spacing between caption
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm looking for a way to add a legend to the side of my image, while still keeping my caption below.
I currently have the following code:
beginfigure
centering
includegraphics[height=4cm]example-image-a
caption
This is my caption
labelfig:this-is-my-label
endfigure
Which results in the following image:
So basically I'm now looking for a way to add a legend to the right or left side of the image. Thanks in advance!
graphics floats captions legend
add a comment |
I'm looking for a way to add a legend to the side of my image, while still keeping my caption below.
I currently have the following code:
beginfigure
centering
includegraphics[height=4cm]example-image-a
caption
This is my caption
labelfig:this-is-my-label
endfigure
Which results in the following image:
So basically I'm now looking for a way to add a legend to the right or left side of the image. Thanks in advance!
graphics floats captions legend
add a comment |
I'm looking for a way to add a legend to the side of my image, while still keeping my caption below.
I currently have the following code:
beginfigure
centering
includegraphics[height=4cm]example-image-a
caption
This is my caption
labelfig:this-is-my-label
endfigure
Which results in the following image:
So basically I'm now looking for a way to add a legend to the right or left side of the image. Thanks in advance!
graphics floats captions legend
I'm looking for a way to add a legend to the side of my image, while still keeping my caption below.
I currently have the following code:
beginfigure
centering
includegraphics[height=4cm]example-image-a
caption
This is my caption
labelfig:this-is-my-label
endfigure
Which results in the following image:
So basically I'm now looking for a way to add a legend to the right or left side of the image. Thanks in advance!
graphics floats captions legend
graphics floats captions legend
edited Aug 16 at 20:03
Jérémy
asked Aug 16 at 9:17
JérémyJérémy
475 bronze badges
475 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
With the help of two sidy by side minipage
s inside of the figure
environment you can achieve the following:
documentclassarticle
usepackagegraphicx
usepackage[export]adjustbox
begindocument
beginfigure
beginminipage0.725textwidth
hfill
includegraphics[height=4cm]example-image-a
endminipage
hfill
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
hfill
beginminipage0.725textwidth
includegraphics[height=4cm]example-image-a
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage[t]0.725textwidth
hfill
includegraphics[height=4cm,valign=t]example-image-a
endminipage
hfill
beginminipage[t]0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
enddocument
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
add a comment |
documentclassarticle
usepackage[export]adjustbox
usepackagetabularx
begindocument
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
captionThis is my caption in two lines
labelfig:this-is-my-label
&
endtabularx
endfigure
or
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
endtabularx
captionThis is my caption in one line
labelfig:this-is-my-label
endfigure
enddocument
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
);
);
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%2f504430%2ffigure-with-one-caption-below-and-one-caption-legend-on-the-side%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
With the help of two sidy by side minipage
s inside of the figure
environment you can achieve the following:
documentclassarticle
usepackagegraphicx
usepackage[export]adjustbox
begindocument
beginfigure
beginminipage0.725textwidth
hfill
includegraphics[height=4cm]example-image-a
endminipage
hfill
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
hfill
beginminipage0.725textwidth
includegraphics[height=4cm]example-image-a
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage[t]0.725textwidth
hfill
includegraphics[height=4cm,valign=t]example-image-a
endminipage
hfill
beginminipage[t]0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
enddocument
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
add a comment |
With the help of two sidy by side minipage
s inside of the figure
environment you can achieve the following:
documentclassarticle
usepackagegraphicx
usepackage[export]adjustbox
begindocument
beginfigure
beginminipage0.725textwidth
hfill
includegraphics[height=4cm]example-image-a
endminipage
hfill
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
hfill
beginminipage0.725textwidth
includegraphics[height=4cm]example-image-a
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage[t]0.725textwidth
hfill
includegraphics[height=4cm,valign=t]example-image-a
endminipage
hfill
beginminipage[t]0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
enddocument
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
add a comment |
With the help of two sidy by side minipage
s inside of the figure
environment you can achieve the following:
documentclassarticle
usepackagegraphicx
usepackage[export]adjustbox
begindocument
beginfigure
beginminipage0.725textwidth
hfill
includegraphics[height=4cm]example-image-a
endminipage
hfill
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
hfill
beginminipage0.725textwidth
includegraphics[height=4cm]example-image-a
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage[t]0.725textwidth
hfill
includegraphics[height=4cm,valign=t]example-image-a
endminipage
hfill
beginminipage[t]0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
enddocument
With the help of two sidy by side minipage
s inside of the figure
environment you can achieve the following:
documentclassarticle
usepackagegraphicx
usepackage[export]adjustbox
begindocument
beginfigure
beginminipage0.725textwidth
hfill
includegraphics[height=4cm]example-image-a
endminipage
hfill
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
hfill
beginminipage0.725textwidth
includegraphics[height=4cm]example-image-a
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
beginfigure
beginminipage[t]0.725textwidth
hfill
includegraphics[height=4cm,valign=t]example-image-a
endminipage
hfill
beginminipage[t]0.2textwidth
This is my legend. This is my legend. This is my legend. This is my legend. This is my legend.
endminipage
captionThis is my caption
labelfig:this-is-my-label
endfigure
enddocument
answered Aug 16 at 9:34
leandriisleandriis
18.7k1 gold badge11 silver badges39 bronze badges
18.7k1 gold badge11 silver badges39 bronze badges
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
add a comment |
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
minipage seems to be a good solution! Although the tabular from @Zarko would also work. Thanks both for the solution!
– Jérémy
Aug 16 at 9:42
add a comment |
documentclassarticle
usepackage[export]adjustbox
usepackagetabularx
begindocument
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
captionThis is my caption in two lines
labelfig:this-is-my-label
&
endtabularx
endfigure
or
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
endtabularx
captionThis is my caption in one line
labelfig:this-is-my-label
endfigure
enddocument
add a comment |
documentclassarticle
usepackage[export]adjustbox
usepackagetabularx
begindocument
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
captionThis is my caption in two lines
labelfig:this-is-my-label
&
endtabularx
endfigure
or
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
endtabularx
captionThis is my caption in one line
labelfig:this-is-my-label
endfigure
enddocument
add a comment |
documentclassarticle
usepackage[export]adjustbox
usepackagetabularx
begindocument
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
captionThis is my caption in two lines
labelfig:this-is-my-label
&
endtabularx
endfigure
or
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
endtabularx
captionThis is my caption in one line
labelfig:this-is-my-label
endfigure
enddocument
documentclassarticle
usepackage[export]adjustbox
usepackagetabularx
begindocument
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
captionThis is my caption in two lines
labelfig:this-is-my-label
&
endtabularx
endfigure
or
beginfigure[ht]
centering
begintabularx0.8linewidthXX
includegraphics[height=4cm, width=linewidth, keepaspectratio,
valign=c]example-image-duck
& Legend: some long explanation of image \
endtabularx
captionThis is my caption in one line
labelfig:this-is-my-label
endfigure
enddocument
answered Aug 16 at 9:34
ZarkoZarko
145k8 gold badges81 silver badges193 bronze badges
145k8 gold badges81 silver badges193 bronze badges
add a comment |
add a comment |
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%2f504430%2ffigure-with-one-caption-below-and-one-caption-legend-on-the-side%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