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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form