How to change the font size of the image caption for different images?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am searching for a way to adjust the size of the caption.



All the solution I have found deals with the caption package and uses something that changes the size globally.



I wish to adjust each of them differently.



For example, in the following image, I would like to keep shrimp as it is, dolphin a little bit bigger, and whale the largest. Is it possible?



Perhaps something like: change caption size globally, reset, change again, reset, change again, reset.



enter image description here



Here is the code:



documentclassarticle
usepackageamsmath
usepackageamsfonts
usepackagexcolor
usepackagegraphicx

begindocument

beginfigure
includegraphics[scale = 0.3]shrimp
captionshrimp
endfigure

beginfigure
includegraphicsDolphin
captiondolphin
endfigure


beginfigure
includegraphics[scale = 0.3]whale
captionwhale
endfigure


% or play with the following

beginfigure
captionshrimp
includegraphics[height=4cm,width=6cm]shrimp
hfill
captiondolphin
includegraphics[height=4cm,width=6cm]Dolphin
hfill
captionwhale
includegraphics[height=4cm,width=6cm]whale
endfigure

enddocument









share|improve this question

























    up vote
    1
    down vote

    favorite












    I am searching for a way to adjust the size of the caption.



    All the solution I have found deals with the caption package and uses something that changes the size globally.



    I wish to adjust each of them differently.



    For example, in the following image, I would like to keep shrimp as it is, dolphin a little bit bigger, and whale the largest. Is it possible?



    Perhaps something like: change caption size globally, reset, change again, reset, change again, reset.



    enter image description here



    Here is the code:



    documentclassarticle
    usepackageamsmath
    usepackageamsfonts
    usepackagexcolor
    usepackagegraphicx

    begindocument

    beginfigure
    includegraphics[scale = 0.3]shrimp
    captionshrimp
    endfigure

    beginfigure
    includegraphicsDolphin
    captiondolphin
    endfigure


    beginfigure
    includegraphics[scale = 0.3]whale
    captionwhale
    endfigure


    % or play with the following

    beginfigure
    captionshrimp
    includegraphics[height=4cm,width=6cm]shrimp
    hfill
    captiondolphin
    includegraphics[height=4cm,width=6cm]Dolphin
    hfill
    captionwhale
    includegraphics[height=4cm,width=6cm]whale
    endfigure

    enddocument









    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am searching for a way to adjust the size of the caption.



      All the solution I have found deals with the caption package and uses something that changes the size globally.



      I wish to adjust each of them differently.



      For example, in the following image, I would like to keep shrimp as it is, dolphin a little bit bigger, and whale the largest. Is it possible?



      Perhaps something like: change caption size globally, reset, change again, reset, change again, reset.



      enter image description here



      Here is the code:



      documentclassarticle
      usepackageamsmath
      usepackageamsfonts
      usepackagexcolor
      usepackagegraphicx

      begindocument

      beginfigure
      includegraphics[scale = 0.3]shrimp
      captionshrimp
      endfigure

      beginfigure
      includegraphicsDolphin
      captiondolphin
      endfigure


      beginfigure
      includegraphics[scale = 0.3]whale
      captionwhale
      endfigure


      % or play with the following

      beginfigure
      captionshrimp
      includegraphics[height=4cm,width=6cm]shrimp
      hfill
      captiondolphin
      includegraphics[height=4cm,width=6cm]Dolphin
      hfill
      captionwhale
      includegraphics[height=4cm,width=6cm]whale
      endfigure

      enddocument









      share|improve this question













      I am searching for a way to adjust the size of the caption.



      All the solution I have found deals with the caption package and uses something that changes the size globally.



      I wish to adjust each of them differently.



      For example, in the following image, I would like to keep shrimp as it is, dolphin a little bit bigger, and whale the largest. Is it possible?



      Perhaps something like: change caption size globally, reset, change again, reset, change again, reset.



      enter image description here



      Here is the code:



      documentclassarticle
      usepackageamsmath
      usepackageamsfonts
      usepackagexcolor
      usepackagegraphicx

      begindocument

      beginfigure
      includegraphics[scale = 0.3]shrimp
      captionshrimp
      endfigure

      beginfigure
      includegraphicsDolphin
      captiondolphin
      endfigure


      beginfigure
      includegraphics[scale = 0.3]whale
      captionwhale
      endfigure


      % or play with the following

      beginfigure
      captionshrimp
      includegraphics[height=4cm,width=6cm]shrimp
      hfill
      captiondolphin
      includegraphics[height=4cm,width=6cm]Dolphin
      hfill
      captionwhale
      includegraphics[height=4cm,width=6cm]whale
      endfigure

      enddocument






      fonts graphics captions fontsize size






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      The man of your dream

      1234




      1234




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote













          You can load the caption package to your preamble, and then just write like this



          caption*large Figure 2: FigName
          caption*Huge Figure 3: Blah Blah


          See full code here.



          You can also customize the font size to whatever you want by the fontsize command.






          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',
            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%2f458132%2fhow-to-change-the-font-size-of-the-image-caption-for-different-images%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote













            You can load the caption package to your preamble, and then just write like this



            caption*large Figure 2: FigName
            caption*Huge Figure 3: Blah Blah


            See full code here.



            You can also customize the font size to whatever you want by the fontsize command.






            share|improve this answer


























              up vote
              3
              down vote













              You can load the caption package to your preamble, and then just write like this



              caption*large Figure 2: FigName
              caption*Huge Figure 3: Blah Blah


              See full code here.



              You can also customize the font size to whatever you want by the fontsize command.






              share|improve this answer
























                up vote
                3
                down vote










                up vote
                3
                down vote









                You can load the caption package to your preamble, and then just write like this



                caption*large Figure 2: FigName
                caption*Huge Figure 3: Blah Blah


                See full code here.



                You can also customize the font size to whatever you want by the fontsize command.






                share|improve this answer














                You can load the caption package to your preamble, and then just write like this



                caption*large Figure 2: FigName
                caption*Huge Figure 3: Blah Blah


                See full code here.



                You can also customize the font size to whatever you want by the fontsize command.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 3 hours ago

























                answered 4 hours ago









                Vũ Văn Dũng

                1456




                1456



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458132%2fhow-to-change-the-font-size-of-the-image-caption-for-different-images%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery