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;








3















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:



screenshot of result of the above code



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!










share|improve this question
































    3















    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:



    screenshot of result of the above code



    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!










    share|improve this question




























      3












      3








      3


      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:



      screenshot of result of the above code



      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!










      share|improve this question
















      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:



      screenshot of result of the above code



      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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























          2 Answers
          2






          active

          oldest

          votes


















          4















          With the help of two sidy by side minipages inside of the figure environment you can achieve the following:



          enter image description here



          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





          share|improve this answer

























          • 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


















          5















          enter image description here



          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





          share|improve this answer



























            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
            );



            );













            draft saved

            draft discarded


















            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









            4















            With the help of two sidy by side minipages inside of the figure environment you can achieve the following:



            enter image description here



            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





            share|improve this answer

























            • 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















            4















            With the help of two sidy by side minipages inside of the figure environment you can achieve the following:



            enter image description here



            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





            share|improve this answer

























            • 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













            4














            4










            4









            With the help of two sidy by side minipages inside of the figure environment you can achieve the following:



            enter image description here



            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





            share|improve this answer













            With the help of two sidy by side minipages inside of the figure environment you can achieve the following:



            enter image description here



            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






            share|improve this answer












            share|improve this answer



            share|improve this answer










            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

















            • 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













            5















            enter image description here



            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





            share|improve this answer





























              5















              enter image description here



              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





              share|improve this answer



























                5














                5










                5









                enter image description here



                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





                share|improve this answer













                enter image description here



                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






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 16 at 9:34









                ZarkoZarko

                145k8 gold badges81 silver badges193 bronze badges




                145k8 gold badges81 silver badges193 bronze badges






























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?